trime
trime copied to clipboard
清理草稿时崩溃
--------- Build Info Build: null Date: 2022-09-05 16:44 UTC Commit: v3.2.8, 2022-08-18 22:35:50 +0800 Branch: null Repository: https://github.com/osfans/trime --------- Device Info App Package Name: com.osfans.trime App Version Name: 3.2.8 App Version Code: 20220901 OS Name: QKQ1.190910.002 V12.5.7.0.QFGCNXM OS Version: 4.4.192-perf+ (V12.5.7.0.QFGCNXM) OS API Level: 29 Device: lavender Model (product): Redmi Note 7 (lavender) Manufacturer: Xiaomi Tags: release-keys Screen Size: 1080 x 2340 Screen Density: 2.75 Screen orientation: Portrait --------- beginning of system W/Looper (11420): Slow Looper main: Long Msg: seq=4 plan=17:05:27.459 late=236ms wall=1239ms running=220ms runnable=6ms io=15ms h=android.app.ActivityThread$H w=114 W/Looper (11420): Slow Looper main: doFrame is 1288ms late because of 15 msg, msg 1 took 175ms (seq=3 running=132ms runnable=15ms late=74ms h=android.app.ActivityThread$H w=159), msg 2 took 1239ms (seq=4 running=220ms runnable=6ms io=15ms late=236ms h=android.app.ActivityThread$H w=114) W/Looper (11420): Slow Looper main: Activity com.osfans.trime/.ui.main.LogActivity is 1190ms late (wall=1ms running=2ms ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] }) because of 20 msg, msg 1 took 1239ms (seq=4 running=220ms runnable=6ms io=15ms late=236ms h=android.app.ActivityThread$H w=114), msg 15 took 73ms (seq=18 running=21ms runnable=3ms late=1288ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver) I/Timeline(11420): Timeline: Activity_launch_request time:395579493 W/ActivityThread(11420): SCHED: com.osfans.trime/.ui.main.LogActivity [83, r=711ms, a=138ms, w=14799ms] W/ActivityThread(11420): SCHED: com.osfans.trime/.ui.main.LogActivity [63, r=52ms, a=30ms, w=2180ms] W/ActivityThread(11420): SCHED: com.osfans.trime/.ui.main.LogActivity [83, r=20ms, a=4ms, w=696ms] I/Timeline(11420): Timeline: Activity_launch_request time:395636078 W/ActivityThread(11420): SCHED: com.osfans.trime/.PrefLauncherAlias [80, r=253ms, a=60ms, w=3218ms] --------- beginning of main W/ActivityThread(11420): handleWindowVisibility: no activity for token android.os.BinderProxy@10d6967 W/om.osfans.trim(11420): Accessing hidden field Landroid/animation/ValueAnimator;->sDurationScale:F (greylist-max-p, reflection, denied) W/System.err(11420): java.lang.NoSuchFieldException: No field sDurationScale in class Landroid/animation/ValueAnimator; (declaration of 'android.animation.ValueAnimator' appears in /system/framework/framework.jar) W/System.err(11420): at java.lang.Class.getDeclaredField(Native Method) W/System.err(11420): at com.blankj.utilcode.util.UtilsActivityLifecycleImpl.setAnimatorsEnabled(UtilsActivityLifecycleImpl.java:443) W/System.err(11420): at com.blankj.utilcode.util.UtilsActivityLifecycleImpl.onActivityCreated(UtilsActivityLifecycleImpl.java:209) W/System.err(11420): at android.app.Application.dispatchActivityCreated(Application.java:398) W/System.err(11420): at android.app.Activity.dispatchActivityCreated(Activity.java:1233) W/System.err(11420): at android.app.Activity.onCreate(Activity.java:1506) W/System.err(11420): at androidx.core.app.ComponentActivity.onCreate(ComponentActivity.java:85) W/System.err(11420): at androidx.activity.ComponentActivity.onCreate(ComponentActivity.java:323) W/System.err(11420): at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:249) W/System.err(11420): at com.osfans.trime.ui.main.LiquidKeyboardActivity.onCreate(LiquidKeyboardActivity.kt:31) W/System.err(11420): at android.app.Activity.performCreate(Activity.java:7893) W/System.err(11420): at android.app.Activity.performCreate(Activity.java:7880) W/System.err(11420): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307) W/System.err(11420): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3286) W/System.err(11420): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3460) W/System.err(11420): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) W/System.err(11420): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) W/System.err(11420): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) W/System.err(11420): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2047) W/System.err(11420): at android.os.Handler.dispatchMessage(Handler.java:107) W/System.err(11420): at android.os.Looper.loop(Looper.java:224) W/System.err(11420): at android.app.ActivityThread.main(ActivityThread.java:7590) W/System.err(11420): at java.lang.reflect.Method.invoke(Native Method) W/System.err(11420): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) W/System.err(11420): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f D/ViewContentFactory(11420): initViewContentFetcherClass I/ContentCatcher(11420): ViewContentFetcher : ViewContentFetcher D/ViewContentFactory(11420): createInterceptor took 0ms D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f I/chatty (11420): uid=10225(com.osfans.trime) identical 9 lines D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f I/UserDictAdatper(11420): set words.size=17 D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f I/chatty (11420): uid=10225(com.osfans.trime) identical 4 lines D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f I/chatty (11420): uid=10225(com.osfans.trime) identical 1 line D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f I/chatty (11420): uid=10225(com.osfans.trime) identical 25 lines D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f I/chatty (11420): uid=10225(com.osfans.trime) identical 1 line D/ForceDarkHelper(11420): updateByCheckExcludeList: pkg: com.osfans.trime activity: com.osfans.trime.ui.main.LiquidKeyboardActivity@5941e5f I/om.osfans.trim(11420): Background young concurrent copying GC freed 152410(8695KB) AllocSpace objects, 5(100KB) LOS objects, 38% free, 13MB/22MB, paused 911us total 106.397ms D/AndroidRuntime(11420): Shutting down VM --------- beginning of crash E/AndroidRuntime(11420): FATAL EXCEPTION: main E/AndroidRuntime(11420): Process: com.osfans.trime, PID: 11420 E/AndroidRuntime(11420): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewParent android.view.View.getParent()' on a null object reference E/AndroidRuntime(11420): at android.widget.AdapterView.getPositionForView(AdapterView.java:642) E/AndroidRuntime(11420): at com.osfans.trime.ui.main.LiquidKeyboardActivity.onCreate$lambda-0(LiquidKeyboardActivity.kt:66) E/AndroidRuntime(11420): at com.osfans.trime.ui.main.LiquidKeyboardActivity.$r8$lambda$-izjeRVSDTNUGZEd0bZAMtENYmE(Unknown Source:0) E/AndroidRuntime(11420): at com.osfans.trime.ui.main.LiquidKeyboardActivity$$ExternalSyntheticLambda0.onClick(Unknown Source:2) E/AndroidRuntime(11420): at android.view.View.performClick(View.java:7185) E/AndroidRuntime(11420): at android.view.View.performClickInternal(View.java:7162) E/AndroidRuntime(11420): at android.view.View.access$3500(View.java:819) E/AndroidRuntime(11420): at android.view.View$PerformClick.run(View.java:27678) E/AndroidRuntime(11420): at android.os.Handler.handleCallback(Handler.java:883) E/AndroidRuntime(11420): at android.os.Handler.dispatchMessage(Handler.java:100) E/AndroidRuntime(11420): at android.os.Looper.loop(Looper.java:224) E/AndroidRuntime(11420): at android.app.ActivityThread.main(ActivityThread.java:7590) E/AndroidRuntime(11420): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(11420): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) E/AndroidRuntime(11420): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) E/CustomActivityOnCrash(11420): App has crashed, executing CustomActivityOnCrash's UncaughtExceptionHandler E/CustomActivityOnCrash(11420): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewParent android.view.View.getParent()' on a null object reference E/CustomActivityOnCrash(11420): at android.widget.AdapterView.getPositionForView(AdapterView.java:642) E/CustomActivityOnCrash(11420): at com.osfans.trime.ui.main.LiquidKeyboardActivity.onCreate$lambda-0(LiquidKeyboardActivity.kt:66) E/CustomActivityOnCrash(11420): at com.osfans.trime.ui.main.LiquidKeyboardActivity.$r8$lambda$-izjeRVSDTNUGZEd0bZAMtENYmE(Unknown Source:0) E/CustomActivityOnCrash(11420): at com.osfans.trime.ui.main.LiquidKeyboardActivity$$ExternalSyntheticLambda0.onClick(Unknown Source:2) E/CustomActivityOnCrash(11420): at android.view.View.performClick(View.java:7185) E/CustomActivityOnCrash(11420): at android.view.View.performClickInternal(View.java:7162) E/CustomActivityOnCrash(11420): at android.view.View.access$3500(View.java:819) E/CustomActivityOnCrash(11420): at android.view.View$PerformClick.run(View.java:27678) E/CustomActivityOnCrash(11420): at android.os.Handler.handleCallback(Handler.java:883) E/CustomActivityOnCrash(11420): at android.os.Handler.dispatchMessage(Handler.java:100) E/CustomActivityOnCrash(11420): at android.os.Looper.loop(Looper.java:224) E/CustomActivityOnCrash(11420): at android.app.ActivityThread.main(ActivityThread.java:7590) E/CustomActivityOnCrash(11420): at java.lang.reflect.Method.invoke(Native Method) E/CustomActivityOnCrash(11420): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) E/CustomActivityOnCrash(11420): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) E/CustomActivityOnCrash(11420): Failed when resolving the restart activity class via getLaunchIntentForPackage, stack trace follows! E/CustomActivityOnCrash(11420): java.lang.ClassNotFoundException: com.osfans.trime.PrefLauncherAlias E/CustomActivityOnCrash(11420): at java.lang.Class.classForName(Native Method) E/CustomActivityOnCrash(11420): at java.lang.Class.forName(Class.java:454) E/CustomActivityOnCrash(11420): at java.lang.Class.forName(Class.java:379) E/CustomActivityOnCrash(11420): at cat.ereza.customactivityoncrash.CustomActivityOnCrash.getLauncherActivity(CustomActivityOnCrash.java:648) E/CustomActivityOnCrash(11420): at cat.ereza.customactivityoncrash.CustomActivityOnCrash.guessRestartActivityClass(CustomActivityOnCrash.java:602) E/CustomActivityOnCrash(11420): at cat.ereza.customactivityoncrash.CustomActivityOnCrash.lambda$install$0(CustomActivityOnCrash.java:177) E/CustomActivityOnCrash(11420): at cat.ereza.customactivityoncrash.CustomActivityOnCrash$$ExternalSyntheticLambda0.uncaughtException(Unknown Source:2) E/CustomActivityOnCrash(11420): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073) E/CustomActivityOnCrash(11420): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068) E/CustomActivityOnCrash(11420): at java.lang.Thread.dispatchUncaughtException(Thread.java:2187) E/CustomActivityOnCrash(11420): Caused by: java.lang.ClassNotFoundException: com.osfans.trime.PrefLauncherAlias E/CustomActivityOnCrash(11420): ... 10 more I/Timeline(11420): Timeline: Activity_launch_request time:395641933 I/Process (11420): Sending signal. PID: 11420 SIG: 9
--------- Build Info Build: null Date: 2022-09-05 16:44 UTC Commit: v3.2.8, 2022-08-18 22:35:50 +0800 Branch: null Repository: https://github.com/osfans/trime --------- Device Info App Package Name: com.osfans.trime App Version Name: 3.2.8 App Version Code: 20220901 OS Name: QKQ1.190910.002 V12.5.7.0.QFGCNXM OS Version: 4.4.192-perf+ (V12.5.7.0.QFGCNXM) OS API Level: 29 Device: lavender Model (product): Redmi Note 7 (lavender) Manufacturer: Xiaomi Tags: release-keys Screen Size: 1080 x 2340 Screen Density: 2.75 Screen orientation: Portrait --------- beginning of system W/Looper (10050): Slow Looper main: Long Msg: seq=3 plan=14:40:07.380 late=229ms wall=1987ms running=348ms runnable=69ms io=55ms h=android.app.ActivityThread$H w=114 W/InputEventReceiver(10050): App Input: Dispatching InputEvent took 128ms in main thread! (MotionEvent: event_seq=2635, seq=4103111, action=ACTION_UP) W/InputEventReceiver(10050): App Input: Dispatching InputEvent took 109ms in main thread! (MotionEvent: event_seq=2659, seq=4103135, action=ACTION_UP) --------- beginning of main W/TextToSpeech(10050): setLanguage failed: not bound to TTS engine W/TextToSpeech(10050): setLanguage failed: not bound to TTS engine W/TextToSpeech(10050): setLanguage failed: not bound to TTS engine I/Timeline(10050): Timeline: Activity_launch_request time:395277655 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [83, r=258ms, a=52ms, w=5290ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [75, r=39ms, a=13ms, w=1228ms] I/Timeline(10050): Timeline: Activity_launch_request time:395279702 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [89, r=26ms, a=3ms, w=745ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [83, r=5125ms, a=986ms, w=48049ms] I/Timeline(10050): Timeline: Activity_launch_request time:395328635 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [78, r=25ms, a=7ms, w=833ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [66, r=138ms, a=69ms, w=9259ms] I/Timeline(10050): Timeline: Activity_launch_request time:395338727 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [74, r=26ms, a=9ms, w=766ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [80, r=29ms, a=7ms, w=736ms] I/Timeline(10050): Timeline: Activity_launch_request time:395360947 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [74, r=252ms, a=88ms, w=21424ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [68, r=47ms, a=22ms, w=2122ms] I/Timeline(10050): Timeline: Activity_launch_request time:395364900 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [78, r=61ms, a=17ms, w=1766ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [67, r=43ms, a=21ms, w=1699ms] I/Timeline(10050): Timeline: Activity_launch_request time:395367530 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [80, r=29ms, a=7ms, w=867ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [76, r=32ms, a=10ms, w=930ms] I/Timeline(10050): Timeline: Activity_launch_request time:395369169 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [72, r=26ms, a=10ms, w=646ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [73, r=28ms, a=10ms, w=556ms] I/Timeline(10050): Timeline: Activity_launch_request time:395382949 W/ActivityThread(10050): SCHED: com.osfans.trime/.PrefLauncherAlias [71, r=210ms, a=83ms, w=13178ms] W/ActivityThread(10050): SCHED: com.osfans.trime/.ui.main.LiquidKeyboardActivity [87, r=15600ms, a=2141ms, w=93928ms] D/AndroidRuntime(10050): Shutting down VM --------- beginning of crash E/AndroidRuntime(10050): FATAL EXCEPTION: main E/AndroidRuntime(10050): Process: com.osfans.trime, PID: 10050 E/AndroidRuntime(10050): java.lang.IndexOutOfBoundsException: Index: 16, Size: 16 E/AndroidRuntime(10050): at java.util.ArrayList.get(ArrayList.java:437) E/AndroidRuntime(10050): at com.osfans.trime.ime.symbol.CheckableAdatper.remove(CheckableAdatper.java:49) E/AndroidRuntime(10050): at com.osfans.trime.ui.main.LiquidKeyboardActivity.onCreate$lambda-0(LiquidKeyboardActivity.kt:68) E/AndroidRuntime(10050): at com.osfans.trime.ui.main.LiquidKeyboardActivity.$r8$lambda$-izjeRVSDTNUGZEd0bZAMtENYmE(Unknown Source:0) E/AndroidRuntime(10050): at com.osfans.trime.ui.main.LiquidKeyboardActivity$$ExternalSyntheticLambda0.onClick(Unknown Source:2) E/AndroidRuntime(10050): at android.view.View.performClick(View.java:7185) E/AndroidRuntime(10050): at android.view.View.performClickInternal(View.java:7162) E/AndroidRuntime(10050): at android.view.View.access$3500(View.java:819) E/AndroidRuntime(10050): at android.view.View$PerformClick.run(View.java:27678) E/AndroidRuntime(10050): at android.os.Handler.handleCallback(Handler.java:883) E/AndroidRuntime(10050): at android.os.Handler.dispatchMessage(Handler.java:100) E/AndroidRuntime(10050): at android.os.Looper.loop(Looper.java:224) E/AndroidRuntime(10050): at android.app.ActivityThread.main(ActivityThread.java:7590) E/AndroidRuntime(10050): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(10050): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) E/AndroidRuntime(10050): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) E/CustomActivityOnCrash(10050): App has crashed, executing CustomActivityOnCrash's UncaughtExceptionHandler E/CustomActivityOnCrash(10050): java.lang.IndexOutOfBoundsException: Index: 16, Size: 16 E/CustomActivityOnCrash(10050): at java.util.ArrayList.get(ArrayList.java:437) E/CustomActivityOnCrash(10050): at com.osfans.trime.ime.symbol.CheckableAdatper.remove(CheckableAdatper.java:49) E/CustomActivityOnCrash(10050): at com.osfans.trime.ui.main.LiquidKeyboardActivity.onCreate$lambda-0(LiquidKeyboardActivity.kt:68) E/CustomActivityOnCrash(10050): at com.osfans.trime.ui.main.LiquidKeyboardActivity.$r8$lambda$-izjeRVSDTNUGZEd0bZAMtENYmE(Unknown Source:0) E/CustomActivityOnCrash(10050): at com.osfans.trime.ui.main.LiquidKeyboardActivity$$ExternalSyntheticLambda0.onClick(Unknown Source:2) E/CustomActivityOnCrash(10050): at android.view.View.performClick(View.java:7185) E/CustomActivityOnCrash(10050): at android.view.View.performClickInternal(View.java:7162) E/CustomActivityOnCrash(10050): at android.view.View.access$3500(View.java:819) E/CustomActivityOnCrash(10050): at android.view.View$PerformClick.run(View.java:27678) E/CustomActivityOnCrash(10050): at android.os.Handler.handleCallback(Handler.java:883) E/CustomActivityOnCrash(10050): at android.os.Handler.dispatchMessage(Handler.java:100) E/CustomActivityOnCrash(10050): at android.os.Looper.loop(Looper.java:224) E/CustomActivityOnCrash(10050): at android.app.ActivityThread.main(ActivityThread.java:7590) E/CustomActivityOnCrash(10050): at java.lang.reflect.Method.invoke(Native Method) E/CustomActivityOnCrash(10050): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) E/CustomActivityOnCrash(10050): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) E/CustomActivityOnCrash(10050): Failed when resolving the restart activity class via getLaunchIntentForPackage, stack trace follows! E/CustomActivityOnCrash(10050): java.lang.ClassNotFoundException: com.osfans.trime.PrefLauncherAlias E/CustomActivityOnCrash(10050): at java.lang.Class.classForName(Native Method) E/CustomActivityOnCrash(10050): at java.lang.Class.forName(Class.java:454) E/CustomActivityOnCrash(10050): at java.lang.Class.forName(Class.java:379) E/CustomActivityOnCrash(10050): at cat.ereza.customactivityoncrash.CustomActivityOnCrash.getLauncherActivity(CustomActivityOnCrash.java:648) E/CustomActivityOnCrash(10050): at cat.ereza.customactivityoncrash.CustomActivityOnCrash.guessRestartActivityClass(CustomActivityOnCrash.java:602) E/CustomActivityOnCrash(10050): at cat.ereza.customactivityoncrash.CustomActivityOnCrash.lambda$install$0(CustomActivityOnCrash.java:177) E/CustomActivityOnCrash(10050): at cat.ereza.customactivityoncrash.CustomActivityOnCrash$$ExternalSyntheticLambda0.uncaughtException(Unknown Source:2) E/CustomActivityOnCrash(10050): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073) E/CustomActivityOnCrash(10050): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068) E/CustomActivityOnCrash(10050): at java.lang.Thread.dispatchUncaughtException(Thread.java:2187) E/CustomActivityOnCrash(10050): Caused by: java.lang.ClassNotFoundException: com.osfans.trime.PrefLauncherAlias E/CustomActivityOnCrash(10050): ... 10 more I/Timeline(10050): Timeline: Activity_launch_request time:395564344 I/Process (10050): Sending signal. PID: 10050 SIG: 9
The root cause is that Trime cannot handle the invalid deletion command when the draft is actually empty.
Trime would get the same error with a 100% recurrence rate (!) when pressing the Delete
button in draft data window.
And with latest v3.2.9, Trime would directly exit when the user tries to enter an empty Draft Manager (or with draft disabled?). 😕
我这个崩溃是什么原因, 请大佬来
App Package Name: com.osfans.trime
App Version Name: 3.2.10
App Version Code: 20230101
OS Name: QP1A.190711.020
OS Version: 4.14.141-g699d347 (V12.0.9.0.QJECNXM)
OS API Level: 29
Device: cannon
Model (product): M2007J22C (cannon)
Manufacturer: Xiaomi
Tags: release-keys
Screen Size: 1080 x 2340
Screen Density: 2.75
Screen orientation: Portrait
--------- beginning of system
W/Looper (22237): PerfMonitor longMsg : seq=3 plan=23:40:53.260 late=41ms wall=1117ms running=241ms runnable=1ms io=2ms h=android.app.ActivityThread$H w=114 procState=-1
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 101ms in main thread! (MotionEvent: event_seq=2631, seq=1134386, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 136ms in main thread! (MotionEvent: event_seq=2639, seq=1134397, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 143ms in main thread! (MotionEvent: event_seq=2665, seq=1134432, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 120ms in main thread! (MotionEvent: event_seq=3721, seq=1149185, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 115ms in main thread! (MotionEvent: event_seq=3743, seq=1149215, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 110ms in main thread! (MotionEvent: event_seq=3753, seq=1149232, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 109ms in main thread! (MotionEvent: event_seq=3933, seq=1150390, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 110ms in main thread! (MotionEvent: event_seq=4003, seq=1151190, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 112ms in main thread! (MotionEvent: event_seq=4017, seq=1151219, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 101ms in main thread! (MotionEvent: event_seq=4031, seq=1151245, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 114ms in main thread! (MotionEvent: event_seq=4045, seq=1151264, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 107ms in main thread! (MotionEvent: event_seq=4141, seq=1151406, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 106ms in main thread! (MotionEvent: event_seq=4533, seq=1151973, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 110ms in main thread! (MotionEvent: event_seq=4599, seq=1152085, action=ACTION_UP)
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 103ms in main thread! (MotionEvent: event_seq=4952, seq=1161828, action=ACTION_UP)
--------- beginning of main
D/Surface (22237): Surface::connect(this=0x7ce2e7f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e7f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e7f000)
I/rime.trime(22237): Oops, got a futile translation.
I/rime.trime(22237): Oops, got a futile translation.
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 103ms in main thread! (MotionEvent: event_seq=5253, seq=1162193, action=ACTION_UP)
D/ViewRootImplPopupWindow:6d2ac97: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2f3f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2f3f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2f3f000)
D/Surface (22237): Surface::disconnect(this=0x7ce2e7f000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{43e0f47 V.E...... R.....I. 0,0-110,165}
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e7f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e7f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e7f000)
I/rime.trime(22237): Oops, got a futile translation.
I/rime.trime(22237): Oops, got a futile translation.
D/Surface (22237): Surface::disconnect(this=0x7ce2f3f000,api=1)
D/Surface (22237): Surface::connect(this=0x7ce2f3f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2f3f000,bufferCount=3)
D/Surface (22237): Surface::disconnect(this=0x7ce2e7f000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{6b40d3 V.E...... R.....I. 0,0-110,165}
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e7f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e7f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e7f000)
I/rime.trime(22237): Oops, got a futile translation.
I/rime.trime(22237): Oops, got a futile translation.
D/Surface (22237): Surface::disconnect(this=0x7ce2f3f000,api=1)
D/Surface (22237): Surface::connect(this=0x7ce2f3f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2f3f000,bufferCount=3)
D/Surface (22237): Surface::disconnect(this=0x7ce2e7f000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{a8a2a1f V.E...... R.....I. 0,0-110,165}
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e7f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e7f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e7f000)
I/rime.trime(22237): Oops, got a futile translation.
W/InputEventReceiver(22237): App Input: Dispatching InputEvent took 111ms in main thread! (MotionEvent: event_seq=5279, seq=1162238, action=ACTION_UP)
D/Surface (22237): Surface::disconnect(this=0x7ce2f3f000,api=1)
D/Surface (22237): Surface::connect(this=0x7ce2f3f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2f3f000,bufferCount=3)
D/Surface (22237): Surface::disconnect(this=0x7ce2e7f000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{f82f72b V.E...... R.....I. 0,0-110,165}
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e7f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e7f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e7f000)
D/Surface (22237): Surface::disconnect(this=0x7ce2f3f000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{c1f7d46 V.E...... R......D 0,0-206,94}
D/Surface (22237): Surface::disconnect(this=0x7ce2e7f000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{6e9434 V.E...... R....... 0,0-255,165}
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 8, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::disconnect(this=0x7ce304f000,api=1)
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::connect(this=0x7ce304f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce304f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce304f000)
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce3051000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce3051000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce3051000)
D/Surface (22237): Surface::disconnect(this=0x7ce3051000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{a7abfa0 V.E...... R....... 0,0-255,165}
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 8, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::disconnect(this=0x7ce304f000,api=1)
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::connect(this=0x7ce304f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce304f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce304f000)
I/rime.trime(22237): updated option: ascii_mode
W/TextToSpeech(22237): setLanguage failed: not bound to TTS engine
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e9c000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e9c000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e9c000)
I/rime.trime(22237): updated option: ascii_mode
W/TextToSpeech(22237): setLanguage failed: not bound to TTS engine
D/Surface (22237): Surface::disconnect(this=0x7ce2e9c000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{822df2a V.E...... R.....I. 0,0-220,165}
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e9c000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e9c000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e9c000)
D/Surface (22237): Surface::disconnect(this=0x7ce2e9c000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{467c3f6 V.E...... R.....I. 0,0-110,165}
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e9c000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e9c000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e9c000)
D/Surface (22237): Surface::disconnect(this=0x7ce2e9c000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{7442982 V.E...... R.....I. 0,0-220,165}
D/ViewRootImplPopupWindow:c782760: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/Surface (22237): Surface::connect(this=0x7ce2e9c000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce2e9c000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce2e9c000)
D/Surface (22237): Surface::disconnect(this=0x7ce2e9c000,api=1)
D/View (22237): [Warning] assignParent to null: this = android.widget.PopupWindow$PopupDecorView{78f5bce V.E...... R....... 0,0-110,165}
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 8, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::disconnect(this=0x7ce304f000,api=1)
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::connect(this=0x7ce304f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce304f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce304f000)
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 8, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::disconnect(this=0x7ce304f000,api=1)
V/PhoneWindow(22237): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@c4dd531, this = DecorView@8fee416[InputMethod]
D/Surface (22237): Surface::connect(this=0x7ce304f000,api=1)
D/mali_winsys(22237): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22237): Surface::setBufferCount(this=0x7ce304f000,bufferCount=3)
D/Surface (22237): Surface::allocateBuffers(this=0x7ce304f000)
I/rime.trime(22237): updated option: _key_liquid_keyboard_clipboard
I/rime.trime(22237): updated option: _key_liquid_keyboard_clipboard
W/System.err(22237): java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.osfans.trime/files/key_history: open failed: ENOENT (No such file or directory)
W/System.err(22237): at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err(22237): at java.io.FileInputStream.
崩溃原因和我在 https://github.com/osfans/trime/issues/852#issuecomment-1308320632 提到的一样,但 v3.2.10 已无法复现,draft manager 也没有了,应该已经修好了。
E/CustomActivityOnCrash(22237): Failed when resolving the restart activity class via getLaunchIntentForPackage, stack trace follows!
E/CustomActivityOnCrash(22237): java.lang.ClassNotFoundException: com.osfans.trime.PrefLauncherAlias
E/CustomActivityOnCrash(22237): at java.lang.Class.classForName(Native Method)
...