java.lang.IllegalStateException: IOException converting stream to byte array: null

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 openas2 by yellowhammer
, 1 year ago
IOException converting stream to byte array: null
via openas2 by *anonymous
, 1 year ago
IOException converting stream to byte array: null
via sourceforge.net by Unknown author, 2 years ago
IOException converting stream to byte array: null
java.lang.IllegalStateException: IOException converting stream to byte array: null
at org.bouncycastle.asn1.DEROctetStringParser.getDERObject(Unknown Source)
at org.bouncycastle.asn1.ASN1StreamParser.readVector(Unknown Source)
at org.bouncycastle.asn1.DERSequenceParser.getDERObject(Unknown Source)
at org.bouncycastle.asn1.ASN1StreamParser.readVector(Unknown Source)
at org.bouncycastle.asn1.DERSetParser.getDERObject(Unknown Source)
at org.bouncycastle.asn1.ASN1StreamParser.readVector(Unknown Source)
at org.bouncycastle.asn1.BERSequenceParser.getDERObject(Unknown Source)
at org.bouncycastle.asn1.ASN1StreamParser.readVector(Unknown Source)
at org.bouncycastle.asn1.BERTaggedObjectParser.rLoadVector(Unknown Source)
at org.bouncycastle.asn1.BERTaggedObjectParser.getDERObject(Unknown Source)
at org.bouncycastle.asn1.ASN1StreamParser.readVector(Unknown Source)
at org.bouncycastle.asn1.BERSequenceParser.getDERObject(Unknown Source)
at org.bouncycastle.cms.CMSUtils.readContentInfo(Unknown Source)
at org.bouncycastle.cms.CMSUtils.readContentInfo(Unknown Source)
at org.bouncycastle.cms.CMSEnvelopedData.(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

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