Closed mariotaku closed 11 years ago
Incredible, I'll try to fix it.
I have the same problem:
09-09 11:07:54.793 27073-27073/? E/AndroidRuntime: FATAL EXCEPTION: main java.lang.NullPointerException at android.view.GLES20RenderLayer.redrawLater(GLES20RenderLayer.java:121) at android.view.View.getHardwareLayer(View.java:12592) at android.view.View.getDisplayList(View.java:12804) at android.view.View.getDisplayList(View.java:12880) at android.view.View.draw(View.java:13657) at android.view.ViewGroup.drawChild(ViewGroup.java:3083) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2920) at android.view.View.getDisplayList(View.java:12833) at android.view.View.getDisplayList(View.java:12880) at android.view.HardwareRenderer$GlRenderer.buildDisplayList(HardwareRenderer.java:1411) at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1359) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2367) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2239) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1872) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749) at android.view.Choreographer.doCallbacks(Choreographer.java:562) at android.view.Choreographer.doFrame(Choreographer.java:532) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735) at android.os.Handler.handleCallback(Handler.java:730) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method)
我也有同样的问题 3儿子 android4.3(CM)
fixed
Hello, please give any fix on this issue,
This crash occurs when I once logout from google login from may app and do login second time. First time, there is no crashes. and second time , while google login app crashes and getting the following log from Android Monitor in Android Studio
FATAL EXCEPTION: main Process: com.brainpodium.zonmart, PID: 16935 java.lang.NullPointerException at android.view.GLES20RenderLayer.start(GLES20RenderLayer.java:112) at android.view.GLES20RenderLayer.start(GLES20RenderLayer.java:103) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1460) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5600) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761) at android.view.Choreographer.doCallbacks(Choreographer.java:574) at android.view.Choreographer.doFrame(Choreographer.java:544) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5001) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method)
set layerType to ViewCompat.LAYER_TYPE_NONE in SwipeBackLayout$ViewDragCallback.onViewDragStateChanged(int) causes this problem.
you can comment out following lines to avoid crash.