java.lang.NullPointerException

GitHub | tthuem | 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 de.ovgu.featureide.fm.ui.editors.FeatureModelEditor.setInput()
    2. de.ovgu.featureide
      FeatureModelEditor.setInput
      1. de.ovgu.featureide.fm.ui.editors.FeatureModelEditor.setInput(FeatureModelEditor.java:450)
      1 frame
    3. Eclipse UI
      MultiPageEditorPart.init
      1. org.eclipse.ui.part.MultiPageEditorPart.init(MultiPageEditorPart.java:809)
      1 frame
    4. de.ovgu.featureide
      FeatureModelEditor.init
      1. de.ovgu.featureide.fm.ui.editors.FeatureModelEditor.init(FeatureModelEditor.java:150)
      1 frame
    5. Eclipse UI
      EditorReference.initialize
      1. org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:361)
      1 frame
    6. org.eclipse.ui
      CompatibilityPart.create
      1. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:319)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. org.eclipse.e4
      ContextInjectionFactory.make
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)
      4. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
      5. org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
      6. org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
      7. org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
      7 frames
    9. Eclipse Workbench
      ReflectionContributionFactory.create
      1. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
      2. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
      3. org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
      3 frames
    10. org.eclipse.e4
      ContributedPartRenderer.createWidget
      1. org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
      1 frame
    11. Eclipse Workbench SWT
      PartRenderingEngine$2.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
      5. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)
      5 frames
    12. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    13. Eclipse Workbench SWT
      PartRenderingEngine.createGui
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)
      1 frame
    14. Eclipse Workbench
      PartServiceImpl$1.handleEvent
      1. org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:99)
      1 frame
    15. org.eclipse.e4
      UIEventHandler$1.run
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
      1 frame
    16. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
      1 frame
    17. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
      1 frame
    18. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4761)
      1 frame
    19. Eclipse Workbench SWT
      E4Application$1.syncExec
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
      1 frame
    20. org.eclipse.e4
      UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
      1 frame
    21. org.eclipse.equinox
      EventHandlerTracker.dispatchEvent
      1. org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
      2. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
      3. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      3 frames
    22. Eclipse OSGi
      ListenerQueue.dispatchEventSynchronous
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      2 frames
    23. org.eclipse.equinox
      EventComponent.sendEvent
      1. org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
      2. org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
      3. org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
      3 frames
    24. org.eclipse.e4
      EventBroker.send
      1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
      1 frame
    25. Eclipse Workbench
      UIEventPublisher.notifyChanged
      1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
      1 frame
    26. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    27. org.eclipse.e4
      ElementContainerImpl.setSelectedElement
      1. org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
      1 frame
    28. Eclipse Workbench
      PartServiceImpl.hidePart
      1. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1283)
      1 frame
    29. Eclipse UI
      WorkbenchPage.closeEditor
      1. org.eclipse.ui.internal.WorkbenchPage.hidePart(WorkbenchPage.java:1583)
      2. org.eclipse.ui.internal.WorkbenchPage.hidePart(WorkbenchPage.java:1534)
      3. org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1504)
      4. org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1629)
      4 frames
    30. de.ovgu.featureide
      FeatureModelEditor$3.run
      1. de.ovgu.featureide.fm.ui.editors.FeatureModelEditor$3.run(FeatureModelEditor.java:338)
      1 frame
    31. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
      4 frames
    32. JFace
      ModalContext.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:172)
      2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:387)
      2 frames
    33. Refactoring UI
      UserInputWizardPage.performFinish
      1. org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:331)
      2. org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:637)
      3. org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153)
      3 frames
    34. org.eclipse.ltk
      DeleteResourcesWizard$DeleteResourcesRefactoringConfigurationPage.performFinish
      1. org.eclipse.ltk.ui.refactoring.resource.DeleteResourcesWizard$DeleteResourcesRefactoringConfigurationPage.performFinish(DeleteResourcesWizard.java:202)
      1 frame
    35. Refactoring UI
      RefactoringWizardDialog2.okPressed
      1. org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:710)
      2. org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:455)
      2 frames
    36. JFace
      Dialog$2.widgetSelected
      1. org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
      2. org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
      2 frames
    37. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
      5. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
      6. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
      6 frames
    38. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
      2. org.eclipse.jface.window.Window.open(Window.java:803)
      2 frames
    39. Refactoring UI
      RefactoringWizardOpenOperation$1.run
      1. org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:187)
      1 frame
    40. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    41. Refactoring UI
      DeleteResourcesHandler.execute
      1. org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:202)
      2. org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:122)
      3. org.eclipse.ltk.internal.ui.refactoring.actions.DeleteResourcesHandler.execute(DeleteResourcesHandler.java:40)
      3 frames
    42. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
      2. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      2 frames
    43. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    44. org.eclipse.e4
      HandlerServiceHandler.execute
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      5 frames
    45. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
      2 frames
    46. org.eclipse.e4
      HandlerServiceImpl.executeHandler
      1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      1 frame
    47. Workbench
      LegacyHandlerService.executeCommandInContext
      1. org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommandInContext(LegacyHandlerService.java:396)
      1 frame
    48. Eclipse UI
      DeleteResourceAction.run
      1. org.eclipse.ui.internal.ide.actions.LTKLauncher.runCommand(LTKLauncher.java:96)
      2. org.eclipse.ui.internal.ide.actions.LTKLauncher.openDeleteWizard(LTKLauncher.java:48)
      3. org.eclipse.ui.actions.DeleteResourceAction.run(DeleteResourceAction.java:454)
      3 frames
    49. Java Development Tools UI
      SelectionDispatchAction.run
      1. org.eclipse.jdt.internal.ui.refactoring.reorg.DeleteAction.run(DeleteAction.java:197)
      2. org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
      3. org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
      3 frames
    50. JFace
      ActionHandler.execute
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      2. org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:122)
      2 frames
    51. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      1 frame
    52. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    53. org.eclipse.e4
      HandlerServiceHandler.execute
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      5 frames
    54. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
      2 frames
    55. org.eclipse.e4
      OutOfOrderListener.handleEvent
      1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      2. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
      3. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
      4. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
      5. org.eclipse.e4.ui.bindings.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:72)
      5 frames
    56. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)
      6. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1164)
      7. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1160)
      8. org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1883)
      9. org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:5049)
      10. org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:6156)
      11. org.eclipse.swt.widgets.Control.windowProc(Control.java:4708)
      12. org.eclipse.swt.widgets.Tree.windowProc(Tree.java:6024)
      13. org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)
      13 frames
    57. org.eclipse.swt
      OS.DispatchMessage
      1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
      2 frames
    58. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3767)
      1 frame
    59. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    60. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    61. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    62. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    63. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      1 frame
    64. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    65. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    66. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    67. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    68. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    69. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    70. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    71. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      4 frames