Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19406] Android: Building default classic app with SDK 5.0.0.v20150825082243 throws runtime error

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2015-08-28T18:43:10.000+0000
Affected Version/sRelease 5.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsqe-5.0.0, regression
ReporterLokesh Choudhary
AssigneeAshraf Abu
Created2015-08-25T18:51:34.000+0000
Updated2015-08-28T20:58:20.000+0000

Description

*This is a regression. Don't see this issue with 5.0.0.v20150824091229.*

Description:

1. Create a default classic app with SDK 5.0.0.v20150825082243. 2. Build for device/emulator. 3. Let the app launch.

Actual Results:

1. After launch the app throws runtime error:
[ERROR] :  TiExceptionHandler: (main) [895,895] ----- Titanium Javascript Runtime Error -----
[ERROR] :  TiExceptionHandler: (main) [0,895] - In undefined:1,1
[ERROR] :  TiExceptionHandler: (main) [0,895] - Message: Uncaught SyntaxError: Unexpected token 
[ERROR] :  TiExceptionHandler: (main) [0,895] - Source: ‹������������QËnà ü—½Ö‘ˆc7.·JýVéCª"´2›„ƒ8ªbùß»8ò­‡r€ÕÎ³#t”ä­×²¢€˜0
$ø
2. This issue is reproducible from appc CLI as well. 3. Attached screenshot for reference.

Expected Results:

1. The app should build successfully with no runtime errors.

Attachments

FileDateSize
Screen Shot 2015-08-25 at 11.03.22 AM.png2015-08-25T18:51:53.000+000058774

Comments

  1. Chee Kiat Ng 2015-08-26

    [~msamah], take a look?
  2. Ashraf Abu 2015-08-26

    I am able to reproduce this.
  3. Ashraf Abu 2015-08-27

    PR: https://github.com/appcelerator/titanium_mobile/pull/7077
  4. Lokesh Choudhary 2015-08-28

    Verified the fix. The classic app does not throw runtime error. Closing. Environment: Appc Studio : 5.0.0.201508251028 Ti SDK : 5.0.0.v20150828131240 Ti CLI : 4.1.5 Alloy : 1.7.6 MAC Yosemite : 10.10.4 Appc NPM : 4.1.0-2 Appc CLI : 5.0.0-27 Node: v0.10.37 Nexus 5 - Android 5.1.1 Node : v0.10.37

JSON Source