App crashes during splash screen on MIUI 7

14 posts
Re: App crashes during splash screen on MIUI 7

mwind
New MMEX User

Posts: 5
Joined: Sun May 22, 2016 10:06 am
In the version 2016.09.14.913-beta it seems to have the same problem. Here is the logcat:

Code: Select all
09-15 10:16:24.772 1534-2119/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity bnds=[825,390][1017,582] (has extras)} from uid 10025 on display 0
09-15 10:16:24.818 1534-1968/? I/ActivityManager: Start proc 7154:com.money.manager.ex.beta/u0a100 for activity com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity
09-15 10:16:24.937 2824-3056/? D/PowerKeeperEventLogManager: notifyForegroundCompomentChanged ComponentInfo{com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity}
09-15 10:16:25.084 7154-7154/? W/System: ClassLoader referenced unknown path: /data/app/com.money.manager.ex.beta-2/lib/arm64
09-15 10:16:25.169 7154-7154/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                 Process: com.money.manager.ex.beta, PID: 7154
                                                 java.lang.NoSuchMethodError: No static method a(Ljava/lang/CharSequence;)Z in class Lorg/apache/commons/lang3/StringUtils; or its super classes (declaration of 'org.apache.commons.lang3.StringUtils' appears in /system/framework/framework.jar:classes2.dex)
                                                     at com.money.manager.ex.database.QueryReportIncomeVsExpenses.a(SourceFile:50)
                                                     at com.money.manager.ex.database.QueryReportIncomeVsExpenses.<init>(SourceFile:34)
                                                     at com.money.manager.ex.MmxContentProvider.onCreate(SourceFile:108)
                                                     at android.content.ContentProvider.attachInfo(ContentProvider.java)
                                                     at android.content.ContentProvider.attachInfo(ContentProvider.java)
                                                     at android.app.ActivityThread.installProvider(ActivityThread.java)
                                                     at android.app.ActivityThread.installContentProviders(ActivityThread.java)
                                                     at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
                                                     at android.app.ActivityThread.access$1600(ActivityThread.java)
                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
                                                     at android.os.Handler.dispatchMessage(Handler.java)
                                                     at android.os.Looper.loop(Looper.java)
                                                     at android.app.ActivityThread.main(ActivityThread.java)
                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
09-15 10:16:25.171 2498-2834/? W/KloServer: Aborted broadcast does not supprt for: com.money.manager.ex.beta
09-15 10:16:25.176 1534-2504/? W/ActivityManager:   Force finishing activity com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity
09-15 10:16:25.690 1534-1561/? W/ActivityManager: Activity pause timeout for ActivityRecord{f759a3 u0 com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity t727 f}
                                                  
                                                  [ 09-15 10:16:25.705  1534: 1561 E/         ]
                                                  WFDMMServiceClient ctor Context = 0x0, Cb = 0x0
                                                  
                                                  [ 09-15 10:16:25.705  1534: 1561 E/         ]
                                                  getWFDMMServiceInstance get new Instance
                                                  
                                                  [ 09-15 10:16:25.706  1534: 1561 E/         ]
                                                  Service not available yet
                                                  
                                                  [ 09-15 10:16:25.706  1534: 1561 E/         ]
                                                  WFDMMServiceClient::~WFDMMServiceClient
                                                  
                                                  [ 09-15 10:16:25.715  1534: 1561 E/         ]
                                                  WFDMMServiceClient ctor Context = 0x0, Cb = 0x0
                                                  
                                                  [ 09-15 10:16:25.715  1534: 1561 E/         ]
                                                  getWFDMMServiceInstance get new Instance
                                                  
                                                  [ 09-15 10:16:25.716  1534: 1561 E/         ]
                                                  Service not available yet
                                                  
                                                  [ 09-15 10:16:25.716  1534: 1561 E/         ]
                                                  WFDMMServiceClient::~WFDMMServiceClient
09-15 10:16:28.038 1534-1968/? I/ActivityManager: Process com.money.manager.ex.beta (pid 7154) has died
Re: App crashes during splash screen on MIUI 7
User avatar
MisterY
Super MMEX User

