[rules-users] Serializing WorkingMemory Problem.
Edson Tirelli
tirelli at post.com
Fri Feb 29 09:54:13 EST 2008
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
Edson
2008/2/29 Pedro Costa <pedrof.costa at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080229/a6562fc6/attachment.html
More information about the rules-users
mailing list