Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Raghu Sha
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic