App crashes during splash screen on MIUI 7
Moderator: Renato
-
- New User
- Posts: 5
- Joined: Sun May 22, 2016 4:06 pm
- Are you a spam bot?: No
App crashes during splash screen on MIUI 7
Hello everyone! First of all thank you for developing this great app. I've been using the Desktop and the Android version for almost a year now and I really love it. Since it's one of my most used apps I got a bit sad when it was the only app that stopped working normally when today I started using my new Xiaomi mi5, with MIUI 7.
Here is the problem: when I open the app I see the splash screen for a fraction of a second and then I get a message saying: "Unfortunately, Money Manager Ex has stopped." I've tried both 2016.09.02.911 and 2016.08.31.911-beta versions, and both have the same problem. Can you please try to fix this? Ask anything you need, I'll do whatever possible to help you finding the problem.
Thanks!
Here is the problem: when I open the app I see the splash screen for a fraction of a second and then I get a message saying: "Unfortunately, Money Manager Ex has stopped." I've tried both 2016.09.02.911 and 2016.08.31.911-beta versions, and both have the same problem. Can you please try to fix this? Ask anything you need, I'll do whatever possible to help you finding the problem.
Thanks!
-
- New User
- Posts: 5
- Joined: Sun May 22, 2016 4:06 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
I've just installed the previous version 2016.08.26.901 and it's running correctly on my device. I'll keep using this version until the bug is fixed. I will start using the Beta version more often to help preventing this issues
-
- New User
- Posts: 1
- Joined: Wed Sep 07, 2016 10:19 am
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
Can confirm that for MIUI 8 & latest app version from Google Play
-
- Super User
- Posts: 137
- Joined: Sat Jan 24, 2015 8:11 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
Thanks a lot for summarising the issue and the workaround at the same time.
It seems that MIUI devices have an issue with minified version of the app.
It might be helpful if you send a Logcat. For example, you could run Logcat Extreme and choose per-app option.
If anyone could debug the app on such a device, that would be great.
Hope this thread helps other affected users. The previous versions of the app are available on GitHub. The link can be found on the app's web page http://android.moneymanagerex.org
It seems that MIUI devices have an issue with minified version of the app.
It might be helpful if you send a Logcat. For example, you could run Logcat Extreme and choose per-app option.
If anyone could debug the app on such a device, that would be great.
Hope this thread helps other affected users. The previous versions of the app are available on GitHub. The link can be found on the app's web page http://android.moneymanagerex.org
-
- New User
- Posts: 3
- Joined: Sun Sep 11, 2016 10:35 am
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
The same here with v911 on a XIAOMI Redmi 3 running MIUI8.
v901 is still running without problems
v901 is still running without problems
-
- New User
- Posts: 3
- Joined: Sun Sep 11, 2016 10:35 am
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
Same here with v911 on a XIAOMI Redmi 3 running MIUI8.mwind wrote:Here is the problem: when I open the app I see the splash screen for a fraction of a second and then I get a message saying: "Unfortunately, Money Manager Ex has stopped." I've tried both 2016.09.02.911 and 2016.08.31.911-beta versions, and both have the same problem. Can you please try to fix this? Ask anything you need, I'll do whatever possible to help you finding the problem.
v901 is running without problems.
Here the Log, hope it is enough?
Code: Select all
---- 11.09.2016 12:42:39 nachm. ---- 09-11 12:41:07.099 2363 4267 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=[480,784][616,920] (has extras)} from uid 10023 on display 0 09-11
12:41:07.199 2363 3500 I ActivityManager: Start proc
18815:com.money.manager.ex.beta/u0a144 for activity com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity 09-11 12:41:07.489 18815 18815 E AndroidRuntime: Process:
com.money.manager.ex.beta, PID: 18815 09-11 12:41:07.499 2363 3602 W
ActivityManager: Force finishing activity 1
com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity 09-11 12:41:07.589 2363 2383 I ActivityManager: Process
com.money.manager.ex.beta (pid 18815) has died 09-11 12:41:35.029 18622
18919 I themeservice: add pending job /data/data/scd.lcex/cache/com.money.manager.ex.beta.png 09-11 12:41:35.099 18622 18938 I themeservice: saving icon for /data/data/scd.lcex/cache/com.money.manager.ex.beta.png 09-11 12:41:35.119 17827 17849 I themeservice: saving icon
remotely(18622) for /data/data/scd.lcex/cache/com.money.manager.ex.beta.png ALLOW: true ---- 11.09.2016 12:42:39 nachm. ----
-
- New User
- Posts: 5
- Joined: Sun May 22, 2016 4:06 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
Here is the logcat of the error:
Code: Select all
09-12 13:20:37.203 8841-8841/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.money.manager.ex.beta, PID: 8841
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.ViewMobileData.a(SourceFile:90)
at com.money.manager.ex.database.ViewMobileData.<init>(SourceFile:68)
at com.money.manager.ex.database.QueryReportIncomeVsExpenses.a(SourceFile:48)
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-12 13:20:37.206 2498-2834/? W/KloServer: Aborted broadcast does not supprt for: com.money.manager.ex.beta
09-12 13:20:37.209 1534-2455/? W/ActivityManager: Force finishing activity com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity
09-12 13:20:37.718 1534-1561/? W/ActivityManager: Activity pause timeout for ActivityRecord{cc1a4b u0 com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity t556 f}
[ 09-12 13:20:37.721 1534: 1561 E/ ]
WFDMMServiceClient ctor Context = 0x0, Cb = 0x0
[ 09-12 13:20:37.721 1534: 1561 E/ ]
getWFDMMServiceInstance get new Instance
[ 09-12 13:20:37.723 1534: 1561 E/ ]
Service not available yet
[ 09-12 13:20:37.724 1534: 1561 E/ ]
WFDMMServiceClient::~WFDMMServiceClient
[ 09-12 13:20:37.727 1534: 1561 E/ ]
WFDMMServiceClient ctor Context = 0x0, Cb = 0x0
[ 09-12 13:20:37.727 1534: 1561 E/ ]
getWFDMMServiceInstance get new Instance
[ 09-12 13:20:37.728 1534: 1561 E/ ]
Service not available yet
[ 09-12 13:20:37.728 1534: 1561 E/ ]
WFDMMServiceClient::~WFDMMServiceClient
09-12 13:20:47.810 1534-1561/? W/ActivityManager: Activity destroy timeout for ActivityRecord{cc1a4b u0 com.money.manager.ex.beta/com.money.manager.ex.home.MainActivity t556 f}
-
- Super User
- Posts: 137
- Joined: Sat Jan 24, 2015 8:11 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
Thanks! Will investigate later this week.
Link to the issue: https://github.com/moneymanagerex/andro ... ssues/1002
Link to the issue: https://github.com/moneymanagerex/andro ... ssues/1002
-
- Super User
- Posts: 137
- Joined: Sat Jan 24, 2015 8:11 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
I plan on removing the minification in the stable version as a workaround. Beta will stay minimised in order to resolve the original issue. So, please stay on both versions for the moment. Thanks!
-
- Super User
- Posts: 137
- Joined: Sat Jan 24, 2015 8:11 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
New Beta version (912) posted. Please report back and submit logcat for any subsequent crashes. Thanks!
-
- New User
- Posts: 5
- Joined: Sun May 22, 2016 4:06 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
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
-
- Super User
- Posts: 137
- Joined: Sat Jan 24, 2015 8:11 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
Thank you for the log. That's correct, although strange that the Apache Common Utils methods are not found.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
I will replace these calls in the next Beta version later today. Let's try again.
-
- New User
- Posts: 3
- Joined: Sun Sep 11, 2016 10:35 am
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
v914 is starting now!
Now there is another problem. Settings->Sync is crashing. So i can't set Dropbox as database.
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
-
- Super User
- Posts: 137
- Joined: Sat Jan 24, 2015 8:11 pm
- Are you a spam bot?: No
Re: App crashes during splash screen on MIUI 7
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!
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!