Posts: 138
Joined: Sat Jan 24, 2015 2:11 pm
mwind wrote:In the version 2016.09.14.913-beta it seems to have the same problem. Here is the logcat:

Code: Select all
09-15 10:16:24.772 1534-2119/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity bnds=[825,390][1017,582] (has extras)} from uid 10025 on display 0
09-15 10:16:24.818 1534-1968/? I/ActivityManager: Start proc 7154:com.money.manager.ex.beta/u0a100 for activity com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity
09-15 10:16:24.937 2824-3056/? D/PowerKeeperEventLogManager: notifyForegroundCompomentChanged ComponentInfo{com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity}
09-15 10:16:25.084 7154-7154/? W/System: ClassLoader referenced unknown path: /data/app/com.money.manager.ex.beta-2/lib/arm64
09-15 10:16:25.169 7154-7154/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                 Process: com.money.manager.ex.beta, PID: 7154
                                                 java.lang.NoSuchMethodError: No static method a(Ljava/lang/CharSequence;)Z in class Lorg/apache/commons/lang3/StringUtils; or its super classes (declaration of 'org.apache.commons.lang3.StringUtils' appears in /system/framework/framework.jar:classes2.dex)
                                                     at com.money.manager.ex.database.QueryReportIncomeVsExpenses.a(SourceFile:50)
                                                     at com.money.manager.ex.database.QueryReportIncomeVsExpenses.<init>(SourceFile:34)
                                                     at com.money.manager.ex.MmxContentProvider.onCreate(SourceFile:108)
                                                     at android.content.ContentProvider.attachInfo(ContentProvider.java)
                                                     at android.content.ContentProvider.attachInfo(ContentProvider.java)
                                                     at android.app.ActivityThread.installProvider(ActivityThread.java)
                                                     at android.app.ActivityThread.installContentProviders(ActivityThread.java)
                                                     at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
                                                     at android.app.ActivityThread.access$1600(ActivityThread.java)
                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
                                                     at android.os.Handler.dispatchMessage(Handler.java)
                                                     at android.os.Looper.loop(Looper.java)
                                                     at android.app.ActivityThread.main(ActivityThread.java)
                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
09-15 10:16:25.171 2498-2834/? W/KloServer: Aborted broadcast does not supprt for: com.money.manager.ex.beta
09-15 10:16:25.176 1534-2504/? W/ActivityManager:   Force finishing activity com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity
09-15 10:16:25.690 1534-1561/? W/ActivityManager: Activity pause timeout for ActivityRecord{f759a3 u0 com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity t727 f}
                                                  
                                                  [ 09-15 10:16:25.705  1534: 1561 E/         ]
                                                  WFDMMServiceClient ctor Context = 0x0, Cb = 0x0
                                                  
                                                  [ 09-15 10:16:25.705  1534: 1561 E/         ]
                                                  getWFDMMServiceInstance get new Instance
                                                  
                                                  [ 09-15 10:16:25.706  1534: 1561 E/         ]
                                                  Service not available yet
                                                  
                                                  [ 09-15 10:16:25.706  1534: 1561 E/         ]
                                                  WFDMMServiceClient::~WFDMMServiceClient
                                                  
                                                  [ 09-15 10:16:25.715  1534: 1561 E/         ]
                                                  WFDMMServiceClient ctor Context = 0x0, Cb = 0x0
                                                  
                                                  [ 09-15 10:16:25.715  1534: 1561 E/         ]
                                                  getWFDMMServiceInstance get new Instance
                                                  
                                                  [ 09-15 10:16:25.716  1534: 1561 E/         ]
                                                  Service not available yet
                                                  
                                                  [ 09-15 10:16:25.716  1534: 1561 E/         ]
                                                  WFDMMServiceClient::~WFDMMServiceClient
09-15 10:16:28.038 1534-1968/? I/ActivityManager: Process com.money.manager.ex.beta (pid 7154) has died
Thank you for the log. That's correct, although strange that the Apache Common Utils methods are not found.
I will replace these calls in the next Beta version later today. Let's try again.
Re: App crashes during splash screen on MIUI 7

mouzzza
New MMEX User

