Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by azizimusa
, 1 year ago
Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
via GitHub by wangzl2011
, 1 month ago
Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
via Stack Overflow by Mateen Chaudhry
, 1 month ago
Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
via GitHub by WaiLynnZaw
, 1 year ago
Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
via GitHub by cancan101
, 1 year ago
Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
via xda-developers.com by Unknown author, 2 years ago
Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference	at java.io.File.fixSlashes(File.java:183)	at java.io.File.(File.java:130)	at com.omnom.fragments.pages.PageTakeMedia.onImagesChosen(PageTakeMedia.java:422)	at com.kbeanie.multipicker.core.threads.ImageProcessorThread$1.run(ImageProcessorThread.java:52)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:158)	at android.app.ActivityThread.main(ActivityThread.java:7225)	at java.lang.reflect.Method.invoke(Method.java)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)