Note that there are some explanatory texts on larger screens.

plurals
  1. POandroid.view.ViewRootImpl.performTraversals
    primarykey
    data
    text
    <p>I have activity with MediaPlayer. But lots of users don`t like it because of crashes with exception:</p> <pre><code>java.lang.NullPointerException at android.os.Parcel.readException(Parcel.java:1333) at android.os.Parcel.readException(Parcel.java:1281) at android.view.IWindowSession$Stub$Proxy.relayout(IWindowSession.java:634) at android.view.ViewRootImpl.relayoutWindow(ViewRootImpl.java:3751) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1321) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2587) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) 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>I can not reproduce this bug on my device, but according to the user messages I am a bad developer:)) and this exception appear after few seconds when video playback starts. It is interesting that it keeps working even after Error report dialog was shown. </p> <p>Looking for a reason in android source code I found that it happens after transaction using iBinder.</p> <pre><code>mRemote.transact(Stub.TRANSACTION_relayout, _data, _reply, 0); _reply.readException(); </code></pre> <p>This code executed in performTraversalsMethod in ViewRootImpl using Runnable that scheduled in scheduleTraversals method. And it is hard to get context of execution of it. scheduleTraversals called in lots of methods (invalidate,handleScreenStateChange....).</p> <p>Any ideas?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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