App crashes during splash screen on MIUI 7

MMEX4Android 5.1 and above upon SAF

Moderator: Renato

mwind
New MMEX 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

Post by mwind »

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!
mwind
New MMEX 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

Post by mwind »

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
amg
New MMEX 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

Post by amg »

Can confirm that for MIUI 8 & latest app version from Google Play :(
User avatar
MisterY
Super MMEX 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

Post by MisterY »

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
mouzzza
New MMEX 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

Post by mouzzza »

The same here with v911 on a XIAOMI Redmi 3 running MIUI8.

v901 is still running without problems
mouzzza
New MMEX 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

Post by mouzzza »

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.
Same here with v911 on a XIAOMI Redmi 3 running MIUI8.
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. ----
mwind
New MMEX 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

Post by mwind »

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}
User avatar
MisterY
Super MMEX 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

Post by MisterY »

Thanks! Will investigate later this week.

Link to the issue: https://github.com/moneymanagerex/andro ... ssues/1002
User avatar
MisterY
Super MMEX 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

Post by MisterY »

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!
User avatar
MisterY
Super MMEX 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

Post by MisterY »

New Beta version (912) posted. Please report back and submit logcat for any subsequent crashes. Thanks!
Post Reply