2 Replies Latest reply on Oct 23, 2006 4:46 PM by kukeltje

    empty design pane in gpd from cvs head

    kukeltje

      When I install the gpd from cvs head in a clean eclipse 3.2 (not 3.2.1) I get an empty design pane when I open a processdefinition. The error in the log file is the following. Any ideas?


      !ENTRY org.eclipse.ui 4 4 2006-10-22 19:51:09.000
      !MESSAGE Unhandled event loop exception

      !ENTRY org.eclipse.ui 4 0 2006-10-22 19:51:09.000
      !MESSAGE Unresolved compilation problem:
      Syntax error on token "instanceof", ReferenceType expected after this token

      !STACK 0
      java.lang.Error: Unresolved compilation problem:
      Syntax error on token "instanceof", ReferenceType expected after this token

      at org.jbpm.gd.jpdl.ui.editor.DesignerModelViewer.initEditPartFactory(Unknown Source)
      at org.jbpm.gd.jpdl.ui.editor.DesignerModelViewer.createControl(Unknown Source)
      at org.jbpm.gd.jpdl.ui.editor.DesignerGraphicalEditorPage.addModelViewer(Unknown Source)
      at org.jbpm.gd.jpdl.ui.editor.DesignerGraphicalEditorPage.createPartControl(Unknown Source)
      at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:183)
      at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.addGraphPage(Unknown Source)
      at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.createPages(Unknown Source)
      at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
      at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
      at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
      at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
      at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:246)
      at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:89)
      at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:152)
      at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)
      at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)

        • 1. Re: empty design pane in gpd from cvs head
          koen.aers

          Ronald,

          I am trying to integrate a new model into the designer at this moment and to do this I had to make changes to the plugin.xml... The idea was not to commit these changes as long as the resulting editor was not stable. Alas... ;-)
          I will check in a version of the plugin.xml that results in a stable GPD now. Let me know if this works.

          Regards,
          Koen

          • 2. Re: empty design pane in gpd from cvs head
            kukeltje

            it works now, at least the pane is visible. Not everything is working though (can't drop any nodes onto it ;-) )

            I wanted to have a sneak-preview of the forms generating stuff. It's a beginning altough I'm still curious where the variable-type will go in to.

            Guess I have to wait a little more (time for Dutch beer ;-))