facebook

NullPointerException when closing XML editor.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #230391 Reply

    Everytime, I close the XML editor, there is a NullPointerException. Here is the stack trace.

    Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.

    Error 2005-05-30 16:24:07.709 Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    java.lang.NullPointerException
    at com.ibm.sse.editor.views.contentoutline.StructuredTextEditorContentOutlinePage.setConfiguration(StructuredTextEditorContentOutlinePage.java:286)
    at com.ibm.sse.editor.views.contentoutline.StructuredTextEditorContentOutlinePage.dispose(StructuredTextEditorContentOutlinePage.java:140)
    at org.eclipse.ui.views.contentoutline.ContentOutline.doDestroyPage(ContentOutline.java:145)
    at org.eclipse.ui.part.PageBookView.removePage(PageBookView.java:718)
    at org.eclipse.ui.part.PageBookView.partClosed(PageBookView.java:644)
    at org.eclipse.ui.internal.PartListenerList$3.run(PartListenerList.java:102)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029)
    at org.eclipse.core.runtime.Platform.run(Platform.java:775)
    at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:58)
    at org.eclipse.ui.internal.PartListenerList.firePartClosed(PartListenerList.java:100)
    at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:100)
    at org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:38)
    at org.eclipse.ui.internal.PartList.partClosed(PartList.java:216)
    at org.eclipse.ui.internal.PartList.removePart(PartList.java:151)
    at org.eclipse.ui.internal.WorkbenchPage.partRemoved(WorkbenchPage.java:1344)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1168)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1193)
    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54)
    at org.eclipse.ui.internal.PartStack.close(PartStack.java:459)
    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:197)
    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:98)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:63)
    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:563)
    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:190)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2075)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:747)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3042)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2731)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
    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:230)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
    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:324)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    Here is my eclipse information.

    eclipse.buildId=I20050401-1645
    java.version=1.4.2_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en_US
    Framework arguments: -showlocation
    Command-line arguments: -os solaris -ws motif -arch sparc -showlocation -data /users/anandn/eclipse/solaris/isc-workspace

    #230407 Reply

    Riyad Kalla
    Member

    Window > Preferences > MyEclipse

    What version of MyEclipse as shown on that panel?

    #230456 Reply

    Version: 3.8.4+QF2-BetaFor3.1M7
    Build Id: 200505151200-3.8.4+QF2-BetaFor3.1M7

    #230468 Reply

    Riyad Kalla
    Member

    anand,
    This the version of MyEclipse you are running is only compatiable with Eclipse 3.1M7, the BuilID you gave above for Eclipse is not M7, I believe it is actually M6 (if I am remembering my build ID’s correctly). The Build ID for M7 is: I20050513-1415

    So what you need to do is grab 3.1M7 From Eclipse’s site and resetup Eclipse/MyEclipse. I would make note that there is a bug with JSP validation not working in our M7 beta that you should expect to run into if you do install it. (don’t go ripping your hair out wonder why it’s not working).

    #230477 Reply

    I got the build ID from eclipse Windows->preferences->My Eclipse menu.

    #230484 Reply

    Riyad Kalla
    Member

    Anand,
    In your original post, you gave the Eclipse build ID at the bottom, and in your last post you gave me the MyEclipse Build ID… these two releases are not compatiable, that was the whole purpose of my previous post.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: NullPointerException when closing XML editor.

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