java.lang.NullPointerException

Attempt to get length of null array


Solutions on the web21054

Solution icon of github
via GitHub by Almtesh
, 1 year ago
Attempt to get length of null array

Solution icon of github
via GitHub by moxie0
, 1 year ago
Attempt to get length of null array

Solution icon of github
via GitHub by j-live
, 1 year ago
Attempt to get length of null array

Solution icon of github
via GitHub by ildar
, 9 months ago
Attempt to get length of null array

Solution icon of github
via GitHub by YN-Ohtsuki
, 11 months ago
Attempt to get length of null array

Solution icon of github
Attempt to get length of null array

Solution icon of github
Attempt to get length of null array

Solution icon of github
via GitHub by moxie0
, 1 year ago
Attempt to get length of null array

Solution icon of github
Attempt to get length of null array

Solution icon of github
via GitHub by jsarabia1247
, 4 months ago
Attempt to get length of null array

Stack trace

  • java.lang.NullPointerException: Attempt to get length of null array at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:60) at com.fsck.k9.mailstore.LocalStore.getRawAttachmentInputStream(LocalStore.java:873) at com.fsck.k9.mailstore.LocalStore.writeSimplePartToOutputStream(LocalStore.java:857) at com.fsck.k9.mailstore.LocalStore.writeCursorPartsToOutputStream(LocalStore.java:746) at com.fsck.k9.mailstore.LocalStore.access$300(LocalStore.java:78) at com.fsck.k9.mailstore.LocalStore$16.doDbWork(LocalStore.java:722) at com.fsck.k9.mailstore.LocalStore$16.doDbWork(LocalStore.java:714) at com.fsck.k9.mailstore.LockableDatabase.execute(LockableDatabase.java:275) at com.fsck.k9.mailstore.LocalStore.writeAttachmentDataToOutputStream(LocalStore.java:714) at com.fsck.k9.mailstore.LocalStore.access$100(LocalStore.java:78) at com.fsck.k9.mailstore.LocalStore$15.writeTo(LocalStore.java:706) at org.openintents.openpgp.util.ParcelFileDescriptorUtil$DataSourceTransferThread.run(ParcelFileDescriptorUtil.java:118)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

9 times, 8 months ago
2 times, 9 months ago
Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 more bugmates