Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4588] if i set in tiapp.xml property run-on-main-thread = true my app stucks in splash screen the second time i open it, when run-on-main-thread = false scrollview throws an error

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-11-11T15:30:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterAlejandro Saldivar
AssigneeShak Hossain
Created2016-11-01T23:42:02.000+0000
Updated2016-11-11T15:30:15.000+0000

Description

when i create a default Alloy project, first time run in android 6.0 emulator/device and everything goes well, but if i close the application (press back) and try to open it again gets stuck in splash screen i need to force to close the application from settings/applications to open it again i noticed if i set false in tiapp.xml, my app open perfectly, but scrollviews stop working console throws the following error: [ERROR] Message: Uncaught Error: Attempt to invoke virtual method 'boolean TiUIScrollView.getScrollingEnabled()' on a null object reference if true scrollviews work fine this happens with version sdk >= 5.4.0

Attachments

FileDateSize
Screen Shot 2016-11-01 at 5.37.54 PM.png2016-11-01T23:40:50.000+000060658

Comments

  1. Alejandro Saldivar 2016-11-02

    .
  2. Hans Knöchel 2016-11-02

    Please provide a full reproducible demo-code, we can't reproduce the issue otherwise.
  3. Sharif AbuDarda 2016-11-04

    Hello for default project the issue is not reproducible for us. And for your scrollview issue we need the sample code. Thanks.

JSON Source