java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference

GitHub | cancan101 | 8 months ago
  1. 0

    readDir called with null on Android yields `NullPointerException`

    GitHub | 8 months ago | cancan101
    java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
  2. 0

    [Duplications] [1168] Upload failed

    GitHub | 1 year ago | rperezb
    java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    DJI Forum|RuntimeException when connecting Android tablet to the remote of the drone

    dji.com | 8 months ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
  5. 0

    [Crash Log] Wed, 22 Jun 2016 10:11:50 GMT

    GitHub | 6 months ago | blFeedbackBot
    java.lang.RuntimeException: Unable to start activity ComponentInfo{us.shandian.blacklight/com.karumi.dexter.DexterActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference

  1. ajinkya_w 1 times, last 2 months ago
  2. emmanuelstroem 1 times, last 4 months ago
  3. adawolfs 31 times, last 2 months ago
  4. Diogo Jaym 6 times, last 5 months ago
  5. Bardh 7 times, last 6 months ago
6 more registered users
20 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. java.lang.NullPointerException

    Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference

    at java.io.File.fixSlashes()
  2. Java RT
    File.<init>
    1. java.io.File.fixSlashes(File.java:183)
    2. java.io.File.<init>(File.java:130)
    2 frames
  3. com.rnfs
    RNFSManager.readDir
    1. com.rnfs.RNFSManager.readDir(RNFSManager.java:123)
    1 frame
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame