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 juamor86
, 1 year ago
Attempt to invoke virtual method 'boolean org.osmdroid.views.overlay.Overlay.isEnabled()' on a null object reference 09-02 12:47:41.267: W/System.err(27156): at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:111
via GitHub by juamor86
, 1 year ago
Attempt to invoke virtual method 'boolean org.osmdroid.views.overlay.Overlay.isEnabled()' on a null object reference 09-02 12:47:41.267: W/System.err(27156): at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:111
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean org.osmdroid.views.overlay.Overlay.isEnabled()' on a null object reference
09-02 12:47:41.267: W/System.err(27156): 	at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:111)
09-02 12:47:41.267: W/System.err(27156): 	at org.osmdroid.bonuspack.overlays.FolderOverlay.draw(FolderOverlay.java:68)
09-02 12:47:41.267: W/System.err(27156): 	at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:118)
09-02 12:47:41.267: W/System.err(27156): 	at org.osmdroid.bonuspack.overlays.FolderOverlay.draw(FolderOverlay.java:68)
09-02 12:47:41.267: W/System.err(27156): 	at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:118)
09-02 12:47:41.267: W/System.err(27156): 	at org.osmdroid.views.MapView.dispatchDraw(MapView.java:993)
09-02 12:47:41.267: W/System.err(27156): 	at android.view.View.updateDisplayListIfDirty(View.java:15175)
09-02 12:47:41.267: W/System.err(27156): 	at android.view.View.draw(View.java:15954)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.updateDisplayListIfDirty(View.java:15175)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.draw(View.java:15954)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.draw(View.java:16187)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.updateDisplayListIfDirty(View.java:15180)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.draw(View.java:15954)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.updateDisplayListIfDirty(View.java:15175)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.draw(View.java:15954)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
09-02 12:47:41.268: W/System.err(27156): 	at android.view.View.draw(View.java:16187)	at android.view.View.updateDisplayListIfDirty(View.java:15180)	at android.view.View.draw(View.java:15954)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16187)	at android.view.View.updateDisplayListIfDirty(View.java:15180)	at android.view.View.draw(View.java:15954)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16187)	at android.view.View.updateDisplayListIfDirty(View.java:15180)	at android.view.View.draw(View.java:15954)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16187)	at android.view.View.updateDisplayListIfDirty(View.java:15180)	at android.view.View.draw(View.java:15954)