java.lang.NullPointerException

eclipse.org | 3 months ago
  1. 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
  2. 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.eclipse.php.internal.core.phpModel.parser.PHPWorkspaceModelManager.getProjectForModel()
    2. org.eclipse.php
      HTMLElementFormatterNoPHP.formatChildNodes
      1. org.eclipse.php.internal.core.phpModel.parser.PHPWorkspaceModelManager.getProjectForModel(Unknown Source)
      2. org.eclipse.php.internal.core.format.FormatPreferencesSupport.verifyValidity(Unknown Source)
      3. org.eclipse.php.internal.core.format.FormatPreferencesSupport.getIndentationSize(Unknown Source)
      4. org.eclipse.php.internal.core.format.CaseDefaultIndentationStrategy.placeMatchingBlanks(Unknown Source)
      5. org.eclipse.php.internal.core.format.PhpFormatter.formatLine(Unknown Source)
      6. org.eclipse.php.internal.core.format.PhpFormatter.format(Unknown Source)
      7. org.eclipse.php.internal.core.format.PhpFormatter.formatNode(Unknown Source)
      8. org.eclipse.php.internal.core.format.PhpFormatter.format(Unknown Source)
      9. org.eclipse.php.internal.core.format.PhpFormatter.format(Unknown Source)
      10. org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.formatChildNodes(Unknown Source)
      10 frames
    3. org.eclipse.wst
      HTMLElementFormatter.formatNode
      1. org.eclipse.wst.html.core.internal.format.HTMLElementFormatter.formatNode(HTMLElementFormatter.java:123)
      1 frame
    4. org.eclipse.php
      HTMLElementFormatterNoPHP.formatNode
      1. org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.formatNode(Unknown Source)
      1 frame
    5. org.eclipse.wst
      HTMLFormatter.format
      1. org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:233)
      2. org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:219)
      3. org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:212)
      3 frames
    6. org.eclipse.php
      HTMLElementFormatterNoPHP.insertBreakBefore
      1. org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.formatChildNodes(Unknown Source)
      2. org.eclipse.php.internal.core.format.htmlFormatters.HTMLElementFormatterNoPHP.insertBreakBefore(Unknown Source)
      2 frames
    7. org.eclipse.wst
      HTMLFormatter.format
      1. org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:231)
      2. org.eclipse.wst.html.core.internal.format.HTMLFormatter.format(HTMLFormatter.java:219)
      2 frames
    8. Structured Text Model
      AbstractStructuredFormatProcessor.formatModel
      1. org.eclipse.wst.sse.core.internal.format.AbstractStructuredFormatProcessor.formatNode(AbstractStructuredFormatProcessor.java:405)
      2. org.eclipse.wst.sse.core.internal.format.AbstractStructuredFormatProcessor.formatModel(AbstractStructuredFormatProcessor.java:346)
      2 frames
    9. org.eclipse.php
      PhpFormatProcessorImpl.formatDocument
      1. org.eclipse.php.internal.core.format.PhpFormatProcessorImpl.formatModel(Unknown Source)
      2. org.eclipse.php.internal.core.format.PhpFormatProcessorImpl.formatDocument(Unknown Source)
      2 frames
    10. Structured Source Editor
      StructuredFormattingStrategy.format
      1. org.eclipse.wst.sse.ui.internal.format.StructuredFormattingStrategy.format(StructuredFormattingStrategy.java:58)
      1 frame
    11. JFace Text
      MultiPassContentFormatter.format
      1. org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:192)
      2. org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:141)
      2 frames
    12. org.eclipse.php
      PHPStructuredTextViewer.doOperation
      1. org.eclipse.php.internal.ui.editor.PHPStructuredTextViewer.doOperation(Unknown Source)
      1 frame
    13. Text Editor Framework
      TextOperationAction$1.run
      1. org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
      1 frame
    14. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      1 frame
    15. Text Editor Framework
      TextOperationAction.run
      1. org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
      1 frame
    16. JFace
      Action.runWithEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
      1 frame
    17. Workbench
      LegacyHandlerWrapper.execute
      1. org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
      2. org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
      2 frames
    18. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:461)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424)
      2 frames
    19. Workbench
      WorkbenchKeyboard$KeyDownFilter.handleEvent
      1. org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160)
      2. org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466)
      3. org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799)
      4. org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846)
      5. org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564)
      6. org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506)
      7. org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122)
      7 frames
    20. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      2. org.eclipse.swt.widgets.Display.filterEvent(Display.java:1357)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1084)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1109)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094)
      6. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1121)
      7. org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:655)
      8. org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2090)
      9. org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:637)
      10. org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1434)
      11. org.eclipse.swt.widgets.Display.windowProc(Display.java:3812)
      11 frames
    21. org.eclipse.swt
      OS.gtk_main_do_event
      1. org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
      2. org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5291)
      2 frames
    22. RWT
      Display.eventProc
      1. org.eclipse.swt.widgets.Display.eventProc(Display.java:1149)
      1 frame
    23. org.eclipse.swt
      OS.g_main_context_iteration
      1. org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      2. org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1437)
      2 frames
    24. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2854)
      1 frame
    25. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
      3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
      3 frames
    26. Eclipse UI
      IDEApplication.run
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
      2 frames
    27. Eclipse Core
      PlatformActivator$1.run
      1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      1 frame
    28. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      4 frames
    29. 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:585)
      4 frames
    30. Equinox
      Main.main
      1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      2. org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      3. org.eclipse.core.launcher.Main.run(Main.java:977)
      4. org.eclipse.core.launcher.Main.main(Main.java:952)
      4 frames