Note that there are some explanatory texts on larger screens.

plurals
  1. POApp Crashes Only When in Emulator
    primarykey
    data
    text
    <p>My app crashes when I try to launch a new activity. The stack trace does not show anything from my code. I have tested it in both the 1.6 emulator and the 2.1 emulator and it crashes in both situations however it runs on a 2.2 device. Does anyone know what could make the emulator crash like this?</p> <p><strong>Stacktrace</strong></p> <pre><code>01-13 16:18:33.232: E/AndroidRuntime(284): Uncaught handler: thread main exiting due to uncaught exception 01-13 16:18:33.232: E/AndroidRuntime(284): java.lang.NullPointerException 01-13 16:18:33.232: E/AndroidRuntime(284): at android.widget.TabHost.dispatchWindowFocusChanged(TabHost.java:292) 01-13 16:18:33.232: E/AndroidRuntime(284): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:659) 01-13 16:18:33.232: E/AndroidRuntime(284): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:659) 01-13 16:18:33.232: E/AndroidRuntime(284): at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:659) 01-13 16:18:33.232: E/AndroidRuntime(284): at android.view.ViewRoot.handleMessage(ViewRoot.java:1782) 01-13 16:18:33.232: E/AndroidRuntime(284): at android.os.Handler.dispatchMessage(Handler.java:99) 01-13 16:18:33.232: E/AndroidRuntime(284): at android.os.Looper.loop(Looper.java:123) 01-13 16:18:33.232: E/AndroidRuntime(284): at android.app.ActivityThread.main(ActivityThread.java:4203) 01-13 16:18:33.232: E/AndroidRuntime(284): at java.lang.reflect.Method.invokeNative(Native Method) 01-13 16:18:33.232: E/AndroidRuntime(284): at java.lang.reflect.Method.invoke(Method.java:521) 01-13 16:18:33.232: E/AndroidRuntime(284): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) 01-13 16:18:33.232: E/AndroidRuntime(284): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 01-13 16:18:33.232: E/AndroidRuntime(284): at dalvik.system.NativeStart.main(Native Method) 01-13 16:18:33.242: I/dalvikvm(284): threadid=7: reacting to signal 3 01-13 16:18:33.422: I/dalvikvm(284): Wrote stack trace to '/data/anr/traces.txt' </code></pre>
    singulars
    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.
 

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