saravanarajan / android-remote-stacktrace

Automatically exported from code.google.com/p/android-remote-stacktrace
0 stars 0 forks source link

Thread throws IllegalThreadStateException #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Tough to reproduce consistently, but here's my best description:
1. Open/close the keyboard while an operation is running, perhaps while
it's already transmitting another stacktrace?

What is the expected output? What do you see instead?
The application crashes completely. Here's a stacktrace that comes back
from `adb logcat` :
D/UNHANDLED_EXCEPTION( 2719): java.lang.RuntimeException: Unable to start
activity ComponentInfo{MY_ACTIVITY_REMOVED}:
java.lang.IllegalThreadStateException: Group already destroyed
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2141)
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2157)
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3087)
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.ActivityThread.access$1900(ActivityThread.java:112)
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1585)
D/UNHANDLED_EXCEPTION( 2719):   at
android.os.Handler.dispatchMessage(Handler.java:88)
D/UNHANDLED_EXCEPTION( 2719):   at android.os.Looper.loop(Looper.java:123)
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.ActivityThread.main(ActivityThread.java:3739)
D/UNHANDLED_EXCEPTION( 2719):   at
java.lang.reflect.Method.invokeNative(Native Method)
D/UNHANDLED_EXCEPTION( 2719):   at
java.lang.reflect.Method.invoke(Method.java:515)
D/UNHANDLED_EXCEPTION( 2719):   at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
D/UNHANDLED_EXCEPTION( 2719):   at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
D/UNHANDLED_EXCEPTION( 2719):   at dalvik.system.NativeStart.main(Native Method)
D/UNHANDLED_EXCEPTION( 2719): Caused by:
java.lang.IllegalThreadStateException: Group already destroyed
D/UNHANDLED_EXCEPTION( 2719):   at java.lang.Thread.create(Thread.java:429)
D/UNHANDLED_EXCEPTION( 2719):   at java.lang.Thread.<init>(Thread.java:192)
D/UNHANDLED_EXCEPTION( 2719):   at
com.nullwire.trace.ExceptionHandler$1.<init>(ExceptionHandler.java:61)
D/UNHANDLED_EXCEPTION( 2719):   at
com.nullwire.trace.ExceptionHandler.register(ExceptionHandler.java:61)
D/UNHANDLED_EXCEPTION( 2719):   at
com.nullwire.trace.ExceptionHandler.register(ExceptionHandler.java:85)
D/UNHANDLED_EXCEPTION( 2719):   at
MY_ACTIVITY_REMOVED.onCreate(MY_ACTIVITY_JAVA_FILE:59)
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1122)
D/UNHANDLED_EXCEPTION( 2719):   at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2104)
D/UNHANDLED_EXCEPTION( 2719):   ... 12 more

Original issue reported on code.google.com by evancharlton on 22 Mar 2009 at 3:57

GoogleCodeExporter commented 9 years ago
I have updated the library to version 0.2.0. I believe this issue should be 
fixed as I 
am now letting the operating system handle the thread destruction in its own 
Exception 
handler.

Original comment by m.krichi...@gmail.com on 25 Jun 2009 at 6:18