Exception java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4164)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:4322)
at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:139)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:96)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2685)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8919)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
Caused by java.lang.IllegalThreadStateException:
at java.lang.Thread.start (Thread.java:960)
at com.alembrum.ZildoActivity.onCreate (ZildoActivity.java:177)
at android.app.Activity.performCreate (Activity.java:8975)
at android.app.Activity.performCreate (Activity.java:8944)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1456)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4146)
Seems to be a problem with client thread. We try to start it although it already has. This shouldn't not happen, but we probably need to enforce that.
Possibilities:
synchronize along clientThread
make additional test on thread itself, on its state especially
Happened on Android 14 (SDK 34) for 2 users:
Seems to be a problem with client thread. We try to start it although it already has. This shouldn't not happen, but we probably need to enforce that. Possibilities: