[rules-users] Getting Exceptions for ChangeSet.xml resource...

Manohar Kokkula manohar.kokkula at tcs.com
Thu Nov 3 10:42:46 EDT 2011


Hi to All,

I am getting following exceptions while executing  simple application with 
ChangeSet.xml resource.

[2011:11:308 01:11:101:exception]
java.lang.RuntimeException: KnowledgeAgent exception while trying to 
deserialize KnowledgeDefinitionsPackage 
        at 
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:418)
        at 
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:120)
        at 
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:109)
        at com.code.Bankmain.createKnowledgeBase(Bankmain.java:52)
        at com.code.Bankmain.main(Bankmain.java:28)
Caused by: java.io.InvalidClassException: org.drools.rule.Package; local 
class incompatible: stream classdesc serialVersionUID = 510, local class 
serialVersionUID = 400
        at 
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:579)
        at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
        at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
        at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
        at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
        at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
        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)
        ... 4 more
[2011:11:308 01:11:103:info] KnowledgeAgent new KnowledgeBase now built 
and in use
Balance is 0
Deposit is 0


Please help me.





Thanks and regards
Manohar Kokkula
Mailto: manohar.kokkula at tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111103/71cc4ac0/attachment.html 


More information about the rules-users mailing list