java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.appcelerator.ImageView/cache/_tmp/remote-cache/9c7e4d9a7222251ad1e827727032e06efb597abb.hdr: open failed: ENOENT (No such file or directory)

Appcelerator JIRA | Wilson Luu | 11 months ago
  1. 0

    After updating my device to Android 6.0 weird stuff happens. Visually, the UI is broken on every scrollview (the item height is huge) and no images (all supposed to be downloaded) are shown. The Studio won't give me any errors after starting the app... but I think this last behaviour has already been reported. But I can see the logs through `adb logcat` This is what I see when the app is starting (only showing what I think is relevant): {noformat} 10-18 18:48:06.597 20998 20998 I TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 10-18 18:48:06.597 20998 20998 I TiApplication: (main) [0,0] Analytics have been disabled 10-18 18:48:06.598 20998 20998 W TiTempFileHelper: (main) [1,1] The external temp directory doesn't exist, skipping cleanup 10-18 18:48:06.779 20998 21046 W TiApplication: (KrollRuntimeThread) [6,182] Registering module with name already in use. 10-18 18:48:06.898 20998 20998 I TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.myApp.MyAppActivity@457ea25 10-18 18:48:09.513 20998 20998 W TiUIScrollView: (main) [2615,2615] Scroll direction could not be determined based on the provided view properties. Default VERTICAL scroll direction being used. Use the 'scrollType' property to explicitly set the scrolling direction. 10-18 18:48:09.788 20998 21219 E TiDownloadManager: (pool-3-thread-1) [275,2890] Exception downloading http://myServer.com/someFile.png 10-18 18:48:09.788 20998 21219 E TiDownloadManager: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.myApp/cache/_tmp/remote-cache/728710c6374d55247d52f210cdd1f6eafb14b8f2.hdr: open failed: ENOENT (No such file or directory) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.IoBridge.open(IoBridge.java:452) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:87) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:72) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.io.FileWriter.<init>(FileWriter.java:42) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at org.appcelerator.titanium.util.TiResponseCache.put(TiResponseCache.java:472) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.CacheAdapter.put(CacheAdapter.java:57) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.http.HttpEngine.maybeCache(HttpEngine.java:554) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:826) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.net.URL.openStream(URL.java:470) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:135) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.lang.Thread.run(Thread.java:818) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.Posix.open(Native Method) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.IoBridge.open(IoBridge.java:438) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: ... 15 more 10-18 18:48:09.909 782 807 I ActivityManager: Displayed com.myApp/org.appcelerator.titanium.TiActivity: +493ms {noformat} I would like to add that the other day the same happened but I removed and re-installed Appcelerator and it somehow was fixed. I've tried that several times today already. Other users have reported the same, on the community forum, and pointing to the TiDownloadManager.

    Appcelerator JIRA | 1 year ago | Abdiel Aviles
    java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.myApp/cache/_tmp/remote-cache/728710c6374d55247d52f210cdd1f6eafb14b8f2.hdr: open failed: ENOENT (No such file or directory)
  2. 0

    *Details:* Remote images are not rendered when using with Ti.UI.createImageView on a Android 6.0 device. *Notes:* * This is *not a regression* with 5.1.1.GA SDK. * Remote images are rendered on Android 4.X devices. *Steps to reproduce:* # Create a Titanium classic app # Replace app.js with the following code: {code} var win = Ti.UI.createWindow({ backgroundColor: 'white' }); var imageTest = Titanium.UI.createImageView({ image: 'http://chart.apis.google.com/chart?cht=r&chs=200x200&chd=t:77,66,15,0,31,48,100,77%7C20,36,100,2,0,100&chco=FF0000,FF9900&chls=2.0,4.0,0.0%7C2.0,4.0,0.0&chxt=x&chxl=0:%7C0%7C45%7C90%7C135%7C180%7C225%7C270%7C315&chxr=0,0.0,360.0', // image: 'http://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/logo.png', top: 10, width: Ti.UI.SIZE, height: Ti.UI.SIZE }); win.add(imageTest); win.open(); {code} # Install app to a 6.0 Android device. *Actual:* In logcat, you will *intermittently* get this FileNotFoundException: {code} 01-05 15:24:10.915: E/TiDownloadManager(13365): (pool-3-thread-2) [5309,5309] Exception downloading http://chart.apis.google.com/chart?cht=r&chs=200x200&chd=t%3A77%2C66%2C15%2C0%2C31%2C48%2C100%2C77%7C20%2C36%2C100%2C2%2C0%2C100&chco=FF0000%2CFF9900&chls=2.0%2C4.0%2C0.0%7C2.0%2C4.0%2C0.0&chxt=x&chxl=0%3A%7C0%7C45%7C90%7C135%7C180%7C225%7C270%7C315&chxr=0%2C0.0%2C360.0 01-05 15:24:10.915: E/TiDownloadManager(13365): java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.appcelerator.ImageView/cache/_tmp/remote-cache/9c7e4d9a7222251ad1e827727032e06efb597abb.hdr: open failed: ENOENT (No such file or directory) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.IoBridge.open(IoBridge.java:452) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.io.FileOutputStream.<init>(FileOutputStream.java:87) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.io.FileOutputStream.<init>(FileOutputStream.java:72) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.io.FileWriter.<init>(FileWriter.java:42) 01-05 15:24:10.915: E/TiDownloadManager(13365): at org.appcelerator.titanium.util.TiResponseCache.put(TiResponseCache.java:472) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.CacheAdapter.put(CacheAdapter.java:57) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.http.HttpEngine.maybeCache(HttpEngine.java:554) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:826) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.net.URL.openStream(URL.java:470) 01-05 15:24:10.915: E/TiDownloadManager(13365): at org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:135) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.lang.Thread.run(Thread.java:818) 01-05 15:24:10.915: E/TiDownloadManager(13365): Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.Posix.open(Native Method) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.IoBridge.open(IoBridge.java:438) 01-05 15:24:10.915: E/TiDownloadManager(13365): ... 15 more {code} And, the remote image will not be rendered; see 6.0_device.png attachment. *Expected:* You should see the remote image being rendered on device; see 4.X_device.png attachment.

    Appcelerator JIRA | 11 months ago | Wilson Luu
    java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.appcelerator.ImageView/cache/_tmp/remote-cache/9c7e4d9a7222251ad1e827727032e06efb597abb.hdr: open failed: ENOENT (No such file or directory)
  3. 0

    After updating my device to Android 6.0 weird stuff happens. Visually, the UI is broken on every scrollview (the item height is huge) and no images (all supposed to be downloaded) are shown. The Studio won't give me any errors after starting the app... but I think this last behaviour has already been reported. But I can see the logs through `adb logcat` This is what I see when the app is starting (only showing what I think is relevant): {noformat} 10-18 18:48:06.597 20998 20998 I TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 10-18 18:48:06.597 20998 20998 I TiApplication: (main) [0,0] Analytics have been disabled 10-18 18:48:06.598 20998 20998 W TiTempFileHelper: (main) [1,1] The external temp directory doesn't exist, skipping cleanup 10-18 18:48:06.779 20998 21046 W TiApplication: (KrollRuntimeThread) [6,182] Registering module with name already in use. 10-18 18:48:06.898 20998 20998 I TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.myApp.MyAppActivity@457ea25 10-18 18:48:09.513 20998 20998 W TiUIScrollView: (main) [2615,2615] Scroll direction could not be determined based on the provided view properties. Default VERTICAL scroll direction being used. Use the 'scrollType' property to explicitly set the scrolling direction. 10-18 18:48:09.788 20998 21219 E TiDownloadManager: (pool-3-thread-1) [275,2890] Exception downloading http://myServer.com/someFile.png 10-18 18:48:09.788 20998 21219 E TiDownloadManager: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.myApp/cache/_tmp/remote-cache/728710c6374d55247d52f210cdd1f6eafb14b8f2.hdr: open failed: ENOENT (No such file or directory) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.IoBridge.open(IoBridge.java:452) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:87) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:72) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.io.FileWriter.<init>(FileWriter.java:42) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at org.appcelerator.titanium.util.TiResponseCache.put(TiResponseCache.java:472) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.CacheAdapter.put(CacheAdapter.java:57) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.http.HttpEngine.maybeCache(HttpEngine.java:554) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:826) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.net.URL.openStream(URL.java:470) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:135) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at java.lang.Thread.run(Thread.java:818) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.Posix.open(Native Method) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: at libcore.io.IoBridge.open(IoBridge.java:438) 10-18 18:48:09.788 20998 21219 E TiDownloadManager: ... 15 more 10-18 18:48:09.909 782 807 I ActivityManager: Displayed com.myApp/org.appcelerator.titanium.TiActivity: +493ms {noformat} I would like to add that the other day the same happened but I removed and re-installed Appcelerator and it somehow was fixed. I've tried that several times today already. Other users have reported the same, on the community forum, and pointing to the TiDownloadManager.

    Appcelerator JIRA | 1 year ago | Abdiel Aviles
    java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.myApp/cache/_tmp/remote-cache/728710c6374d55247d52f210cdd1f6eafb14b8f2.hdr: open failed: ENOENT (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    *Details:* Remote images are not rendered when using with Ti.UI.createImageView on a Android 6.0 device. *Notes:* * This is *not a regression* with 5.1.1.GA SDK. * Remote images are rendered on Android 4.X devices. *Steps to reproduce:* # Create a Titanium classic app # Replace app.js with the following code: {code} var win = Ti.UI.createWindow({ backgroundColor: 'white' }); var imageTest = Titanium.UI.createImageView({ image: 'http://chart.apis.google.com/chart?cht=r&chs=200x200&chd=t:77,66,15,0,31,48,100,77%7C20,36,100,2,0,100&chco=FF0000,FF9900&chls=2.0,4.0,0.0%7C2.0,4.0,0.0&chxt=x&chxl=0:%7C0%7C45%7C90%7C135%7C180%7C225%7C270%7C315&chxr=0,0.0,360.0', // image: 'http://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/logo.png', top: 10, width: Ti.UI.SIZE, height: Ti.UI.SIZE }); win.add(imageTest); win.open(); {code} # Install app to a 6.0 Android device. *Actual:* In logcat, you will *intermittently* get this FileNotFoundException: {code} 01-05 15:24:10.915: E/TiDownloadManager(13365): (pool-3-thread-2) [5309,5309] Exception downloading http://chart.apis.google.com/chart?cht=r&chs=200x200&chd=t%3A77%2C66%2C15%2C0%2C31%2C48%2C100%2C77%7C20%2C36%2C100%2C2%2C0%2C100&chco=FF0000%2CFF9900&chls=2.0%2C4.0%2C0.0%7C2.0%2C4.0%2C0.0&chxt=x&chxl=0%3A%7C0%7C45%7C90%7C135%7C180%7C225%7C270%7C315&chxr=0%2C0.0%2C360.0 01-05 15:24:10.915: E/TiDownloadManager(13365): java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.appcelerator.ImageView/cache/_tmp/remote-cache/9c7e4d9a7222251ad1e827727032e06efb597abb.hdr: open failed: ENOENT (No such file or directory) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.IoBridge.open(IoBridge.java:452) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.io.FileOutputStream.<init>(FileOutputStream.java:87) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.io.FileOutputStream.<init>(FileOutputStream.java:72) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.io.FileWriter.<init>(FileWriter.java:42) 01-05 15:24:10.915: E/TiDownloadManager(13365): at org.appcelerator.titanium.util.TiResponseCache.put(TiResponseCache.java:472) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.CacheAdapter.put(CacheAdapter.java:57) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.http.HttpEngine.maybeCache(HttpEngine.java:554) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:826) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384) 01-05 15:24:10.915: E/TiDownloadManager(13365): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.net.URL.openStream(URL.java:470) 01-05 15:24:10.915: E/TiDownloadManager(13365): at org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:135) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 01-05 15:24:10.915: E/TiDownloadManager(13365): at java.lang.Thread.run(Thread.java:818) 01-05 15:24:10.915: E/TiDownloadManager(13365): Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.Posix.open(Native Method) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) 01-05 15:24:10.915: E/TiDownloadManager(13365): at libcore.io.IoBridge.open(IoBridge.java:438) 01-05 15:24:10.915: E/TiDownloadManager(13365): ... 15 more {code} And, the remote image will not be rendered; see 6.0_device.png attachment. *Expected:* You should see the remote image being rendered on device; see 4.X_device.png attachment.

    Appcelerator JIRA | 11 months ago | Wilson Luu
    java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.appcelerator.ImageView/cache/_tmp/remote-cache/9c7e4d9a7222251ad1e827727032e06efb597abb.hdr: open failed: ENOENT (No such file or directory)
  6. 0

    Android 6 doesn't load images from a remote url, while Android 5 works fine. All of the following 4 are not shown on Android 6. {code:javascript} var win = Ti.UI.createWindow(); var view = Ti.UI.createScrollView({ scrollType: 'vertical', layout: 'vertical' }); view.add(Ti.UI.createLabel({ text: 'Remote HTTPS from AppC' })); view.add(Ti.UI.createImageView({ image: 'https://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/logo.png' })); view.add(Ti.UI.createLabel({ text: 'Remote HTTP from AppC' })); view.add(Ti.UI.createImageView({ image: 'http://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/logo.png' })); view.add(Ti.UI.createLabel({ text: 'Remote HTTPS from CloudFront' })); view.add(Ti.UI.createImageView({ image: 'https://cfimagesstaging.zipwire.com/56325c2e7dec0.jpg' })); view.add(Ti.UI.createLabel({ text: 'Remote HTTP from CloudFront' })); view.add(Ti.UI.createImageView({ image: 'http://cfimagesstaging.zipwire.com/56325c2e7dec0.jpg' })); win.add(view); win.open(); {code} adb logcat shows a failing TiDownloader request: {noformat} 11-05 16:26:13.015 23434 23480 E TiDownloadManager: (pool-2-thread-1) [100607,100607] Exception downloading https://cfimagesstaging.zipwire.com/56325c2e7dec0.jpg 11-05 16:26:13.015 23434 23480 E TiDownloadManager: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.zipwire.test/cache/_tmp/remote-cache/5b7624468b64d5e3153101a30a50891c94dace39.hdr: open failed: ENOENT (No such file or directory) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at libcore.io.IoBridge.open(IoBridge.java:452) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:87) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at java.io.FileOutputStream.<init>(FileOutputStream.java:72) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at java.io.FileWriter.<init>(FileWriter.java:42) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at org.appcelerator.titanium.util.TiResponseCache.put(TiResponseCache.java:472) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.huc.CacheAdapter.put(CacheAdapter.java:57) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.http.HttpEngine.maybeCache(HttpEngine.java:554) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:826) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at java.net.URL.openStream(URL.java:470) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:135) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at java.lang.Thread.run(Thread.java:818) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at libcore.io.Posix.open(Native Method) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: at libcore.io.IoBridge.open(IoBridge.java:438) 11-05 16:26:13.015 23434 23480 E TiDownloadManager: ... 17 more {noformat} I searched and found this Java issue: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4620571 It seems like Java can't handle a protocol redirect. I am just checking if we do this for images.

    Appcelerator JIRA | 1 year ago | Jan Ruehling
    java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.zipwire.test/cache/_tmp/remote-cache/5b7624468b64d5e3153101a30a50891c94dace39.hdr: open failed: ENOENT (No such file or directory)

  1. bmacedo 12 times, last 5 days ago
  2. gaurav 1 times, last 2 weeks ago
  3. bluebunnty 11 times, last 3 weeks ago
  4. iridic 6 times, last 1 month ago
  5. ivotje50 4 times, last 3 months ago
79 more registered users
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.system.ErrnoException

    open failed: ENOENT (No such file or directory)

    at libcore.io.Posix.open()
  2. Android
    IoBridge.open
    1. libcore.io.Posix.open(Native Method)
    2. libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    3. libcore.io.IoBridge.open(IoBridge.java:438)
    3 frames
  3. Java RT
    FileWriter.<init>
    1. java.io.FileOutputStream.<init>(FileOutputStream.java:87)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:72)
    3. java.io.FileWriter.<init>(FileWriter.java:42)
    3 frames
  4. org.appcelerator.titanium
    TiResponseCache.put
    1. org.appcelerator.titanium.util.TiResponseCache.put(TiResponseCache.java:472)
    1 frame
  5. com.android.okhttp
    CacheAdapter.put
    1. com.android.okhttp.internal.huc.CacheAdapter.put(CacheAdapter.java:57)
    1 frame
  6. Android
    HttpEngine.readResponse
    1. com.android.okhttp.internal.http.HttpEngine.maybeCache(HttpEngine.java:554)
    2. com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:826)
    2 frames
  7. com.android.okhttp
    HttpURLConnectionImpl.getInputStream
    1. com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439)
    2. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384)
    3. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231)
    3 frames
  8. Java RT
    URL.openStream
    1. java.net.URL.openStream(URL.java:470)
    1 frame
  9. org.appcelerator.titanium
    TiDownloadManager$DownloadJob.run
    1. org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:135)
    1 frame
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames