[rules-users] Serializing WorkingMemory Problem.

Pedro Costa pedrof.costa at gmail.com
Mon Mar 3 06:58:10 EST 2008


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.

2008/2/29, Edson Tirelli <tirelli at post.com>:
>
>
>    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
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080303/bbf706bc/attachment.html 


More information about the rules-users mailing list