[AC-1360] V8Exception: Uncaught Java exception occured in TiBlob
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-08-26T04:40:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | TCSupportTriage, android, emulator |
Reporter | Jelle Ursem |
Assignee | Mauro Parra-Miranda |
Created | 2014-08-04T13:24:55.000+0000 |
Updated | 2016-03-08T07:37:46.000+0000 |
Description
[ERROR] : V8Exception: Exception occurred at http.js:20: Uncaught Error: Java Exception occurred
[ERROR] : TiBlob: (KrollRuntimeThread) [213822,220002] /mnt/sdcard/Android/data/nl.samsonit.evamobile/cache/_tmp/tihttp-1963430922tmp: open failed: ENOENT (No such file or directory)
[ERROR] : TiBlob: java.io.FileNotFoundException: /mnt/sdcard/Android/data/nl.samsonit.evamobile/cache/_tmp/tihttp-1963430922tmp: open failed: ENOENT (No such file or directory)
[ERROR] : TiBlob: at libcore.io.IoBridge.open(IoBridge.java:416)
[ERROR] : TiBlob: at java.io.FileInputStream.(FileInputStream.java:78)
[ERROR] : TiBlob: at org.appcelerator.titanium.io.TiFile.getInputStream(TiFile.java:263)
[ERROR] : TiBlob: at org.appcelerator.titanium.TiBlob.getInputStream(TiBlob.java:340)
[ERROR] : TiBlob: at org.appcelerator.titanium.TiBlob.getBytes(TiBlob.java:275)
[ERROR] : TiBlob: at ti.modules.titanium.network.TiHTTPClient.decodeResponseData(TiHTTPClient.java:554)
[ERROR] : TiBlob: at ti.modules.titanium.network.TiHTTPClient.getResponseText(TiHTTPClient.java:631)
[ERROR] : TiBlob: at ti.modules.titanium.network.HTTPClientProxy.getResponseText(HTTPClientProxy.java:99)
[ERROR] : TiBlob: at org.appcelerator.kroll.runtime.v8.V8Object.nativeCallProperty(Native Method)
[ERROR] : TiBlob: at org.appcelerator.kroll.runtime.v8.V8Object.callProperty(V8Object.java:69)
[ERROR] : TiBlob: at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1121)
[ERROR] : TiBlob: at android.os.Handler.dispatchMessage(Handler.java:95)
[ERROR] : TiBlob: at android.os.Looper.loop(Looper.java:137)
[ERROR] : TiBlob: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)
[ERROR] : TiBlob: Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
[ERROR] : TiBlob: at libcore.io.Posix.open(Native Method)
[ERROR] : TiBlob: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
[ERROR] : TiBlob: at libcore.io.IoBridge.open(IoBridge.java:400)
[ERROR] : TiBlob: ... 13 more
When running my project on my emulator, I got this unhandled exception and I'm basically f***d. The project hangs and I can not do anything but quit the app.
I think it's *very* scary that in a 3.x.x version of a project native platform exceptions are uncaught. How am I ever supposed to handle an exception like this in production?
Hello! Please provide: - Testcase in the form of app.js for Classic Titanium - A file that reproduces the issue. - Instructions on how to reproduce this: Device? Emulator? Best Regards!
We can't reproduce this. Will reopen it if the reporter provides a testcase.