尝试在空对象引用

时间:2018-04-16 03:19:54

标签: android crash

最近,我收到了一些崩溃日志,这里有完整的信息,其中大部分都出现在Android 7.0系统上,而且大多数出现在三星手机上。但我不知道是什么会导致这个错误,我怎么能解决它。

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ThreadedRenderer.setStopped(boolean)' on a null object reference
   at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3001)
   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2552)
   at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1537)
   at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7183)
   at android.view.Choreographer$CallbackRecord.run(Choreographer.java:959)
   at android.view.Choreographer.doCallbacks(Choreographer.java:734)
   at android.view.Choreographer.doFrame(Choreographer.java:670)
   at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:945)
   at android.os.Handler.handleCallback(Handler.java:751)
   at android.os.Handler.dispatchMessage(Handler.java:95)
   at android.os.Looper.loop(Looper.java:154)
   at android.os.HandlerThread.run(HandlerThread.java:61)

0 个答案:

没有答案