java.lang.NullPointerException

GitHub | tthuem | 3 months ago
  1. 0

    GitHub comment 399#245638490

    GitHub | 3 months ago | tthuem
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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

    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.core.color.FeatureColorManager.getProject()
    2. de.ovgu.featureide
      FMOutlineLabelProviderWrapper.getBackground
      1. de.ovgu.featureide.fm.core.color.FeatureColorManager.getProject(FeatureColorManager.java:296)
      2. de.ovgu.featureide.fm.core.color.FeatureColorManager.getCurrentColorScheme(FeatureColorManager.java:141)
      3. de.ovgu.featureide.fm.core.color.FeatureColorManager.getCurrentColorScheme(FeatureColorManager.java:134)
      4. de.ovgu.featureide.fm.core.color.FeatureColorManager.getColor(FeatureColorManager.java:63)
      5. de.ovgu.featureide.fm.ui.views.outline.FmLabelProvider.getBackground(FmLabelProvider.java:121)
      6. de.ovgu.featureide.ui.views.collaboration.outline.FMOutlineLabelProviderWrapper.getBackground(FMOutlineLabelProviderWrapper.java:112)
      6 frames
    3. JFace
      AbstractTreeViewer$UpdateItemSafeRunnable.run
      1. org.eclipse.jface.viewers.WrappedViewerLabelProvider.getBackground(WrappedViewerLabelProvider.java:91)
      2. org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:149)
      3. org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)
      4. org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:949)
      5. org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:114)
      5 frames
    4. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    5. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      1 frame
    6. JFace
      StructuredViewer$UpdateItemSafeRunnable.run
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      2. org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1029)
      3. org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:473)
      3 frames
    7. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    8. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      1 frame
    9. JFace
      TreeViewer.setContentProvider
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      2. org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2176)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2755)
      4. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1916)
      5. org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:684)
      6. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1891)
      7. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1848)
      8. org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1834)
      9. org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1526)
      10. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)
      11. org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)
      12. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)
      13. org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1523)
      14. org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:522)
      15. org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1482)
      16. org.eclipse.jface.viewers.ContentViewer.setContentProvider(ContentViewer.java:263)
      17. org.eclipse.jface.viewers.StructuredViewer.setContentProvider(StructuredViewer.java:1676)
      18. org.eclipse.jface.viewers.AbstractTreeViewer.setContentProvider(AbstractTreeViewer.java:2378)
      19. org.eclipse.jface.viewers.TreeViewer.setContentProvider(TreeViewer.java:922)
      19 frames
    10. de.ovgu.featureide
      Outline$12.runInUIThread
      1. de.ovgu.featureide.ui.views.collaboration.outline.Outline$12.runInUIThread(Outline.java:594)
      1 frame
    11. Workbench
      UIJob$1.run
      1. org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
      1 frame
    12. 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
    13. JFace
      MessageDialog.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
      2. org.eclipse.jface.window.Window.open(Window.java:803)
      3. org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:330)
      3 frames
    14. Eclipse UI
      WorkbenchPage.closeEditor
      1. org.eclipse.ui.internal.SaveablesList.promptForSaving(SaveablesList.java:546)
      2. org.eclipse.ui.internal.SaveablesList.promptForSavingIfNecessary(SaveablesList.java:449)
      3. org.eclipse.ui.internal.SaveablesList.preCloseParts(SaveablesList.java:405)
      4. org.eclipse.ui.internal.SaveablesList.preCloseParts(SaveablesList.java:355)
      5. org.eclipse.ui.internal.SaveablesList.preCloseParts(SaveablesList.java:350)
      6. org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1456)
      7. org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1629)
      7 frames
    15. de.ovgu.featureide
      FeatureModelEditor$3.run
      1. de.ovgu.featureide.fm.ui.editors.FeatureModelEditor$3.run(FeatureModelEditor.java:338)
      1 frame
    16. 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
    17. 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
    18. Refactoring UI
      RefactoringWizardDialog2.okPressed
      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.internal.ui.refactoring.ErrorWizardPage.performFinish(ErrorWizardPage.java:162)
      4. org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:710)
      5. org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:468)
      5 frames
    19. 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
    20. 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
    21. 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
    22. Refactoring UI
      RefactoringWizardOpenOperation$1.run
      1. org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:187)
      1 frame
    23. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    24. 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
    25. 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
    26. 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
    27. 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
    28. 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
    29. org.eclipse.e4
      HandlerServiceImpl.executeHandler
      1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      1 frame
    30. Workbench
      LegacyHandlerService.executeCommandInContext
      1. org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommandInContext(LegacyHandlerService.java:396)
      1 frame
    31. 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
    32. 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
    33. 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
    34. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      1 frame
    35. 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
    36. 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
    37. 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
    38. 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
    39. 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
    40. 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
    41. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3767)
      1 frame
    42. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    43. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    44. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    45. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    46. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      1 frame
    47. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    48. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    49. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    50. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    51. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    52. 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
    53. 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
    54. Equinox
      Main.run
      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)
      3 frames