Hi all
I am getting the below error when i tried to read the content form the byte[].
I am gettting the byte array from the services method (backend).
stacktrace:
java.io.StreamCorruptedException: invalid stream header
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)
at com.cccis.interfaces.iatpa.reprocess.POC.PayLoad.payLoadClient.convertBytesToObjectMsg(payLoadClient.java:41)
at com.cccis.interfaces.iatpa.reprocess.POC.PayLoad.payLoadClient.main(payLoadClient.java:83)
Exception in
thread "main"
Any idea??