You are passing an XML file as an ObjectInputStream, but this should be data
previously serialized via an ObjectOutputStream.
-W
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users