Note that there are some explanatory texts on larger screens.

plurals
  1. PONullPointerException in handleStopActivity -- No reference to my code in stack trace
    text
    copied!<p>I'm a bit at a loss, here. I've been seeing a steadily increasing number of these <code>NullPointerException</code>s in <code>handleStopActivity</code>. I suspect that the increase coinicides with the increase in 2.2 upgrades to Droid owners, though that's just a guess. I've never seen the crash myself, and the stack trace provided by the market does not mention any of the classes I've written. As such, I have no idea where to start in fixing the problem.</p> <pre><code>java.lang.NullPointerException at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3674) at android.app.ActivityThread.access$2600(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2153) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:144) at android.app.ActivityThread.main(ActivityThread.java:4937) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) at dalvik.system.NativeStart.main(Native Method) </code></pre> <p>Since I don't know the cause, I also don't know what information to provide to aid in diagnosis, so I'll give an overiew: My app is WootWatcher. It tracks Woot.com and notifies users of new items for sale. It does this by means of a service that runs in a separate process. The service and the main activity communicate with each other via aidl interface and callback. I also make use of message handlers in both the service and activity, and frequently spawn threads for expensive tasks. </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