java.lang.NullPointerException

GitHub | TheGlave | 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

    1 unregistered visitors
    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 android.os.storage.StorageManager.getVolumeList()
    2. Android Platform
      Environment.getExternalStorageDirectory
      1. android.os.storage.StorageManager.getVolumeList(StorageManager.java:922)
      2. android.os.Environment$UserEnvironment.getExternalDirs(Environment.java:87)
      3. android.os.Environment.getExternalStorageDirectory(Environment.java:404)
      3 frames
    3. org.osmdroid.tileprovider
      MapTileProviderArray.getMapTile
      1. org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants.<clinit>(OpenStreetMapTileProviderConstants.java:24)
      2. org.osmdroid.tileprovider.MapTileProviderArray.getMapTile(MapTileProviderArray.java:93)
      2 frames
    4. org.osmdroid.views
      TilesOverlay$1.handleTile
      1. org.osmdroid.views.overlay.TilesOverlay$1.handleTile(TilesOverlay.java:182)
      1 frame
    5. org.osmdroid.util
      TileLooper.loop
      1. org.osmdroid.util.TileLooper.loop(TileLooper.java:34)
      1 frame
    6. org.osmdroid.views
      MapView.dispatchDraw
      1. org.osmdroid.views.overlay.TilesOverlay.drawTiles(TilesOverlay.java:161)
      2. org.osmdroid.views.overlay.TilesOverlay.draw(TilesOverlay.java:148)
      3. org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:107)
      4. org.osmdroid.views.MapView.dispatchDraw(MapView.java:996)
      4 frames
    7. Android Platform
      View.draw
      1. android.view.View.draw(View.java:16973)
      2. android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
      3. android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
      4. android.view.ViewGroup.drawChild(ViewGroup.java:3764)
      5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
      6. android.view.View.draw(View.java:16973)
      7. android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
      8. android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
      9. android.view.ViewGroup.drawChild(ViewGroup.java:3764)
      10. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
      11. android.view.View.draw(View.java:16973)
      12. android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
      13. android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
      14. android.view.ViewGroup.drawChild(ViewGroup.java:3764)
      15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
      16. android.view.View.draw(View.java:16973)
      17. android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
      18. android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
      19. android.view.ViewGroup.drawChild(ViewGroup.java:3764)
      20. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
      21. android.view.View.draw(View.java:17070)
      21 frames
    8. com.android.layoutlib
      Bridge.createSession
      1. com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:387)
      2. com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:498)
      3. com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:434)
      3 frames
    9. com.android.tools.sdk-common
      LayoutLibrary.createSession
      1. com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350)
      1 frame
    10. com.android.tools
      RenderTask$2.compute
      1. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:520)
      2. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:508)
      2 frames
    11. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)
      1 frame
    12. com.android.tools
      RenderTask.render
      1. com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:508)
      2. com.android.tools.idea.rendering.RenderTask.access$600(RenderTask.java:75)
      3. com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:620)
      4. com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:617)
      5. com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:371)
      6. com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:617)
      7. com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:639)
      7 frames
    13. IntelliJ android module
      AndroidDesignerEditorPanel$7.run
      1. com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$7.run(AndroidDesignerEditorPanel.java:519)
      1 frame
    14. Openapi
      QueueProcessor.runSafely
      1. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
      2. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
      3. com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)
      4. com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)
      5. com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
      6. com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
      7. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
      7 frames
    15. IDEA
      Alarm$Request$1.run
      1. com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
      1 frame
    16. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames