[TIMOB-26632] Android: App sometimes crashes when backgrounded as of 7.5.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-02-16T01:48:46.000+0000 |
Affected Version/s | Release 7.5.0 |
Fix Version/s | Release 7.5.1 |
Components | Android |
Labels | android, regression |
Reporter | Riduanul Islam |
Assignee | Gary Mathews |
Created | 2018-12-05T21:33:01.000+0000 |
Updated | 2019-02-16T01:48:52.000+0000 |
Description
App getting crashed, whenever app is in background.
Error description:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object org.appcelerator.kroll.KrollObject.callProperty(java.lang.String, java.lang.Object[])' on a null object reference.
The following link will show the apm from dashboard:
* https://platform.axway.com/#/app.service/apm/5af9ddd60f0e5961bf7cd0d5 or
* https://app.crittercism.com/developers/crash-details/44567a3b3cfe456e8577fb10b74a469c00555300/e30ecfa1fcab9675#period=P14D&appVersion=5.6.7
The app was showing no such crashes with SDK 7.4.1.GA, Something has changed in SDK 7.5.0.GA that is making the app crash. There are like 100s of crashes which were never there with 7.4.1.GA.
*Attachments:*
I've added 2 screenshots of crash & appc ti setup check command log.
Attachments
File | Date | Size |
---|---|---|
appc ti setup check.rtf | 2018-12-05T21:23:13.000+0000 | 16648 |
crash1.PNG | 2018-12-05T21:31:15.000+0000 | 131641 |
crash2.PNG | 2018-12-05T21:31:16.000+0000 | 282234 |
master: https://github.com/appcelerator/titanium_mobile/pull/10512
7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10528
PR's Merged.
Verified the fix in SDK 7.5.1.v20181210141225 & 8.0.0.v20181210140414. Closing.