SHARE
TWEET

Untitled

a guest Jun 1st, 2015 253 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 06-01 11:49:50.576  12435-12435/br.exemplosendimageforphp E/AndroidRuntimeFATAL EXCEPTION: main
  2.     Process: br.exemplosendimageforphp, PID: 12435
  3.     java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:21 flg=0x1 }} to activity {br.exemplosendimageforphp/br.exemplosendimageforphp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
  4.             at android.app.ActivityThread.deliverResults(ActivityThread.java:3539)
  5.             at android.app.ActivityThread.handleSendResult(ActivityThread.java:3582)
  6.             at android.app.ActivityThread.access$1300(ActivityThread.java:144)
  7.             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1327)
  8.             at android.os.Handler.dispatchMessage(Handler.java:102)
  9.             at android.os.Looper.loop(Looper.java:135)
  10.             at android.app.ActivityThread.main(ActivityThread.java:5221)
  11.             at java.lang.reflect.Method.invoke(Native Method)
  12.             at java.lang.reflect.Method.invoke(Method.java:372)
  13.             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
  14.             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
  15.      Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
  16.             at java.io.File.fixSlashes(File.java:185)
  17.             at java.io.File.<init>(File.java:134)
  18.             at br.exemplosendimageforphp.MainActivity.onActivityResult(MainActivity.java:122)
  19.             at android.app.Activity.dispatchActivityResult(Activity.java:6135)
  20.             at android.app.ActivityThread.deliverResults(ActivityThread.java:3535)
  21.             at android.app.ActivityThread.handleSendResult(ActivityThread.java:3582)
  22.             at android.app.ActivityThread.access$1300(ActivityThread.java:144)
  23.             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1327)
  24.             at android.os.Handler.dispatchMessage(Handler.java:102)
  25.             at android.os.Looper.loop(Looper.java:135)
  26.             at android.app.ActivityThread.main(ActivityThread.java:5221)
  27.             at java.lang.reflect.Method.invoke(Native Method)
  28.             at java.lang.reflect.Method.invoke(Method.java:372)
  29.             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
  30.             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top