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

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 sid180
, 1 year ago
Attempt to get length of null array
java.lang.NullPointerException: Attempt to get length of null array
at com.google.zxing.pdf417.decoder.Decoder.decode(Decoder.java:75)
at com.google.zxing.pdf417.PDF417Reader.decode(PDF417Reader.java:70)
at com.google.zxing.MultiFormatReader.decodeInternal(MultiFormatReader.java:170)
at com.google.zxing.client.android.DecodeHandler.decode(DecodeHandler.java:82)
at com.google.zxing.client.android.DecodeHandler.handleMessage(DecodeHandler.java:60)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at com.google.zxing.client.android.DecodeThread.run(DecodeThread.java:97)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.