[rules-users] java.io.StreamCorruptedException: invalid stream header:

Wolfgang Laun wolfgang.laun at gmail.com
Fri Oct 1 06:06:20 EDT 2010


You are passing an XML file as an ObjectInputStream, but this should be data
previously serialized via an ObjectOutputStream.

-W


On 1 October 2010 11:00, Arne <ad at supreme.de> wrote:

>
> I get a very similar exception when try to execute the rules from my
> application. Have you ever solved the problem? Any help with this?
>
> Caused by: java.io.StreamCorruptedException: invalid stream header:
> 3C3F786D
>     at
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783)
>     at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>     at
>
> org.drools.common.DroolsObjectInputStream.<init>(DroolsObjectInputStream.java:55)
>     at
>
> org.drools.common.DroolsObjectInputStream.<init>(DroolsObjectInputStream.java:49)
>     at
> org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:189)
>     at
> org.drools.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:158)
>     at
>
> org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:408)
>     ... 75 more
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/java-io-StreamCorruptedException-invalid-stream-header-tp72630p1613385.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101001/bac93b4e/attachment.html 


More information about the rules-users mailing list