Peko
Peko copied to clipboard
Sometimes PEKO fails with exception: java.lang.IllegalStateException
Used version: implementation 'com.markodevcic:peko:3.0.3'
Some Google play report: Device: samsung dm1q (Galaxy S23) Android: Android 13 (SDK 33) compileSdkVersion: 33 targetSdkVersion: 33 minSdkVersion: 24
Sometimes PEKO fails with exception:
Exception java.lang.IllegalStateException:
at com.markodevcic.peko.PekoActivity.onPostCreate (PekoActivity.kt:35)
at android.app.Instrumentation.callActivityOnPostCreate (Instrumentation.java:1458)
at android.app.ActivityThread.handleStartActivity (ActivityThread.java:4231)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2574)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8757)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
Looking into it, thanks for reporting!
Although I could not reproduce it, I refactor that part of the code. New release v3.0.4 should fix it
I can't to intentionally reproduce this behavior too. It seems to require some specific conditions. According to the documentation, there should be no problems, but Crashlytics shows that it sometimes happens. In an application with an audience of about 1000 users, this happens once every few weeks. But, thanks you for fixing, anyway.
Issue is still reproducible with latest version of peko library 3.0.4. Can you please check it ?
Thanks for letting me know, looking into it
@sherbaev can you please show me an example how you call the library? I am trying to reproduce this
Issue is still reproducible with latest version of peko library 3.0.4. Can you please check it ?
Confirm.
Can you please try the latest version (v3.0.5)?
Can you please try the latest version (v3.0.5)? I will try to update in upcoming releases and will let you know. Thank you for the awesome lib