Note that there are some explanatory texts on larger screens.

plurals
  1. PONullPointerException with Hardwareacceleration turned on?
    text
    copied!<p>I got some error messages from my application on a simple button click. After the click an animation should start, but the button becomes bigger. It runs perfectly on most devices, but on some (i think mostly 4.X and above) it crashes.</p> <p>Exception message (Stack Trace):</p> <pre><code>java.lang.NullPointerException at android.view.GLES20RecordingCanvas.drawBitmap(GLES20RecordingCanvas.java:118) at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:400) at android.view.View.draw(View.java:10999) at android.view.ViewGroup.drawChild(ViewGroup.java:3186) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2788) at android.view.ViewGroup.drawChild(ViewGroup.java:3184) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2788) at android.view.ViewGroup.drawChild(ViewGroup.java:3184) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2788) at android.view.ViewGroup.drawChild(ViewGroup.java:3184) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2788) at android.view.View.draw(View.java:11017) at android.view.View.getDisplayList(View.java:10444) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2896) at android.view.View.getDisplayList(View.java:10407) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2896) at android.view.View.getDisplayList(View.java:10407) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2896) at android.view.View.getDisplayList(View.java:10407) at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:883) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2089) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1781) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2666) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:4977) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method) </code></pre> <p>Thanks in advance! </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload