Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26632] Android: App sometimes crashes when backgrounded as of 7.5.0

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2019-02-16T01:48:46.000+0000
Affected Version/sRelease 7.5.0
Fix Version/sRelease 7.5.1
ComponentsAndroid
Labelsandroid, regression
ReporterRiduanul Islam
AssigneeGary Mathews
Created2018-12-05T21:33:01.000+0000
Updated2019-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

FileDateSize
appc ti setup check.rtf2018-12-05T21:23:13.000+000016648
crash1.PNG2018-12-05T21:31:15.000+0000131641
crash2.PNG2018-12-05T21:31:16.000+0000282234

Comments

  1. Gary Mathews 2018-12-05

    master: https://github.com/appcelerator/titanium_mobile/pull/10512
  2. Gary Mathews 2018-12-10

    7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10528
  3. Lokesh Choudhary 2018-12-10

    PR's Merged.
  4. Lokesh Choudhary 2018-12-10

    Verified the fix in SDK 7.5.1.v20181210141225 & 8.0.0.v20181210140414. Closing.

JSON Source