Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15724] Android: Uncaught Runtime Error: Java Exception occurred in apm.init()

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-11-19T05:18:59.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 24, 2013 Sprint 24 Core, Release 3.2.0
ComponentsAndroid
Labelsmodule_android, qe-3.2.0, qe-closed-3.2.0, qe-testadded
ReporterParas Mishra
AssigneeChris Barber
Created2013-11-15T07:38:44.000+0000
Updated2014-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();

Comments

  1. Nam Le 2013-11-15

    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
  2. Lokesh Choudhary 2013-11-15

    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
  3. Chris Barber 2013-11-19

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4992
  4. Samuel Dowse 2013-11-19

    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.

JSON Source