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 Lineflyer
, 1 year ago
Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference
via GitHub by Lineflyer
, 7 months ago
Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference
via GitHub by Lineflyer
, 1 year ago
Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference
via Stack Overflow by Jaymesh
, 2 years ago
Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference
via GitHub by MrThiago
, 1 year ago
Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference
via GitHub by MrThiago
, 1 year ago
Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference	at android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1269)	at android.graphics.Canvas.drawBitmap(Canvas.java:1325)	at org.mapsforge.v3.android.maps.FrameBuffer.drawBitmap(FrameBuffer.java:101)	at org.mapsforge.v3.android.maps.MapView.redrawTiles(MapView.java:402)	at org.mapsforge.v3.android.maps.inputhandling.MultiTouchHandler.onActionMove(MultiTouchHandler.java:91)	at org.mapsforge.v3.android.maps.inputhandling.MultiTouchHandler.handleMotionEvent(MultiTouchHandler.java:186)	at org.mapsforge.v3.android.maps.inputhandling.TouchEventHandler.handleTouchEvent(TouchEventHandler.java:149)	at org.mapsforge.v3.android.maps.MapView.onTouchEvent(MapView.java:349)	at cgeo.geocaching.maps.mapsforge.MapsforgeMapView.onTouchEvent(MapsforgeMapView.java:277)	at android.view.View.dispatchTouchEvent(View.java:9300)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2547)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2240)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)	at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403)	at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737)	at android.app.Activity.dispatchTouchEvent(Activity.java:2771)	at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364)	at android.view.View.dispatchPointerEvent(View.java:9520)	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4230)	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4096)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3787)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3844)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5922)	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5896)	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5857)	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6025)	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)	at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)	at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)	at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5996)	at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6048)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)	at android.view.Choreographer.doCallbacks(Choreographer.java:670)	at android.view.Choreographer.doFrame(Choreographer.java:600)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5417)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)