Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10355] Anvil: Driver crashes when running on 2_0_X branch on Android

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-09-20T13:19:13.000+0000
Affected Version/sRelease 2.0.2
Fix Version/sRelease 3.0.0, Sprint 2012-19 Core, 2012 Sprint 19
ComponentsTooling
Labelscore
ReporterPing Wang
AssigneeOpie Cyrus
Created2012-08-08T14:46:07.000+0000
Updated2012-12-04T22:44:31.000+0000

Description

The driver "android1" crashed when running a built with git_hash='6cbb9fef27c12e70294ea502bf69242307d2e9a8'. The error log is:
D/Module  (18747): Loading module: init -> Resources/init.js
D/Module  (18747): Loading module: common -> Resources/common.js
D/Module  (18747): Loading module: testUtil -> Resources/testUtil.js
D/Module  (18747): Loading module: util -> Resources/util.js
W/System.err(18747): java.lang.ClassCastException: java.lang.String
W/System.err(18747):   at android.app.ContextImpl$SharedPreferencesImpl.getInt(ContextImpl.java:3000)
W/System.err(18747):   at org.appcelerator.titanium.TiProperties.getInt(TiProperties.java:97)
W/System.err(18747):   at ti.modules.titanium.app.properties.PropertiesModule.getInt(PropertiesModule.java:50)
W/System.err(18747):   at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)
W/System.err(18747):   at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:146)
W/System.err(18747):   at org.appcelerator.kroll.KrollRuntime.handleMessage(KrollRuntime.java:267)
W/System.err(18747):   at org.appcelerator.kroll.runtime.v8.V8Runtime.handleMessage(V8Runtime.java:172)
W/System.err(18747):   at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err(18747):   at android.os.Looper.loop(Looper.java:150)
W/System.err(18747):   at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:104)
D/dalvikvm(18747): GC_CONCURRENT freed 347K, 46% free 3261K/5959K, external 0K/0K, paused 5ms+5ms
E/TiJSError(18747): (main) [337,653] ----- Titanium Javascript Runtime Error -----
E/TiJSError(18747): (main) [0,653] - In ti:/properties.js:18,20
E/TiJSError(18747): (main) [0,653] - Message: Uncaught Error: java.lang.String
E/TiJSError(18747): (main) [0,653] - Source:       return delegate.call(Properties, key);

Comments

No comments

JSON Source