Posts: 3
Joined: Sun Sep 11, 2016 4:35 am
v914 is starting now!

Now there is another problem. Settings->Sync is crashing. So i can't set Dropbox as database.

Code: Select all
09-15 18:42:48.304  2332  2363 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{2bd8215f u0
com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity t474} time:10910633
09-15 18:42:50.684  2332  4117 I ActivityManager: START u0 {cmp=com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity} from uid 10144 on display 0
09-15 18:42:50.964  2332  2363 I ActivityManager: Displayed com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity: +258ms
09-15 18:42:50.984  2332  2363 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{3c49a10f u0
com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity t474} time:10913311
09-15 18:42:52.374  2332  3602 I ActivityManager: START u0 {cmp=com.money.manager.ex.beta/com.money.manager.ex.settings.SyncPreferencesActivity} from uid 10144 on display 0
09-15 18:42:52.584 14471 14471 E AndroidRuntime: Process: com.money.manager.ex.beta, PID: 14471
09-15 18:42:52.584 14471 14471 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.money.manager.ex.beta/com.money.manager.ex.settings.SyncPreferencesActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.joda.time.DateTime.toString()' on a null object reference
09-15 18:42:52.584  2332  4150 W ActivityManager:   Force finishing activity 1 com.money.manager.ex.beta/com.money.manager.ex.settings.SyncPreferencesActivity
09-15 18:42:52.584  3556  3857 I XiaomiFirewall: firewall pkgName:com.money.manager.ex.beta, result:0x0
09-15 18:42:52.594  2332  4150 W ActivityManager:   Force finishing activity 2 com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity
09-15 18:42:52.644  2332  3647 I WindowState: WIN DEATH: Window{1b2529d3 u0 com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity}
09-15 18:42:52.644  2332  3258 W InputDispatcher: channel '16893f2b com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
09-15 18:42:52.644  2332  3258 E InputDispatcher: channel '16893f2b com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
09-15 18:42:52.644  2332  3602 W InputDispatcher: Attempted to unregister already unregistered input channel '16893f2b
com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity (server)'
09-15 18:42:52.644  2332  3602 I WindowState: WIN DEATH: Window{16893f2b u0 com.money.manager.ex.beta/com.money.manager.ex.settings.SettingsActivity}
09-15 18:42:52.754  2332  4210 I ActivityManager: Process com.money.manager.ex.beta (pid 14471) has died
09-15 18:42:52.824  2332  4210 I ActivityManager: Start proc 15360:com.money.manager.ex.beta/u0a144 for activity com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity
09-15 18:42:53.494  3556  3857 I XiaomiFirewall: firewall pkgName:com.money.manager.ex.beta, result:0x0
09-15 18:42:54.644  2332  2363 I ActivityManager: Displayed com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity: +1s890ms (total +2s248ms)
09-15 18:42:54.644  2332  2363 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{2bd8215f u0
com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity t474} time:10916971
09-15 18:42:55.194  3556  3857 I XiaomiFirewall: firewall pkgName:com.money.manager.ex.beta, result:0x0
09-15 18:42:58.304  2332  4117 W ActivityManager: insertTaskAtTop: set mOnTopOfHome to true: TaskRecord{4ad54d7 #474
A=com.money.manager.ex.beta U=0 sz=1}
09-15 18:43:03.354  3556  3857 I XiaomiFirewall: firewall pkgName:com.money.manager.ex.beta, result:0x0
Re: App crashes during splash screen on MIUI 7
User avatar
MisterY
Super MMEX User

Posts: 138
Joined: Sat Jan 24, 2015 2:11 pm
MIUI issues seem to have been resolved by removing app minification. This results in the download being a few MB larger but that is a fair trade-off, I guess.

The other issues you may experience are related to the change in the way the remote-file changed-date is stored. There is no need to explicitly send logcats any longer. The exception logs will be automatically submitted the next time you run the app.
Due to the exception logs being submitted anonymously, please do get in touch via email if you experience issues and can reliably reproduce. Sometimes the logs do not tell me in which scenario certain exceptions happen.

Thanks everyone for helping out!
Who is online

Users browsing this forum: No registered users and 2 guests

cron