File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes java.io.StreamCorruptedException: invalid stream header: FEEDFEED. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "java.io.StreamCorruptedException: invalid stream header: FEEDFEED." Watch "java.io.StreamCorruptedException: invalid stream header: FEEDFEED." New topic
Author

java.io.StreamCorruptedException: invalid stream header: FEEDFEED.

Raghu Sha
Ranch Hand

Joined: Feb 02, 2013
Posts: 118
Hi,
I have the public certificate (.cer).
Generated keystore using keytool utility.

Trying to encrypt the message using above .ks.

Got exception as
java.io.StreamCorruptedException: invalid stream header: FEEDFEED.
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:781)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:278)
at org.adrod.pointtel.controller.PointController.getPointtelage(PointController.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.StreamCorruptedException: invalid stream header: FEEDFEED.
 
Similar Threads
java IO
StreamCorruptedException: invalid stream header:
EJB3 Null Pointer Exception
Store Vector in MySql database
passing values from servlet to Applet