facebook

Error when adding "J2EE 1.4 Libraries" to Java Pro

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #273730 Reply

    Craig Peters
    Member

    I get the error below in 5.5.1GA (combined install) under Windows when adding the MyEclipse library “J2EE 1.4 Libraries” to a normal Eclipse “Java Project”. Under MyEclipse 5.0 I could do this without a problem.

    My environment is below as well.

    As a workaround, I got the class path line out of another “Web Project” and manually added to the .classpath file of the Java project, and that seems to work Ok.

    ============================

    Error Log Entry:

    !ENTRY org.eclipse.jface 4 2 2007-08-09 16:50:18.590
    !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(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    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)

    =======================

    MyEclipse Config:

    *** Date:
    Thursday, August 9, 2007 5:46:41 PM CDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_12

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\eclipse 3.2\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    c34_94
    -showlocation
    -vm
    C:\Program Files\Java\jdk1.5.0_12\jre\bin\javaw.exe

    #273820 Reply

    Loyal Water
    Member

    This is a known issue. Im sorry you ran into it. I would be fixed in 6.0.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Error when adding "J2EE 1.4 Libraries" to Java Pro

You must be logged in to post in the forum log in