[AC-1700] Titanium studio: android emulator debug - terminated exit value -1
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-08-06T22:29:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | n/a |
Reporter | Vadim Kurachevsky |
Assignee | Mauro Parra-Miranda |
Created | 2014-06-03T19:42:01.000+0000 |
Updated | 2016-03-08T07:38:11.000+0000 |
Description
While debugging application in Titanium Studio, studio detaches on same place
Same effect on two different environments but in different places in code:
Linux and Mac, on Windows same bug
Code where i have crash of debugger:
var xhr = Titanium.Network.createHTTPClient();
xhr.onload = function() {
var data = JSON.parse(this.responseText);
if(data.Result && data.Result.length > 0){....}}
When debugger reach : if(data.Result && data.Result.length > 0)
it just get crashed. strange is that : "data" and "data.Result" contains all the data that came from server
Exception in log:
!ENTRY com.aptana.js.debug.core.v8 4 0 2014-06-03 22:25:19.496
!MESSAGE (Build 3.2.3.201404181442) [ERROR] null
!STACK 0
java.lang.NullPointerException
at com.aptana.js.debug.core.v8.V8DebugHost.isScriptFiltered(V8DebugHost.java:512)
at com.aptana.js.debug.core.v8.V8DebugHost.startDebugging(V8DebugHost.java:222)
at com.aptana.js.debug.core.v8.V8DebugHost.handleSuspended(V8DebugHost.java:317)
at com.aptana.js.debug.core.v8.V8DebugHost.processEvents(V8DebugHost.java:284)
at com.aptana.js.debug.core.v8.V8DebugHost.access$15(V8DebugHost.java:278)
at com.aptana.js.debug.core.v8.V8DebugHost$8.run(V8DebugHost.java:1303)
Attachments
Hello [~hmvs]! Plese provide a testcase in the format of app.js in order to reproduce this issue. The smaller the testcase, the better. Thanks a lot!
Sry, because of this already switched to another platform. You can close it.