[TIMOB-8414] Android: Debugger - On V8, JNIUtil error messages appear when debugging with breakpoints
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-05T20:10:31.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-07 |
Components | Android |
Labels | api, qe-and031912, regression |
Reporter | Wilson Luu |
Assignee | Josh Roesslein |
Created | 2012-03-29T10:37:16.000+0000 |
Updated | 2012-06-20T14:46:27.000+0000 |
Description
Steps to reproduce:
1. Unzip and import attachment
2. From https://wiki.appcelerator.org/display/tp/Debugger+Test+Plan, execute test case 1013
Actual: After step 9, the following error messages appear:
E/JNIUtil ( 398): !!! Unable to convert unknown Java object class 'org.appcelerator.kroll.KrollRuntime$1' to Js value !!!
E/JNIUtil ( 398): !!! Unable to convert unknown Java object class 'org.appcelerator.kroll.KrollRuntime$1' to Js value !!!
E/JNIUtil ( 398): !!! Unable to convert unknown Java object class 'org.appcelerator.kroll.KrollRuntime$1' to Js value !!!
Even though these error messages appear, it does not seem to affect the debugger i.e. the debugger does not terminate and I am still getting expected results from the debugger test plan.
Expected: Error messages should not appear.
Note:
* The error messages do not appear in 1.8.2
* Only tested in v8. Did not test in rhino.
* The error messages appear only when using breakpoints.
Attachments
File | Date | Size |
---|---|---|
debug_test.zip | 2012-03-29T10:37:16.000+0000 | 3658758 |
The issue is actually appears outside of the debugger test case as well. Here's another test case that replicates the error messages in the log: Expected: There should be no JNIUtil error messages.
Submitted PR [#1920](https://github.com/appcelerator/titanium_mobile/pull/1920) to resolve issue.
Closing issue Tested with Ti Studio build 2.1.0.201206200844 Ti Mobile SDK 2.1.0.v20120619172256 hash rd3a84b13 OSX Lion 10.7.3 Android Emulator 2.2 The expected behavior is shown