Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by TheGlave
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at android.os.storage.StorageManager.getVolumeList(StorageManager.java:922)	at android.os.Environment$UserEnvironment.getExternalDirs(Environment.java:87)	at android.os.Environment.getExternalStorageDirectory(Environment.java:404)	at org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants.(OpenStreetMapTileProviderConstants.java:24)	at org.osmdroid.tileprovider.MapTileProviderArray.getMapTile(MapTileProviderArray.java:93)	at org.osmdroid.views.overlay.TilesOverlay$1.handleTile(TilesOverlay.java:182)	at org.osmdroid.util.TileLooper.loop(TileLooper.java:34)	at org.osmdroid.views.overlay.TilesOverlay.drawTiles(TilesOverlay.java:161)	at org.osmdroid.views.overlay.TilesOverlay.draw(TilesOverlay.java:148)	at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:107)	at org.osmdroid.views.MapView.dispatchDraw(MapView.java:996)	at android.view.View.draw(View.java:16973)	at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)	at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)	at android.view.ViewGroup.drawChild(ViewGroup.java:3764)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)	at android.view.View.draw(View.java:16973)	at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)	at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)	at android.view.ViewGroup.drawChild(ViewGroup.java:3764)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)	at android.view.View.draw(View.java:16973)	at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)	at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)	at android.view.ViewGroup.drawChild(ViewGroup.java:3764)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)	at android.view.View.draw(View.java:16973)	at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)	at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)	at android.view.ViewGroup.drawChild(ViewGroup.java:3764)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)	at android.view.View.draw(View.java:17070)	at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:387)	at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:498)	at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:434)	at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350)	at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:520)	at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:508)	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)	at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:508)	at com.android.tools.idea.rendering.RenderTask.access$600(RenderTask.java:75)	at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:620)	at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:617)	at com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:371)	at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:617)	at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:639)	at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$7.run(AndroidDesignerEditorPanel.java:519)	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)	at com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)	at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)	at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)