-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashes on Android Version 5 #185
Comments
Possible solution: |
Also consider upgrading the Native Forms library for this fix here |
Caused by java.lang.SecurityException: getDeviceId: The user 10215 does not meet the requirements to access device identifiers. for this i have upgraded the Native Form Library to the lattest version to 2.1.3 |
Fatal Exception: java.lang.IllegalArgumentException: URI is not absolute for this crash i've found out there was an illegalArgumentException which wasn't handled on the HttpAgent class in Client Core i have added this exception in the catch block in HttpAgent.getHttpURLConnection() respective calls |
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.compareTo(java.lang.String)' on a null object reference added null check on compareto method on mother child detail model |
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.smartregister.path/org.smartregister.path.activity.ChildRegisterActivity}: java.lang.StringIndexOutOfBoundsException: length=0; index=0 added arrayoutofbound exception handeling on core utils |
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference |
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null object reference |
Closing this for now. |
App version 2.0.2 (production)
Note! Are approximately 300 users with Android 5 and 6
Additional notes
The issues seem not to be replicated when Android 7-9 is used.
The errors started happening when the app is upgraded from version 2.0.0. to 2.0.1 and 2.0.2. (Meanwhile, we have asked the users not to upgrade to those versions).
Question: @ellykits Could these errors be related to change of labels on Measles where Measles was removed to leave only MR?
The text was updated successfully, but these errors were encountered: