Edson,
Thank you very much for your quick reply and fix.
Do you have any idea when will 4.0.5 be released?
Thanks again.
Pedro.
Pedro,
This is a bug. I opened a JIRA for it:
http://jira.jboss.com/jira/browse/JBRULES-1491
It is fixed and committed and I added a test case.
On a related note, I fixed quite a few problems related to Serialization in the last couple weeks and they will all be included in the 4.0.5 version. Meanwhile, if you are using serialization, we strongly advise you to do a local build using the 4.0.x branch:
http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/
Thanks for reporting.
[]s
Edson2008/2/29 Pedro Costa <pedrof.costa@gmail.com>:_______________________________________________
Hi All,
When serializing a working memory I get the following error:
Caused by: java.io.NotSerializableException: org.drools.util.AbstractHashTable$SingleIndex
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
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.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
............
I checked the docs and org.drools.util.AbstractHashTable$SingleIndex is not serializable ...
Any ideas how I can workarround this one??
Thanks!
Pedro.
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users