java.io.FileNotFoundException: http://www.microfms.net/mobilefms/tempphonebackup/test.aspx 05-18 13:32:34.797: WARN/System.err(2381): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.sendData(NewImageUp.java:181) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:62) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.onCreate(NewImageUp.java:39) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.access$2100(ActivityThread.java:116) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Handler.dispatchMessage(Handler.java:99) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Looper.loop(Looper.java:123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.main(ActivityThread.java:4203) 05-18 13:32:34.807: WARN/System.err(2381): at java.lang.reflect.Method.invokeNative(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): at java.lang.reflect.Method.invoke(Method.java:521) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 05-18 13:32:34.817: WARN/System.err(2381): at dalvik.system.NativeStart.main(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): java.lang.NullPointerException 05-18 13:32:34.817: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:63)

Coderanch | Pramod P Deore | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Reading image and convert it to Base64 format (Java in General forum at JavaRanch)

    coderanch.com | 1 year ago
    java.io.FileNotFoundException: http://www.microfms.net/mobilefms/tempphonebackup/test.aspx 05-18 13:32:34.797: WARN/System.err(2381): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.sendData(NewImageUp.java:181) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:62) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.onCreate(NewImageUp.java:39) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.access$2100(ActivityThread.java:116) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Handler.dispatchMessage(Handler.java:99) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Looper.loop(Looper.java:123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.main(ActivityThread.java:4203) 05-18 13:32:34.807: WARN/System.err(2381): at java.lang.reflect.Method.invokeNative(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): at java.lang.reflect.Method.invoke(Method.java:521) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 05-18 13:32:34.817: WARN/System.err(2381): at dalvik.system.NativeStart.main(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): java.lang.NullPointerException 05-18 13:32:34.817: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:63)
  2. 0

    Reading image and convert it to Base64 format

    Coderanch | 7 years ago | Pramod P Deore
    java.io.FileNotFoundException: http://www.microfms.net/mobilefms/tempphonebackup/test.aspx 05-18 13:32:34.797: WARN/System.err(2381): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.sendData(NewImageUp.java:181) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:62) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.onCreate(NewImageUp.java:39) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.access$2100(ActivityThread.java:116) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Handler.dispatchMessage(Handler.java:99) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Looper.loop(Looper.java:123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.main(ActivityThread.java:4203) 05-18 13:32:34.807: WARN/System.err(2381): at java.lang.reflect.Method.invokeNative(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): at java.lang.reflect.Method.invoke(Method.java:521) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 05-18 13:32:34.817: WARN/System.err(2381): at dalvik.system.NativeStart.main(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): java.lang.NullPointerException 05-18 13:32:34.817: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:63)

    Root Cause Analysis

    1. java.io.FileNotFoundException

      http://www.microfms.net/mobilefms/tempphonebackup/test.aspx 05-18 13:32:34.797: WARN/System.err(2381): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.sendData(NewImageUp.java:181) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:62) 05-18 13:32:34.797: WARN/System.err(2381): at com.micro.newimage.NewImageUp.onCreate(NewImageUp.java:39) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.access$2100(ActivityThread.java:116) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Handler.dispatchMessage(Handler.java:99) 05-18 13:32:34.807: WARN/System.err(2381): at android.os.Looper.loop(Looper.java:123) 05-18 13:32:34.807: WARN/System.err(2381): at android.app.ActivityThread.main(ActivityThread.java:4203) 05-18 13:32:34.807: WARN/System.err(2381): at java.lang.reflect.Method.invokeNative(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): at java.lang.reflect.Method.invoke(Method.java:521) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) 05-18 13:32:34.817: WARN/System.err(2381): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 05-18 13:32:34.817: WARN/System.err(2381): at dalvik.system.NativeStart.main(Native Method) 05-18 13:32:34.817: WARN/System.err(2381): java.lang.NullPointerException 05-18 13:32:34.817: WARN/System.err(2381): at com.micro.newimage.NewImageUp.readImage(NewImageUp.java:63)

      at com.micro.newimage.NewImageUp.onCreate()
    2. com.micro.newimage
      NewImageUp.onCreate
      1. com.micro.newimage.NewImageUp.onCreate(NewImageUp.java:39)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
      2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
      3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
      4. android.app.ActivityThread.access$2100(ActivityThread.java:116)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
      6. android.os.Handler.dispatchMessage(Handler.java:99)
      7. android.os.Looper.loop(Looper.java:123)
      8. android.app.ActivityThread.main(ActivityThread.java:4203)
      8 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:521)
      2 frames