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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openas2 by *anonymous
, 1 year ago
IOException converting stream to byte array: null
via sourceforge.net by Unknown author, 1 year ago
IOException converting stream to byte array: null
via openas2 by yellowhammer
, 1 year 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)
at org.openas2.lib.helper.BCCryptoHelper.decrypt(BCCryptoHelper.java:114)
at org.openas2.processor.receiver.AS2ReceiverHandler.decryptAndVerify(AS2ReceiverHandler.java:185)
at org.openas2.processor.receiver.AS2ReceiverHandler.handle(AS2ReceiverHandler.java:119)
at org.openas2.processor.receiver.NetModule$ConnectionThread.run(NetModule.java:115)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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