|
From: Ramanathan, A. \(Cognizant\) <Ala...@co...> - 2005-12-15 11:51:46
|
While decrypting huge PGP files (size>15000 bytes) using
StreamDecryptVerify.java, I am getting the below error when executing
the line:
decodedInputStream1.init(fileInputStream1, this,
this);
Exception:
=0D
[12/14/05 17:51:04:226 IST] 56e3c11d SystemErr R Streaming the
message failed.
[12/14/05 17:51:04:226 IST] 56e3c11d SystemErr R
cryptix.message.stream.MessageStreamException: Invalid packet type.
[12/14/05 17:51:04:226 IST] 56e3c11d SystemErr R at
cryptix.openpgp.provider.PGPDecodedMessageInputStream.engineInit(PGPDeco
dedMessageInputStream.java:75)
[12/14/05 17:51:04:226 IST] 56e3c11d SystemErr R at
cryptix.message.stream.DecodedMessageInputStream.init(DecodedMessageInpu
tStream.java:144)
[12/14/05 17:51:04:242 IST] 56e3c11d SystemErr R at
com.deere.u90262.enterprisecarrierratesrepository.utility.StreamDecryptV
erify.run(StreamDecryptVerify.java:140)
[12/14/05 17:51:04:242 IST] 56e3c11d SystemErr R at
com.deere.u90262.enterprisecarrierratesrepository.batch.threads.FPPExtra
ctThread.run(FPPExtractThread.java:108)
=0D
Any help on this?
=0D
Alagammai
=0D
-----Original Message-----
From: Ramanathan, Alagammai (Cognizant)=0D
Sent: Thursday, December 15, 2005 5:01 PM
To: cry...@li...
Subject: cryptix.openpgp.PGPFatalDataFormatException: Read tried past
end of inputstream.
=0D
While decrypting huge PGP files (size>15000 bytes) using
StreamDecryptVerify.java, I am getting the below error when executing
the line:
=0D
len1 =3D decodedInputStream1.read(buf1); (Inside the while loop).
=0D
This happens, while the last byte array part of the input stream is
about to be read
=0D
Exception
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R IO error.
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R
java.io.IOException: cryptix.openpgp.PGPFatalDataFormatException: Read
tried past end of inputstream.
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R at
cryptix.openpgp.provider.PGPDecodedMessageInputStream$LiteralInputStream
.read(PGPDecodedMessageInputStream.java:595)
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R at
cryptix.openpgp.provider.PGPDecodedMessageInputStream.engineRead(PGPDeco
dedMessageInputStream.java:472)
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R at
cryptix.message.stream.DecodedMessageInputStream.read(DecodedMessageInpu
tStream.java:156)
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R at
java.io.InputStream.read(InputStream.java(Compiled Code))
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R at
com.deere.u90262.enterprisecarrierratesrepository.utility.StreamDecryptV
erify.run(StreamDecryptVerify.java:173)
[12/15/05 16:33:53:225 IST] 5757e101 SystemErr R at
com.deere.u90262.enterprisecarrierratesrepository.batch.threads.FPPExtra
ctThread.run(FPPExtractThread.java:108)
=0D
Any light on this?
=0D
Alagammai.
=0D
This e-mail and any files transmitted with it are for the sole use of the=
intended recipient(s) and may contain confidential and privileged=
information.
If you are not the intended recipient, please contact the sender by reply=
e-mail and destroy all copies of the original message.=0D
Any unauthorized review, use, disclosure, dissemination, forwarding,=
printing or copying of this email or any action taken in reliance on this=
e-mail is strictly=0D
prohibited and may be unlawful.
Visit us at http://www.cognizant.com |