Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2669] Android: XML RSS Example Crashes with VerifyError

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T03:26:33.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M03
ComponentsAndroid
Labelsandroid, defect, regression, release-1.6.0, reported-1.6.0
ReporterDon Thorp
AssigneeMarshall Culpepper
Created2011-04-15T03:26:32.000+0000
Updated2017-03-02T21:01:55.000+0000

Description

Run the KS > Platform > XML RSS test crashes immediately

12-23 20:28:30.087: DEBUG/dalvikvm(5552): GC_FOR_MALLOC freed 88 objects / 122680 bytes in 45ms
12-23 20:28:30.267: ERROR/dalvikvm(5552): Could not find class 'org.jaxen.dom.DOMXPath', referenced from method ti.modules.titanium.xml.XPathUtil.evaluate
12-23 20:28:30.267: WARN/dalvikvm(5552): VFY: unable to resolve new-instance 1261 (Lorg/jaxen/dom/DOMXPath;) in Lti/modules/titanium/xml/XPathUtil;
12-23 20:28:30.267: DEBUG/dalvikvm(5552): VFY: replacing opcode 0x22 at 0x0000
12-23 20:28:30.267: WARN/dalvikvm(5552): VFY: unable to resolve exception class 1259 (Lorg/jaxen/JaxenException;)
12-23 20:28:30.267: WARN/dalvikvm(5552): VFY: unable to find exception handler at addr 0x17
12-23 20:28:30.267: WARN/dalvikvm(5552): VFY:  rejected Lti/modules/titanium/xml/XPathUtil;.evaluate (Lti/modules/titanium/xml/NodeProxy;Ljava/lang/String;)Lti/modules/titanium/xml/XPathNodeListProxy;
12-23 20:28:30.267: WARN/dalvikvm(5552): VFY:  rejecting opcode 0x0d at 0x0017
12-23 20:28:30.267: WARN/dalvikvm(5552): VFY:  rejected Lti/modules/titanium/xml/XPathUtil;.evaluate (Lti/modules/titanium/xml/NodeProxy;Ljava/lang/String;)Lti/modules/titanium/xml/XPathNodeListProxy;
12-23 20:28:30.267: WARN/dalvikvm(5552): Verifier rejected class Lti/modules/titanium/xml/XPathUtil;
12-23 20:28:30.277: ERROR/KrollCallback(5552): (kroll$5) [304,40467] Unhandled throwable, invocation:[callMethod Network.HTTPClient.(anonymous) org.appcelerator.titanium.kroll.KrollCallback@44b5d2e8], message: ti.modules.titanium.xml.XPathUtil
12-23 20:28:30.277: ERROR/KrollCallback(5552): java.lang.VerifyError: ti.modules.titanium.xml.XPathUtil
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at ti.modules.titanium.xml.NodeProxy.evaluate(NodeProxy.java:244)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at ti.modules.titanium.xml.NodeProxyBindingGen$16.invoke(NodeProxyBindingGen.java:603)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:48)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.mozilla.javascript.Interpreter.interpret(Unknown Source)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:132)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:156)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at android.os.Handler.handleCallback(Handler.java:587)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at android.os.Handler.dispatchMessage(Handler.java:92)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at android.os.Looper.loop(Looper.java:123)
12-23 20:28:30.277: ERROR/KrollCallback(5552):     at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)
12-23 20:28:30.277: WARN/dalvikvm(5552): threadid=17: thread exiting with uncaught exception (group=0x4001d7f0)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552): (kroll$5) [7,40474] Sending event: exception on thread: kroll$5 msg:java.lang.VerifyError: ti.modules.titanium.xml.XPathUtil; Titanium 1.1.0,Wed Mar 17 13:35:53 2010,N/A
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552): java.lang.VerifyError: ti.modules.titanium.xml.XPathUtil
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at ti.modules.titanium.xml.NodeProxy.evaluate(NodeProxy.java:244)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at ti.modules.titanium.xml.NodeProxyBindingGen$16.invoke(NodeProxyBindingGen.java:603)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:48)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.mozilla.javascript.Interpreter.interpret(Unknown Source)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:132)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:156)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at android.os.Handler.handleCallback(Handler.java:587)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at android.os.Handler.dispatchMessage(Handler.java:92)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at android.os.Looper.loop(Looper.java:123)
12-23 20:28:30.277: ERROR/TiUncaughtHandler(5552):     at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)
12-23 20:28:30.287: DEBUG/TiApplication(5552): (kroll$5) [12,40486] Analytics Event: type=ti.crash
12-23 20:28:30.287: DEBUG/TiApplication(5552):  event=ti.crash
12-23 20:28:30.287: DEBUG/TiApplication(5552):  timestamp=2010-12-24T02:28:30.286-0600
12-23 20:28:30.287: DEBUG/TiApplication(5552):  mid=200142d4dfbac6a0
12-23 20:28:30.287: DEBUG/TiApplication(5552):  sid=3145d1a8-011b-4a36-b9e3-0c753b65ccbe
12-23 20:28:30.287: DEBUG/TiApplication(5552):  aguid=6fe33f33fd1f4e95a06d2d217170866d
12-23 20:28:30.287: DEBUG/TiApplication(5552):  isJSON=true
12-23 20:28:30.287: DEBUG/TiApplication(5552):  payload={"value":"thread_namekroll$5\nthread_id23\nerror_msgjava.lang.VerifyError: ti.modules.titanium.xml.XPathUtil\nti_version1.1.0,Wed Mar 17 13:35:53 2010,N\/A\n<<<<<<<<<<<<<<< STACK TRACE >>>>>>>>>>>>>>>\nti.modules.titanium.xml.NodeProxy.evaluate(NodeProxy.java:244)\nti.modules.titanium.xml.NodeProxyBindingGen$16.invoke(NodeProxyBindingGen.java:603)\norg.appcelerator.kroll.KrollMethod.call(KrollMethod.java:48)\norg.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)\norg.mozilla.javascript.Interpreter.interpret(Unknown Source)\norg.mozilla.javascript.InterpretedFunction.call(Unknown Source)\norg.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)\norg.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)\norg.mozilla.javascript.InterpretedFunction.call(Unknown Source)\norg.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:132)\norg.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:156)\nandroid.os.Handler.handleCallback(Handler.java:587)\nandroid.os.Handler.dispatchMessage(Handler.java:92)\nandroid.os.Looper.loop(Looper.java:123)\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)\n"}
12-23 20:28:30.307: ERROR/AndroidRuntime(5552): FATAL EXCEPTION: kroll$5
12-23 20:28:30.307: ERROR/AndroidRuntime(5552): java.lang.VerifyError: ti.modules.titanium.xml.XPathUtil
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at ti.modules.titanium.xml.NodeProxy.evaluate(NodeProxy.java:244)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at ti.modules.titanium.xml.NodeProxyBindingGen$16.invoke(NodeProxyBindingGen.java:603)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.appcelerator.kroll.KrollMethod.call(KrollMethod.java:48)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.mozilla.javascript.Interpreter.interpret(Unknown Source)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.appcelerator.titanium.kroll.KrollCallback.callSync(KrollCallback.java:132)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:156)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at android.os.Handler.handleCallback(Handler.java:587)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at android.os.Handler.dispatchMessage(Handler.java:92)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at android.os.Looper.loop(Looper.java:123)
12-23 20:28:30.307: ERROR/AndroidRuntime(5552):     at org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)

Comments

  1. Marshall Culpepper 2011-04-15

    Do you have a set of steps to reproduce this? I tried it from both Eclipse and using builder.py on KitchenSink in master, and the XML RSS test loads fine in both situations. The error is obviously because jaxen-1.1.1.jar is missing from the APK, but it looks like it might be an Eclipse project configuration error?

  2. Thomas Huelbert 2011-04-15

    repor'd using 2.3 em and 1.5.1, will check other platforms and update record. crash pastie - http://pastie.org/1409047">http://pastie.org/1409047

  3. Thomas Huelbert 2011-04-15

    not repro on a g2 running 1.6.0

  4. Don Thorp 2011-04-15

    Seems to have just been a bad build for me.

  5. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source