- This topic has 4 replies, 4 voices, and was last updated 17 years, 5 months ago by sbirnie.
-
AuthorPosts
-
jsporsMemberThere is an error when trying to add a MyEclipse Library to the build path. I can reproduce the problem with the following steps:
1 – Start MyEclipse
2 – Open a project’s Properties window
3 – Click on Java Build Path and go to Libraries tab
4 – Click on Add Library
5 – Select MyEclipse Libraries and click Next
At this point nothing happens on screen and 2 errors are written to the log (see “!MESSAGE Unhandled event loop exception” below). Repeatedly clicking the Next button causes more errors and weird behavior that eventually leads to MyEclipse hanging. The problem is also reproducible on another machine with a similar setup.Here is the MyEclipse installation details:
*** Date:
Wednesday, June 13, 2007 11:49:01 AM CDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.6.0_01*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.1 GA
Build id: 20070521-5.5.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.2
Build id: M20070212-1330Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\Eclipse\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
99c_7c
-vm
C:\WINDOWS\system32\javaw.exeHere is the Error Log (.metadata\.log):
!SESSION 2007-06-13 11:38:52.727 ———————————————–
eclipse.buildId=M20070212-1330
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.ui 4 4 2007-06-13 11:39:02.128
!MESSAGE Bad extension specification!ENTRY org.eclipse.mylar.tasks.ui 4 0 2007-06-13 11:39:02.143
!MESSAGE startup class must implement org.eclipse.ui.IStartup!ENTRY org.eclipse.ui 4 4 2007-06-13 11:39:25.395
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2007-06-13 11:39:25.395
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerInitializer.initialize(MEClasspathContainerInitializer.java:39)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1924)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerManager.findContainerById(MEClasspathContainerManager.java:128)
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerManager.findMEContainerById(MEClasspathContainerManager.java:139)
at com.genuitec.eclipse.core.librarymgmt.MEClasspathContainerManager.getMissingMEClasspathContainers(MEClasspathContainerManager.java:287)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.initialize(MELibraryWizardPage.java:358)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.getContainerPage(ClasspathContainerWizard.java:159)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.getNextPage(ClasspathContainerWizard.java:174)
at org.eclipse.jface.wizard.WizardPage.getNextPage(WizardPage.java:172)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:751)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
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.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:230)
at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:272)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.openContainerSelectionDialog(LibrariesWorkbookPage.java:811)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:243)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access$0(LibrariesWorkbookPage.java:230)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage$LibrariesAdapter.customButtonPressed(LibrariesWorkbookPage.java:185)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.buttonPressed(TreeListDialogField.java:167)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.doButtonSelected(TreeListDialogField.java:385)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.access$2(TreeListDialogField.java:381)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$2.widgetSelected(TreeListDialogField.java:346)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
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.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
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:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
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)
jsporsMemberHere is some more information…
I created a new workspace and a new empty project in that workspace. Now when I click Add Library (on Java Build Path) and select MyEclipse Libraries, I get a list back. Checking J2EE 1.3 or J2EE 1.4 throws up an error message on screen and log an error (below) to the Log file. All other libraries work fine. I am assuming this is a different bug since it is happening at a different step in the Add Library wizard. Because I can get MyEclipse Libraries to work (except for the above error) in a new workspace, I am thinking there is something with my existing workspace that is causing the original problem. It is odd that my co-worker is experiencing the same behavior on his own workspace (using 2 of the same projects via SVN). Perhaps it has something to do with those 2 projects or the order in which they are checked out. I will try to do some more testing this week if I have the chance.
!ENTRY org.eclipse.jface 4 2 2007-06-13 16:50:43.227
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getRequiredModules(ModuleManager.java:93)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.selectDependentLibrariesIfNeeded(MELibraryWizardPage.java:207)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.doDialogFieldChanged(MELibraryWizardPage.java:145)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.access$0(MELibraryWizardPage.java:140)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage$LibraryListAdapter.dialogFieldChanged(MELibraryWizardPage.java:385)
at com.genuitec.eclipse.core.portability.wizard.DialogField.dialogFieldChanged(DialogField.java:75)
at com.genuitec.eclipse.core.portability.wizard.ListDialogField.dialogFieldChanged(ListDialogField.java:484)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField.checkStateChanged(CheckedListDialogField.java:122)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField.doCheckStateChanged(CheckedListDialogField.java:239)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField.access$0(CheckedListDialogField.java:233)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField$1.checkStateChanged(CheckedListDialogField.java:88)
at org.eclipse.jface.viewers.CheckboxTableViewer$1.run(CheckboxTableViewer.java:177)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at org.eclipse.jface.viewers.CheckboxTableViewer.fireCheckStateChanged(CheckboxTableViewer.java:175)
at org.eclipse.jface.viewers.CheckboxTableViewer.handleSelect(CheckboxTableViewer.java:265)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1154)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:213)
at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:207)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:374)
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.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:230)
at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:272)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.openContainerSelectionDialog(LibrariesWorkbookPage.java:811)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:243)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access$0(LibrariesWorkbookPage.java:230)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage$LibrariesAdapter.customButtonPressed(LibrariesWorkbookPage.java:185)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.buttonPressed(TreeListDialogField.java:167)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.doButtonSelected(TreeListDialogField.java:385)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.access$2(TreeListDialogField.java:381)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$2.widgetSelected(TreeListDialogField.java:346)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
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.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
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:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
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)
Wade WilesMemberSame problem.
1. Open myeclipse with -clean command
2. Create new workspace.
3. Add java project
4. Attempt to add 1.4 myeclipse libsI’m trying to add “J2EE 1.4 Libraries” to my path . I can add the “Java EE 5 Libraries” without problem ( also the 1.3 fail too ).
The install shows no problems
Summary
——-Installation: Successful.
7206 Successes
0 Warnings
0 NonFatalErrors
0 FatalErrorsmy data:
java.version == 1.5.0_11 (Java 2+)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 1.5.0_11-b03
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.5
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 49.0
java.compiler == null
java.home == C:\Documents and Settings2672\Local Settings\Temp\I1182263122\Windows\resource\jre
java.io.tmpdir == C:\DOCUME~12672\LOCALS~1\Temp\
os.name == Windows XP
os.arch == x86
os.version == 5.1
path.separator == ;
file.separator == \
file.encoding == Cp1252
user.name == 062672
user.home == C:\Documents and Settings2672
user.dir == C:\Documents and Settings2672\Local Settings\Temp\I1182263122\Windows
user.language == en
user.region == null
__________________________________________________________________________!ENTRY org.eclipse.jface 4 2 2007-06-19 10:53:35.245
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getRequiredModules(ModuleManager.java:93)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.selectDependentLibrariesIfNeeded(MELibraryWizardPage.java:207)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.doDialogFieldChanged(MELibraryWizardPage.java:145)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage.access$0(MELibraryWizardPage.java:140)
at com.genuitec.eclipse.core.librarymgmt.MELibraryWizardPage$LibraryListAdapter.dialogFieldChanged(MELibraryWizardPage.java:385)
at com.genuitec.eclipse.core.portability.wizard.DialogField.dialogFieldChanged(DialogField.java:75)
at com.genuitec.eclipse.core.portability.wizard.ListDialogField.dialogFieldChanged(ListDialogField.java:484)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField.checkStateChanged(CheckedListDialogField.java:122)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField.doCheckStateChanged(CheckedListDialogField.java:239)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField.access$0(CheckedListDialogField.java:233)
at com.genuitec.eclipse.core.portability.wizard.CheckedListDialogField$1.checkStateChanged(CheckedListDialogField.java:88)
at org.eclipse.jface.viewers.CheckboxTableViewer$1.run(CheckboxTableViewer.java:177)
Loyal WaterMemberI was able to reproduce this at my end as well. Im gonna file this bug for my dev team. Thanks for uncovereing this bug. Ill keep you’ll updated on this one.
sbirnieMemberSame.
It looks like it’s trying to pull jars from “C:/Program Files/MyEclipse 5.5 M1…” when I have installed the GA release. I created a new eclipse directory, made sure I uninstalled all previous versions of MyEclipse, and reinstalled MyEclipse 5.5 GA, and it still happens.
!SESSION 2007-06-21 08:56:00.430 ----------------------------------------------- eclipse.buildId=M20070212-1330 java.version=1.5.0_09 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product com.genuitec.myeclipse.product.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product com.genuitec.myeclipse.product.ide !ENTRY com.genuitec.eclipse.core.common 1 0 2007-06-21 08:56:11.696 !MESSAGE Unable to find MEContainer jar: MYECLIPSE_SPRING_DATA_HOME/2.0/lib/asm/asm-2.2.2.jar !ENTRY com.genuitec.eclipse.core.common 1 0 2007-06-21 08:56:11.696 !MESSAGE Unable to find MEContainer jar: MYECLIPSE_SPRING_DATA_HOME/2.0/lib/asm/asm-commons-2.2.2.jar !ENTRY com.genuitec.eclipse.core.common 1 0 2007-06-21 08:56:11.696 !MESSAGE Unable to find MEContainer jar: MYECLIPSE_SPRING_DATA_HOME/2.0/lib/asm/asm-util-2.2.2.jar !ENTRY com.genuitec.eclipse.core.common 1 0 2007-06-21 08:56:11.711 !MESSAGE Unable to find MEContainer jar: C:/Program Files/MyEclipse 5.5 M1/eclipse/plugins/com.genuitec.eclipse.springframework_5.4.100/data/2.0/dist/modules/spring-beans.jar
Then again, I could have no idea what I’m talking about.
-
AuthorPosts