2 Replies Latest reply on Feb 18, 2008 1:49 AM by pankaj som

    Error after importing old Projects into Eclipse 3.1.1 and De

    Christian Becker Newbie

      We are currently using Eclipse 3.1.1 with jBPM Designer 3.0.5 and every thing works.
      I wanted to update to Eclipse 3.1.1. with jBPM Designer 3.0.9.5, but i can´t import my existing Projects.

      If i import the old Project to a new Workspace it won´t appears in the Package Explorer.
      After a Restart of Eclipse it is available in the Package Explorer. But if i try to open it, i get 2 errors:

      An error has occurred. See error log for more details


      An internal error occurred during: Initializing Java Tooling


      Is it because the change of the Version of the Designer oder is there an error in the Plugin integration in Eclipse?

      !ENTRY org.eclipse.ui 4 4 2006-05-15 09:29:48.88
      !MESSAGE Unhandled event loop exception
      
      !ENTRY org.eclipse.ui 4 0 2006-05-15 09:29:48.120
      !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)
      
      !ENTRY org.eclipse.jface 4 2 2006-05-15 09:29:48.948
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      !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.internal.corext.refactoring.RefactoringAvailabilityTester.isInferTypeArgumentsAvailable(RefactoringAvailabilityTester.java:386)
       at org.eclipse.jdt.internal.corext.refactoring.RefactoringAvailabilityTester.isInferTypeArgumentsAvailable(RefactoringAvailabilityTester.java:413)
       at org.eclipse.jdt.ui.actions.InferTypeArgumentsAction.selectionChanged(InferTypeArgumentsAction.java:97)
       at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged(SelectionDispatchAction.java:210)
       at org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged(SelectionDispatchAction.java:205)
       at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
       at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
       at org.eclipse.core.runtime.Platform.run(Platform.java:783)
       at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
       at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
       at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
       at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1784)
       at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1027)
       at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1053)
       at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:209)
       at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:204)
       at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:364)
       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.Display.runDeferredEvents(Display.java:3080)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
       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)