java.lang.NullPointerException: Attempt to get length of null array

GitHub | sid180 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    App crash

    GitHub | 9 months ago | sid180
    java.lang.NullPointerException: Attempt to get length of null array

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to get length of null array

      at com.google.zxing.pdf417.decoder.Decoder.decode()
    2. ZXing Core
      MultiFormatReader.decodeWithState
      1. com.google.zxing.pdf417.decoder.Decoder.decode(Decoder.java:75)
      2. com.google.zxing.pdf417.PDF417Reader.decode(PDF417Reader.java:70)
      3. com.google.zxing.MultiFormatReader.decodeInternal(MultiFormatReader.java:170)
      4. com.google.zxing.MultiFormatReader.decodeWithState(MultiFormatReader.java:85)
      4 frames
    3. com.google.zxing
      DecodeHandler.handleMessage
      1. com.google.zxing.client.android.DecodeHandler.decode(DecodeHandler.java:82)
      2. com.google.zxing.client.android.DecodeHandler.handleMessage(DecodeHandler.java:60)
      2 frames
    4. Android Platform
      Looper.loop
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:145)
      2 frames
    5. com.google.zxing
      DecodeThread.run
      1. com.google.zxing.client.android.DecodeThread.run(DecodeThread.java:97)
      1 frame