java.lang.NullPointerException

SpringSource Issue Tracker | Steffen Pingel | 6 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

    What steps will reproduce the problem? 1. Open applicationContext.xml 2. Open tx tab 3. Add advice element 4. Click transaction-manager link -- Error Details -- Date: Tue Aug 09 16:29:40 CEST 2011 Message: Unhandled event loop exception Severity: Error Product: SpringSource Tool Suite 2.8.0.201108091000-M1 (com.springsource.sts.ide) Plugin: org.eclipse.ui Session Data: eclipse.buildId=2.8.0.201108091000-M1 java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.springsource.sts.ide Exception Stack Trace: java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.detectAnnotationBasedHyperlinks(ToolAnnotationBasedHyperlinkCalculator.java:57) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.createHyperlinks(ToolAnnotationBasedHyperlinkCalculator.java:40) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.createHyperlink(ToolAnnotationBasedHyperlinkCalculator.java:46) at com.springsource.sts.config.ui.hyperlinks.XmlBackedHyperlinkProvider.createHyperlink(XmlBackedHyperlinkProvider.java:58) at com.springsource.sts.config.ui.hyperlinks.XmlBackedHyperlinkProvider.open(XmlBackedHyperlinkProvider.java:127) at com.springsource.sts.config.ui.editors.AbstractConfigDetailsSectionPart$20.openHyperlink(AbstractConfigDetailsSectionPart.java:612) at com.springsource.sts.config.ui.widgets.HyperlinkedTextAttribute$1.linkActivated(HyperlinkedTextAttribute.java:67) at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233) at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327) at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311) at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

    SpringSource Issue Tracker | 6 years ago | Steffen Pingel
    java.lang.NullPointerException
  2. 0

    What steps will reproduce the problem? 1. Open applicationContext.xml 2. Open tx tab 3. Add advice element 4. Click transaction-manager link -- Error Details -- Date: Tue Aug 09 16:29:40 CEST 2011 Message: Unhandled event loop exception Severity: Error Product: SpringSource Tool Suite 2.8.0.201108091000-M1 (com.springsource.sts.ide) Plugin: org.eclipse.ui Session Data: eclipse.buildId=2.8.0.201108091000-M1 java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.springsource.sts.ide Exception Stack Trace: java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.detectAnnotationBasedHyperlinks(ToolAnnotationBasedHyperlinkCalculator.java:57) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.createHyperlinks(ToolAnnotationBasedHyperlinkCalculator.java:40) at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.createHyperlink(ToolAnnotationBasedHyperlinkCalculator.java:46) at com.springsource.sts.config.ui.hyperlinks.XmlBackedHyperlinkProvider.createHyperlink(XmlBackedHyperlinkProvider.java:58) at com.springsource.sts.config.ui.hyperlinks.XmlBackedHyperlinkProvider.open(XmlBackedHyperlinkProvider.java:127) at com.springsource.sts.config.ui.editors.AbstractConfigDetailsSectionPart$20.openHyperlink(AbstractConfigDetailsSectionPart.java:612) at com.springsource.sts.config.ui.widgets.HyperlinkedTextAttribute$1.linkActivated(HyperlinkedTextAttribute.java:67) at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233) at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327) at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311) at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

    SpringSource Issue Tracker | 6 years ago | Steffen Pingel
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.detectAnnotationBasedHyperlinks()
    2. org.springframework.ide
      ToolAnnotationBasedHyperlinkCalculator.createHyperlink
      1. org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.detectAnnotationBasedHyperlinks(ToolAnnotationBasedHyperlinkCalculator.java:57)
      2. org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.createHyperlinks(ToolAnnotationBasedHyperlinkCalculator.java:40)
      3. org.springframework.ide.eclipse.beans.ui.editor.hyperlink.ToolAnnotationBasedHyperlinkCalculator.createHyperlink(ToolAnnotationBasedHyperlinkCalculator.java:46)
      3 frames
    3. com.springsource.sts
      HyperlinkedTextAttribute$1.linkActivated
      1. com.springsource.sts.config.ui.hyperlinks.XmlBackedHyperlinkProvider.createHyperlink(XmlBackedHyperlinkProvider.java:58)
      2. com.springsource.sts.config.ui.hyperlinks.XmlBackedHyperlinkProvider.open(XmlBackedHyperlinkProvider.java:127)
      3. com.springsource.sts.config.ui.editors.AbstractConfigDetailsSectionPart$20.openHyperlink(AbstractConfigDetailsSectionPart.java:612)
      4. com.springsource.sts.config.ui.widgets.HyperlinkedTextAttribute$1.linkActivated(HyperlinkedTextAttribute.java:67)
      4 frames
    4. Eclipse Forms
      AbstractHyperlink$4.handleEvent
      1. org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
      2. org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
      3. org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
      4. org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
      4 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      4 frames
    6. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
      4 frames
    7. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    8. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
      1 frame
    9. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    10. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      1 frame
    11. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    12. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    14. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1386)
      4 frames