zaguragit / posidon-launcher

a one-page homescreen with a news feed (discontinued)
GNU General Public License v3.0
287 stars 32 forks source link

Some crashes on 1.16 #43

Closed omm closed 4 years ago

omm commented 4 years ago

Hi!

Some crashes after upgrade, clean install: 1:

posidon launcher: crash stack trace
kotlin.KotlinNullPointerException

Device.api: 28
Device.brand: Sony
Device.model: G8441
Version.code: 64
Version.name: 1.16

at: posidon.launcher.Main$1$7.onDrag(Main.kt:344)
at: android.view.View.callDragEventHandler(View.java:24260)
at: android.view.View.dispatchDragEvent(View.java:24251)
at: android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1776)
at: android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:6371)
at: android.view.ViewRootImpl.access$1000(ViewRootImpl.java:138)
at: android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4250)
at: android.os.Handler.dispatchMessage(Handler.java:106)
at: android.os.Looper.loop(Looper.java:280)
at: android.app.ActivityThread.main(ActivityThread.java:6706)
at: java.lang.reflect.Method.invoke(Native Method)
at: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

2:

posidon launcher: crash stack trace
java.lang.RuntimeException: Unable to resume activity {posidon.launcher/posidon.launcher.Main}: java.lang.ClassCastException: android.graphics.drawable.ShapeDrawable cannot be cast to android.graphics.drawable.LayerDrawable

Device.api: 28
Device.brand: Sony
Device.model: G8441
Version.code: 64
Version.name: 1.16

at: android.app.ActivityThread.performResumeActivity(ActivityThread.java:3796)
at: android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3828)
at: android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at: android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at: android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1814)
at: android.os.Handler.dispatchMessage(Handler.java:106)
at: android.os.Looper.loop(Looper.java:280)
at: android.app.ActivityThread.main(ActivityThread.java:6706)
at: java.lang.reflect.Method.invoke(Native Method)
at: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
at: posidon.launcher.Main$1.invoke(Main.kt:311)
at: posidon.launcher.Main$1.invoke(Main.kt:62)
at: posidon.launcher.Main$2.invoke(Main.kt:376)
at: posidon.launcher.Main$2.invoke(Main.kt:62)
at: posidon.launcher.Main.onUpdate(Main.kt:961)
at: posidon.launcher.Main.onResume(Main.kt:929)
at: android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1413)
at: android.app.Activity.performResume(Activity.java:7292)
at: android.app.ActivityThread.performResumeActivity(ActivityThread.java:3788)
at: android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3828)
at: android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at: android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at: android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1814)
at: android.os.Handler.dispatchMessage(Handler.java:106)
at: android.os.Looper.loop(Looper.java:280)
at: android.app.ActivityThread.main(ActivityThread.java:6706)
at: java.lang.reflect.Method.invoke(Native Method)
at: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
omm commented 4 years ago

Ver 1.17, ok. Thanks.