Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1360

V8Exception: Uncaught Java exception occured in TiBlob


    • Type: Bug
    • Status: Closed
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Component/s: Studio
    • Environment:

      Titanium Studio, build:
      (c) Copyright 2012-2014 by Appcelerator, Inc. All rights reserved.

      Build: jenkins-titanium-rcp-master-164 (origin/master)
      Date: 10 July 2014, 09:07:01


      [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.<init>(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?




            • Assignee:
              mpmiranda Mauro Parra-Miranda
              SchizoDuckie Jelle Ursem
            • Watchers:
              2 Start watching this issue


              • Created:

                Git Integration