java.lang.NullPointerException

Spring JIRA | Torsten Juergeleit | 10 years ago
  1. 0

    The following NPE is thrown when activating the content assist for an unsupported XML namespace: {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.outline.DelegatingLabelProvider.getImage(DelegatingLabelProvider.java:53) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.requestor.BeanReferenceSearchRequestor.acceptSearchMatch(BeanReferenceSearchRequestor.java:136) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.aop.AopContentAssistProcessor.addBeanReferenceProposals(AopContentAssistProcessor.java:67) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.aop.AopContentAssistProcessor.computeAttributeValueProposals(AopContentAssistProcessor.java:90) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addAttributeValueProposals(AbstractContentAssistProcessor.java:120) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addTagCloseProposals(AbstractContentAssistProcessor.java:128) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.DelegatingContentAssistProcessor.addTagCloseProposals(DelegatingContentAssistProcessor.java:57) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeTagCloseProposals(AbstractContentAssistProcessor.java:1490) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1201) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:102) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1303) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:113) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:233) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1612) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:473) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access####17(CompletionProposalPopup.java:470) at org.eclipse.jface.text.contentassist.CompletionProposalPopup####2.run(CompletionProposalPopup.java:405) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:399) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1441) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:376) at org.eclipse.ui.texteditor.TextOperationAction####1.run(TextOperationAction.java:131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access####3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard####KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1109) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1557) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1552) at org.eclipse.swt.widgets.Control.kEventUnicodeKeyPressed(Control.java:1820) at org.eclipse.swt.widgets.Composite.kEventUnicodeKeyPressed(Composite.java:583) at org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(Control.java:1812) at org.eclipse.swt.widgets.Widget.textInputProc(Widget.java:2000) at org.eclipse.swt.widgets.Display.textInputProc(Display.java:3838) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2910) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) 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 | Torsten Juergeleit
    java.lang.NullPointerException
  2. 0

    The following NPE is thrown when activating the content assist for an unsupported XML namespace: {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.outline.DelegatingLabelProvider.getImage(DelegatingLabelProvider.java:53) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.requestor.BeanReferenceSearchRequestor.acceptSearchMatch(BeanReferenceSearchRequestor.java:136) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.aop.AopContentAssistProcessor.addBeanReferenceProposals(AopContentAssistProcessor.java:67) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.aop.AopContentAssistProcessor.computeAttributeValueProposals(AopContentAssistProcessor.java:90) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addAttributeValueProposals(AbstractContentAssistProcessor.java:120) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addTagCloseProposals(AbstractContentAssistProcessor.java:128) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.DelegatingContentAssistProcessor.addTagCloseProposals(DelegatingContentAssistProcessor.java:57) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeTagCloseProposals(AbstractContentAssistProcessor.java:1490) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1201) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:102) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1303) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:113) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:233) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1612) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:473) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access####17(CompletionProposalPopup.java:470) at org.eclipse.jface.text.contentassist.CompletionProposalPopup####2.run(CompletionProposalPopup.java:405) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:399) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1441) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:376) at org.eclipse.ui.texteditor.TextOperationAction####1.run(TextOperationAction.java:131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access####3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard####KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1109) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1557) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1552) at org.eclipse.swt.widgets.Control.kEventUnicodeKeyPressed(Control.java:1820) at org.eclipse.swt.widgets.Composite.kEventUnicodeKeyPressed(Composite.java:583) at org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(Control.java:1812) at org.eclipse.swt.widgets.Widget.textInputProc(Widget.java:2000) at org.eclipse.swt.widgets.Display.textInputProc(Display.java:3838) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2910) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) 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 | Torsten Juergeleit
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.ide.eclipse.beans.ui.editor.outline.DelegatingLabelProvider.getImage()
    2. org.springframework.ide
      DelegatingContentAssistProcessor.addTagCloseProposals
      1. org.springframework.ide.eclipse.beans.ui.editor.outline.DelegatingLabelProvider.getImage(DelegatingLabelProvider.java:53)
      2. org.springframework.ide.eclipse.beans.ui.editor.contentassist.requestor.BeanReferenceSearchRequestor.acceptSearchMatch(BeanReferenceSearchRequestor.java:136)
      3. org.springframework.ide.eclipse.beans.ui.editor.namespaces.aop.AopContentAssistProcessor.addBeanReferenceProposals(AopContentAssistProcessor.java:67)
      4. org.springframework.ide.eclipse.beans.ui.editor.namespaces.aop.AopContentAssistProcessor.computeAttributeValueProposals(AopContentAssistProcessor.java:90)
      5. org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addAttributeValueProposals(AbstractContentAssistProcessor.java:120)
      6. org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addTagCloseProposals(AbstractContentAssistProcessor.java:128)
      7. org.springframework.ide.eclipse.beans.ui.editor.contentassist.DelegatingContentAssistProcessor.addTagCloseProposals(DelegatingContentAssistProcessor.java:57)
      7 frames
    3. org.eclipse.wst
      XMLContentAssistProcessor.computeCompletionProposals
      1. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeTagCloseProposals(AbstractContentAssistProcessor.java:1490)
      2. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1201)
      3. org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:102)
      4. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1303)
      5. org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:113)
      5 frames
    4. Structured Source Editor
      CompoundContentAssistProcessor.computeCompletionProposals
      1. org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:233)
      1 frame
    5. JFace Text
      CompletionProposalPopup.computeProposals
      1. org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1612)
      2. org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:473)
      2 frames