[TIMOB-2032] Android: Stack traces in 1.5 don't show line numbers
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M01 |
Components | Android |
Labels | android, defect |
Reporter | Bill Dawson |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:08:37.000+0000 |
Updated | 2011-04-17T01:57:52.000+0000 |
Description
Example trace (this is with JS compiling off):
E/AndroidRuntime( 453): Uncaught handler: thread kroll$5 exiting due to uncaught exception
E/AndroidRuntime( 453): java.lang.VerifyError: ti.modules.titanium.network.TiHTTPClient
E/AndroidRuntime( 453): at ti.modules.titanium.network.HTTPClientProxy.<init>(Unknown Source)
E/AndroidRuntime( 453): at ti.modules.titanium.network.NetworkModuleBindingGen$1.invoke(Unknown Source)
E/AndroidRuntime( 453): at org.appcelerator.kroll.KrollMethod.call(Unknown Source)
E/AndroidRuntime( 453): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1711)
E/AndroidRuntime( 453): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/AndroidRuntime( 453): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/AndroidRuntime( 453): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/AndroidRuntime( 453): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/AndroidRuntime( 453): at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
E/AndroidRuntime( 453): at org.mozilla.javascript.Context.evaluateReader(Context.java:1142)
E/AndroidRuntime( 453): at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(Unknown Source)
E/AndroidRuntime( 453): at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(Unknown Source)
E/AndroidRuntime( 453): at org.appcelerator.titanium.kroll.KrollContext.handleMessage(Unknown Source)
E/AndroidRuntime( 453): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 453): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 453): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown Source)
(from [04cd3d0fd7def7e1b771302c27bde81da49564f8]) [#2032] A simple test method for throwing a throwabe http://github.com/appcelerator/titanium_mobile/commit/04cd3d0fd7def7e1b771302c27bde81da49564f8"> http://github.com/appcelerator/titanium_mobile/commit/04cd3d0fd7def...
You can test with a simple app.js now:
Produces...
Tested ok with 1.5.0 408f5ab under 1.6 and 2.2 emulators:
just adding a responsible party. Nothing's changed.