java.lang.NullPointerException

Spring JIRA | Imported | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When closing Eclipse after graphing a config set, errors are thrown. I've included the stack traces from the error log at the bottom of this description. * Open up Eclipse with Spring IDE 2006/5/25 nightly installed. * open up the aop-1 projects * refresh and clean * open up visualizer (probably irrelevant) * open up Spring IDE Beans view * graph some beans * close the projects * close the graph window * try to shut down Eclipse, get the stuff below {code} 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 Command-line arguments: -os win32 -ws win32 -arch x86 -data c:\interface21\core-spring-2\eclipsews-core-spring Error Fri May 25 10:07:14 EDT 2007 Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInputFactory.saveState(GraphEditorInputFactory.java:85) at org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInput.saveState(GraphEditorInput.java:232) at org.eclipse.ui.internal.NavigationHistoryEditorInfo.saveState(NavigationHistoryEditorInfo.java:94) at org.eclipse.ui.internal.NavigationHistory.saveState(NavigationHistory.java:471) at org.eclipse.ui.internal.WorkbenchPage.saveState(WorkbenchPage.java:3114) at org.eclipse.ui.internal.WorkbenchWindow.saveState(WorkbenchWindow.java:2440) at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:1966) at org.eclipse.ui.internal.Workbench.recordWorkbenchState(Workbench.java:1644) at org.eclipse.ui.internal.Workbench.access####5(Workbench.java:1641) at org.eclipse.ui.internal.Workbench####11.run(Workbench.java:686) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:684) at org.eclipse.ui.internal.Workbench.access####8(Workbench.java:642) at org.eclipse.ui.internal.Workbench####15.run(Workbench.java:855) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.Workbench.close(Workbench.java:853) at org.eclipse.ui.internal.Workbench.close(Workbench.java:828) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:619) at org.eclipse.ui.internal.WorkbenchWindow.access####0(WorkbenchWindow.java:598) at org.eclipse.ui.internal.WorkbenchWindow####2.run(WorkbenchWindow.java:713) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:711) at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:736) at org.eclipse.jface.window.Window####3.shellClosed(Window.java:682) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:159) 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.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:257) at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1606) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3248) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1927) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:443) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1927) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:443) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1932) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) 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) {code}

    Spring JIRA | 10 years ago | Imported
    java.lang.NullPointerException
  2. 0

    When closing Eclipse after graphing a config set, errors are thrown. I've included the stack traces from the error log at the bottom of this description. * Open up Eclipse with Spring IDE 2006/5/25 nightly installed. * open up the aop-1 projects * refresh and clean * open up visualizer (probably irrelevant) * open up Spring IDE Beans view * graph some beans * close the projects * close the graph window * try to shut down Eclipse, get the stuff below {code} 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 Command-line arguments: -os win32 -ws win32 -arch x86 -data c:\interface21\core-spring-2\eclipsews-core-spring Error Fri May 25 10:07:14 EDT 2007 Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInputFactory.saveState(GraphEditorInputFactory.java:85) at org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInput.saveState(GraphEditorInput.java:232) at org.eclipse.ui.internal.NavigationHistoryEditorInfo.saveState(NavigationHistoryEditorInfo.java:94) at org.eclipse.ui.internal.NavigationHistory.saveState(NavigationHistory.java:471) at org.eclipse.ui.internal.WorkbenchPage.saveState(WorkbenchPage.java:3114) at org.eclipse.ui.internal.WorkbenchWindow.saveState(WorkbenchWindow.java:2440) at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:1966) at org.eclipse.ui.internal.Workbench.recordWorkbenchState(Workbench.java:1644) at org.eclipse.ui.internal.Workbench.access####5(Workbench.java:1641) at org.eclipse.ui.internal.Workbench####11.run(Workbench.java:686) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:684) at org.eclipse.ui.internal.Workbench.access####8(Workbench.java:642) at org.eclipse.ui.internal.Workbench####15.run(Workbench.java:855) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.Workbench.close(Workbench.java:853) at org.eclipse.ui.internal.Workbench.close(Workbench.java:828) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:619) at org.eclipse.ui.internal.WorkbenchWindow.access####0(WorkbenchWindow.java:598) at org.eclipse.ui.internal.WorkbenchWindow####2.run(WorkbenchWindow.java:713) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:711) at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:736) at org.eclipse.jface.window.Window####3.shellClosed(Window.java:682) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:159) 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.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:257) at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1606) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3248) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1927) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:443) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1927) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:443) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1932) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) 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) {code}

    Spring JIRA | 10 years ago | Imported
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInputFactory.saveState()
    2. org.springframework.ide
      GraphEditorInput.saveState
      1. org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInputFactory.saveState(GraphEditorInputFactory.java:85)
      2. org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInput.saveState(GraphEditorInput.java:232)
      2 frames
    3. Eclipse UI
      Workbench.recordWorkbenchState
      1. org.eclipse.ui.internal.NavigationHistoryEditorInfo.saveState(NavigationHistoryEditorInfo.java:94)
      2. org.eclipse.ui.internal.NavigationHistory.saveState(NavigationHistory.java:471)
      3. org.eclipse.ui.internal.WorkbenchPage.saveState(WorkbenchPage.java:3114)
      4. org.eclipse.ui.internal.WorkbenchWindow.saveState(WorkbenchWindow.java:2440)
      5. org.eclipse.ui.internal.Workbench.saveState(Workbench.java:1966)
      6. org.eclipse.ui.internal.Workbench.recordWorkbenchState(Workbench.java:1644)
      6 frames