Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6299] App crashing on android after 8.0.1.GA ( 1st time only)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2019-08-02T22:28:35.000+0000
Affected Version/sAppcelerator Studio 4.3.2
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, defect
ReporterLuke Lu
AssigneeShak Hossain
Created2019-07-01T04:01:44.000+0000
Updated2019-11-04T19:20:08.000+0000

Description

With the latest release of titanium sdk, we switched from 7.4.1.GA to 8.0.1.GA *State:* iOS:_ All Good_ Android: _Crashes the 1st time a modal popup window is closed. After the first crash, it works normally._ *Workflow (Android):* formlist > Add new form > Save & Close or Close (App crash, only first time after installation) code snippet: *formlist.js* ... _ function openAddWindow(e) { openWindowClickDebounce(e); } var openWindowClickDebounce = nav.debounce(openAddFormWindow); // Simplified to make it readable here function openAddFormWindow(e) { Alloy.createController("formadd").getView().open(); }_ ... *formadd.js* ... _ function closeFormRecord() { $.formAddWindow.close(); }_ ... Also, we get this warning message when crashing, not sure if that's related

Attachments

FileDateSize
Screen Shot 2019-07-01 at 1.14.57 pm.png2019-07-01T03:41:05.000+0000111477
Screen Shot 2019-07-01 at 3.31.59 pm.png2019-07-01T05:32:36.000+0000161259
Screen Shot 2019-08-13 at 2.17.28 pm.png2019-08-13T04:19:22.000+0000628224
Screen Shot 2019-08-13 at 2.17.38 pm.png2019-08-13T04:19:32.000+0000385827
Screen Shot 2019-08-13 at 2.17.51 pm.png2019-08-13T04:19:40.000+0000570311
Screen Shot 2019-08-13 at 4.09.16 pm.png2019-08-13T06:12:31.000+0000353975

Comments

  1. Rakhi Mitro 2019-07-02

    Hello [~luke_lu], Thanks for reporting this. Can you please test this issue on SDK 8.0.2.GA and let us know how it goes. To install this please open terminal and type the following: *appc ti sdk install 8.0.2.GA*
  2. Luke Lu 2019-07-02

    thanks for the response @Rakhi Mitro, I tried with 8.0.2.GA but the issue still persists as same.
  3. Rakhi Mitro 2019-07-03

    [~luke_lu], Thanks for letting us know. It would be great to share a simple test case to reproduce the issue on our end.
  4. Rakhi Mitro 2019-07-29

    Hello, We have not heard back from you since our last update.I just wanted to follow up with you about this issue? Are you still experiencing this problem? Please let us know if you need more help with this issue.
  5. Luke Lu 2019-08-13

    It's hard to create another simple app to replicate the issue, cause the exact place its happening is unknown. We are still getting the crash, with errors in the console all over the places !Screen Shot 2019-08-13 at 2.17.28 pm.png|thumbnail! !Screen Shot 2019-08-13 at 2.17.38 pm.png|thumbnail! !Screen Shot 2019-08-13 at 2.17.51 pm.png|thumbnail!
  6. Luke Lu 2019-08-14

    @Rakhi Mitro, on further investigation, I can see that js. _ function closeWindow() { $.formAddWindow.close(); // This code crashes the app, ONLY 1st time and for sdk 8.x.x^ }_ xml. + +

JSON Source