[TIMOB-15724] Android: Uncaught Runtime Error: Java Exception occurred in apm.init()
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-19T05:18:59.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 24, 2013 Sprint 24 Core, Release 3.2.0 |
Components | Android |
Labels | module_android, qe-3.2.0, qe-closed-3.2.0, qe-testadded |
Reporter | Paras Mishra |
Assignee | Chris Barber |
Created | 2013-11-15T07:38:44.000+0000 |
Updated | 2014-02-26T19:17:48.000+0000 |
Description
Android: Exception occurs running the default classic app with all services enabled.
Steps to reproduce:
1. Create a default classic app.
2. Run the app on android device.
Expected:
App should run fine with no error.
Actual:
Exception occurs as
[ERROR] : TiExceptionHandler: (main) [388,484] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,484] - In app.js:12,12
[ERROR] : TiExceptionHandler: (main) [0,484] - Message: Uncaught Error: Java Exception occurred
[ERROR] : TiExceptionHandler: (main) [1,485] - Source: apm && apm.init();
It points to the apm module's init() method. We would need more testing to be determine if it's an issue with the SDK or the module
Verified the issue is reproducible. I get a JavaException error, apm && apm().init(); . Environment: Appcel Studio : 3.2.0.201311150806 Ti SDK : 3.2.0.v20131115115645 Mac OSX : 10.8.5 Alloy : 1.3.0 CLI - 3.2.0
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4992
Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311160316 Titanium SDK, build: 3.2.0.v20131118211643 CLI: 3.2.0-alpha Alloy: 1.3.0 Android Device: Xperia Arc S (4.0.4), Nexus 4 (4.1.1) Android Emulator: 2.3.3, 4.4 No Runtime Error is thrown by Studio. Android builds to device and emulator successfully. Closing.