5 Replies Latest reply on Aug 9, 2006 8:56 AM by Max Rydahl Andersen

    Howto update Process Definitions to more recent GPD Versions

    Christian Becker Newbie

      We are currently using Eclipse 3.1.1 and GPD 3.0.5 and want to update to a more recent version.
      But if i import our existing Projects f.e. in 3.0.6, i always get an error message and eclipse becomes unusable.
      This happens even with a total simple process without any additional libs or source files

      Please help!

        • 1. Re: Howto update Process Definitions to more recent GPD Vers
          Max Rydahl Andersen Master

          sounds like a bug.

          could you give some more information ?

          like what error etc?

          • 2. Re: Howto update Process Definitions to more recent GPD Vers
            Christian Becker Newbie

            After a Import, the Package explorer stays empty.
            If i restart eclipse i get the error "An internal error occured during: Initializing Java tooling"

            The Stacktrace:

            !SESSION 2006-08-09 09:24:10.597 -----------------------------------------------
            eclipse.buildId=M20050929-0840
            java.version=1.5.0_06
            java.vendor=Sun Microsystems Inc.
            BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
            Command-line arguments: -os win32 -ws win32 -arch x86

            !ENTRY org.eclipse.core.runtime 4 2 2006-08-09 09:24:27.755
            !MESSAGE An internal error occurred during: "Initializing Java tooling".
            !STACK 0
            java.lang.NullPointerException
            at org.jbpm.ui.util.JbpmClasspathContainer.getJarNames(Unknown Source)
            at org.jbpm.ui.util.JbpmClasspathContainer.createJbpmLibraryEntries(Unknown Source)
            at org.jbpm.ui.util.JbpmClasspathContainer.getClasspathEntries(Unknown Source)
            at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:297)
            at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3856)
            at org.jbpm.ui.util.JbpmClasspathContainerInitializer.initialize(Unknown Source)
            at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591)
            at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040)
            at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326)
            at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046)
            at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954)
            at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:108)
            at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84)
            at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:62)
            at org.eclipse.jdt.internal.core.search.JavaSearchScope.<init>(JavaSearchScope.java:58)
            at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.<init>(JavaWorkspaceScope.java:29)
            at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1421)
            at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:157)
            at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:392)
            at org.eclipse.jdt.core.JavaCore$1.run(JavaCore.java:2624)
            at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

            !ENTRY org.eclipse.ui 4 4 2006-08-09 09:24:27.974
            !MESSAGE Unhandled event loop exception

            !ENTRY org.eclipse.ui 4 0 2006-08-09 09:24:27.974
            !MESSAGE java.lang.NullPointerException
            !STACK 0
            java.lang.NullPointerException
            at org.jbpm.ui.util.JbpmClasspathContainer.getJarNames(Unknown Source)
            at org.jbpm.ui.util.JbpmClasspathContainer.createJbpmLibraryEntries(Unknown Source)
            at org.jbpm.ui.util.JbpmClasspathContainer.getClasspathEntries(Unknown Source)
            at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:297)
            at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3856)
            at org.jbpm.ui.util.JbpmClasspathContainerInitializer.initialize(Unknown Source)
            at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591)
            at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040)
            at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326)
            at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2046)
            at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1954)
            at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:332)
            at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:233)
            at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:488)
            at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:232)
            at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:218)
            at org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaElement.java:173)
            at org.eclipse.jdt.internal.core.JavaProject.getPackageFragmentRoots(JavaProject.java:1713)
            at org.eclipse.jdt.ui.StandardJavaElementContentProvider.getPackageFragmentRoots(StandardJavaElementContentProvider.java:249)
            at org.eclipse.jdt.ui.StandardJavaElementContentProvider.getChildren(StandardJavaElementContentProvider.java:167)
            at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.getChildren(PackageExplorerContentProvider.java:158)
            at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.getFilteredChildren(PackageExplorerPart.java:283)
            at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:905)
            at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.getSortedChildren(PackageExplorerPart.java:428)
            at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:512)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
            at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:494)
            at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:948)
            at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:959)
            at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:180)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
            at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:3708)
            at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3568)
            at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1035)
            at org.eclipse.swt.widgets.Control.windowProc(Control.java:3089)
            at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
            at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
            at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1580)
            at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:219)
            at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:2815)
            at org.eclipse.swt.widgets.Control.windowProc(Control.java:3071)
            at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:2391)
            at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
            at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
            at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
            at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
            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:334)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
            at org.eclipse.core.launcher.Main.run(Main.java:973)
            at org.eclipse.core.launcher.Main.main(Main.java:948)


            • 3. Re: Howto update Process Definitions to more recent GPD Vers
              Christian Becker Newbie

               

              "Becka" wrote:
              After a Import, the Package explorer stays empty.
              If i restart eclipse i get the error "An internal error occured during: Initializing Java tooling"

              EDIT: The Package Explorer shows the imported Project, but only the Project name, i cant expand it to work with the sources

              The Stacktrace:
              ...


              • 4. Re: Howto update Process Definitions to more recent GPD Vers
                Christian Becker Newbie

                During simple tests i found, that it woks if you change the jbpm entry in clathpath to the one of the new version.

                -> create new process project
                -> open .classpath of this project
                -> copy jbpm version

                -> open existing project folder
                -> open .classpath
                -> change the jbpm version

                -> import
                -> have fun

                • 5. Re: Howto update Process Definitions to more recent GPD Vers
                  Max Rydahl Andersen Master

                  ok, i would report this in our jira to let koen know about it.