logo       

Re: [drools-user] Problem with serializing WorkingMemory: msg#00163

java.drools.user

Subject: Re: [drools-user] Problem with serializing WorkingMemory

Michael,

No, this is a genuine issue. Trunk is still under heavy refactorings and development.
Please, to test and use your application, checkout the stable 3.0.x branch:

http://anonsvn.labs.jboss.com/labs/jbossrules/branches/3.0.x/

I will fix the issue in trunk asap anyway. Meanwhile, if you can open a JIRA for it, you get automatically notified when I fix it.

Thank you,

[]s
Edson

Michael Suzio wrote:

OK. Sorry, found the antlr3 jar and now rule loading works. Still a small issue, and I'm sure it's my fault -- but if someone can identify what I might have wrongly copied over or not compiled correctly?

Saving working memory
java.io.NotSerializableException: org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteAssertAction
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at java.util.ArrayList.writeObject(ArrayList.java:569)
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 :585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject (ObjectOutputStream.java:302)
at WorkingMemorySaver.saveWorkingMemory(WorkingMemorySaver.java:42)
at DroolsFailureTest.runTest(DroolsFailureTest.java:70)




--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @ www.jboss.com



---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise