Community
Participate
Working Groups
I get a NullPointerException when I try to add a search form to an existing table page (right click on the table page - create search form). eclipse.buildId=I20110428-0848 java.version=1.6.0_23 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.scout.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.scout.product Error Thu May 19 17:40:55 CEST 2011 org.eclipse.scout.sdk.ui.wizard.form.SearchFormNewWizard.performFinish(Unknown Source) exception during perfoming finish of wizard. java.lang.NullPointerException at org.eclipse.jdt.internal.core.Region.getAncestors(Region.java:78) at org.eclipse.jdt.internal.core.Region.contains(Region.java:55) at org.eclipse.jdt.internal.core.Region.add(Region.java:42) at org.eclipse.scout.sdk.ScoutSdk.getLocalTypeHierarchy(Unknown Source) at org.eclipse.scout.sdk.internal.typestructure.StructuredType.<init>(Unknown Source) at org.eclipse.scout.sdk.workspace.type.SdkTypeUtility.createStructuredForm(Unknown Source) at org.eclipse.scout.sdk.operation.form.SearchFormFromTablePageFillOperation.run(Unknown Source) at org.eclipse.scout.sdk.operation.form.SearchFormNewOperation.run(Unknown Source) at org.eclipse.scout.sdk.ui.wizard.form.SearchFormNewWizard.performFinish(Unknown Source) at org.eclipse.scout.sdk.ui.wizard.AbstractWorkspaceWizard$P_PerformFinishOperation.run(Unknown Source) at org.eclipse.scout.sdk.jobs.OperationJob.run(Unknown Source) at org.eclipse.scout.sdk.jobs.AbstractWorkspaceBlockingJob.doRun(Unknown Source) at org.eclipse.scout.sdk.jobs.AbstractWorkspaceBlockingJob.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
void startSearch() is missing in [PROJECT]/client/ui/searchforms/[SEARCHFORM].java
It seems, that the error I encounter is not the same as Philip's. Mine results in a corrupt search form (see comment before). !ENTRY org.eclipse.ui 4 4 2011-05-24 09:52:27.434 !MESSAGE Referenced part does not exist yet: eclipse.org.minicrm.ui.swt.views.TablePageView. !ENTRY org.eclipse.core.jobs 4 2 2011-05-24 10:02:56.601 !MESSAGE An internal error occurred during: "Busy in 300ms". !STACK 0 java.lang.NullPointerException at org.eclipse.scout.commons.logger.internal.eclipse.EclipseLogWrapper.logImpl(Unknown Source) at org.eclipse.scout.commons.logger.internal.AbstractScoutLogger.log(Unknown Source) at org.eclipse.scout.commons.logger.internal.AbstractScoutLogger.warn(Unknown Source) at org.eclipse.scout.rt.ui.swt.AbstractSwtEnvironment.getDisplay(Unknown Source) at org.eclipse.scout.rt.ui.swt.AbstractSwtEnvironment$4.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY org.eclipse.core.jobs 2 2 2011-05-24 10:02:57.043 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.TaskBarProgressManager$2 Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.TaskBarProgressManager$2
Resolved in Indigo RC2
*** Bug 347420 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > Resolved in Indigo RC2 Installed RC2 Package from: http://www.eclipse.org/downloads/index-developer.php I also created a new workspace but I'm still getting the same error
Created attachment 197563 [details] sdk screenshot
creation wizard for search form in scout sdk not working properly. steps to reproduce 1) follow minicrm tutorial up to creation of search form 2) user context menu 'create search form' on 'CompanyTablePage' 3) sdk creates the serachform, searchformdata, and link to table page 4) on the serachform an access restriction error occurs (see attached screenshot) workaround: - choose quick fix suggested according to the screenshot
The search dialog produces another error when using the workaround.
Created attachment 202486 [details] Patch Proposal
patch applied on head and indigo sp1. Thank you Matthias.
fixed for scout 3.7.1
shipped with 3.7.1
removed iplog flag from ticket and added iplog flag to attachment