java.io.FileNotFoundException: http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg

Appcelerator JIRA | Dustin Hyde | 5 years ago
  1. 0

    Ti.UI.createImageView fails to decode image on creation (log attached) in Android 2.2 (NookColor and Emulator). The Android 2.3.6 Device and Tab 3.1 have a separate error of filenotfound (attached), but the iPhone Simulator 5.0 and iPhone 5.0 correctly load and decode the remote image. Local images work in all cases. Android 2.2 Error Log Excerpt: 12-01 14:12:07.093: W/TiDrawableReference(374): (main) [6,1703] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled. 12-01 14:12:07.103: D/skia(374): --- SkImageDecoder::Factory returned null 12-01 14:12:07.113: E/TiUIImageView(374): (main) [20,1723] Max retries reached, giving up decoding image source: http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg Android 2.3.6, 3.1 Error Log Excerpt: 12-01 15:11:26.505: E/TiDownloadManager(2872): (pool-3-thread-1) [365,13155] Exception downloading http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg 12-01 15:11:26.505: E/TiDownloadManager(2872): java.io.FileNotFoundException: http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg 12-01 15:11:26.505: E/TiDownloadManager(2872): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:521) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.net.URL.openStream(URL.java:645) 12-01 15:11:26.505: E/TiDownloadManager(2872): at org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:134) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.lang.Thread.run(Thread.java:1019) Steps to Reproduce: 1. Run the following code in a new app. {code} Titanium.UI.setBackgroundColor('#000'); var win = Titanium.UI.createWindow({backgroundColor:'#fff'}); var test_img = Titanium.UI.createImageView({image:'http://www.zoomout.gr/assets/media/PICTURES/ΜΟΥΣΙΚΗ/651_thumb1.jpg'}); win.add(test_img); win.open(); {code} Expected Result: Image should download, decode and display. Actual Result: No image displays, errors log to the console. Android 2.2 has decode errors, Android 2.3.6 has filenotfound errors, iOS Simulators/Devices work correctly. Note: The local image 'KS_nav_ui.png' works as expected across platforms.

    Appcelerator JIRA | 5 years ago | Dustin Hyde
    java.io.FileNotFoundException: http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg
  2. 0

    Ti.UI.createImageView fails to decode image on creation (log attached) in Android 2.2 (NookColor and Emulator). The Android 2.3.6 Device and Tab 3.1 have a separate error of filenotfound (attached), but the iPhone Simulator 5.0 and iPhone 5.0 correctly load and decode the remote image. Local images work in all cases. Android 2.2 Error Log Excerpt: 12-01 14:12:07.093: W/TiDrawableReference(374): (main) [6,1703] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled. 12-01 14:12:07.103: D/skia(374): --- SkImageDecoder::Factory returned null 12-01 14:12:07.113: E/TiUIImageView(374): (main) [20,1723] Max retries reached, giving up decoding image source: http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg Android 2.3.6, 3.1 Error Log Excerpt: 12-01 15:11:26.505: E/TiDownloadManager(2872): (pool-3-thread-1) [365,13155] Exception downloading http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg 12-01 15:11:26.505: E/TiDownloadManager(2872): java.io.FileNotFoundException: http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg 12-01 15:11:26.505: E/TiDownloadManager(2872): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:521) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.net.URL.openStream(URL.java:645) 12-01 15:11:26.505: E/TiDownloadManager(2872): at org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:134) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581) 12-01 15:11:26.505: E/TiDownloadManager(2872): at java.lang.Thread.run(Thread.java:1019) Steps to Reproduce: 1. Run the following code in a new app. {code} Titanium.UI.setBackgroundColor('#000'); var win = Titanium.UI.createWindow({backgroundColor:'#fff'}); var test_img = Titanium.UI.createImageView({image:'http://www.zoomout.gr/assets/media/PICTURES/ΜΟΥΣΙΚΗ/651_thumb1.jpg'}); win.add(test_img); win.open(); {code} Expected Result: Image should download, decode and display. Actual Result: No image displays, errors log to the console. Android 2.2 has decode errors, Android 2.3.6 has filenotfound errors, iOS Simulators/Devices work correctly. Note: The local image 'KS_nav_ui.png' works as expected across platforms.

    Appcelerator JIRA | 5 years ago | Dustin Hyde
    java.io.FileNotFoundException: http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg
  3. 0

    File Not Found Exception From HTTP Webservice URL

    Stack Overflow | 3 years ago | malli
    java.io.FileNotFoundException: http://182.18.133.88/php/gprs_request.php?cmd=balance&username=RTxxxx&password=yyyy=balance&username=RTxxxx&password=yyyy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Downloading on Android - FileNotFoundException but file exists

    Stack Overflow | 5 years ago | metaclypse
    java.io.FileNotFoundException: <a href="http://myfirm.com/download.aspx?action=get&amp;sid=6d62429x-4e1c&amp;file=data.xml&amp;client=android" rel="nofollow">http://myfirm.com/download.aspx?action=get&amp;sid=6d62429x-4e1c&amp;file=data.xml&amp;client=android</a>
  6. 0

    Parsing Google Weather On Android

    Stack Overflow | 4 years ago | Rodrane
    java.io.FileNotFoundException: http://www.google.com/ig/api?weather=lincoln,nebraska

    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. java.io.FileNotFoundException

      http://www.zoomout.gr/assets/media/PICTURES/???????/651_thumb1.jpg

      at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream()
    2. org.apache.harmony
      HttpURLConnectionImpl.getInputStream
      1. org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:521)
      1 frame
    3. Java RT
      URL.openStream
      1. java.net.URL.openStream(URL.java:645)
      1 frame
    4. org.appcelerator.titanium
      TiDownloadManager$DownloadJob.run
      1. org.appcelerator.titanium.util.TiDownloadManager$DownloadJob.run(TiDownloadManager.java:134)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
      3. java.lang.Thread.run(Thread.java:1019)
      3 frames