[rules-users] WorkingMemory deserializing problem.

Edson Tirelli tirelli at post.com
Tue Mar 4 13:44:31 EST 2008


   Pedro,

   You need to use the same rulebase you used to create the working memory
to deserialize it, as well as use the latest version of 4.0.x branch. I
fixed this problem a few days ago.

    IMPORTANT: we made an effort on improving/fixing serialization and
dynamic rules use cases in 4.0.5. So, anyone using serialization and dynamic
rules should upgrade to 4.0.5 as soon as it is released.

    []s
    Edson

2008/3/4, Pedro Costa <pedrof.costa at gmail.com>:
>
> Hi All,
>
> I'm having the following error while deserialing a workingmemory object:
>
> java.lang.ClassNotFoundException:
> com.oss.activation.rules.core.types.StepShadowProxy
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:242)
>     at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:584)
>     at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java
> :1543)
>     at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java
> :1465)
>     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java
> :1698)
>     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
>
>
> com.oss.activation.rules.core.types.Step is one of ower types that are in
> the WorkingMemory as facts. I don't know about
> com.oss.activation.rules.core.types.StepShadowProxy, I supose is a DROOLS
> generated class.
>
> Any ideas of what could be wrong here?
>
>
> Thanks!
>
> Pedro Costa.
>
> _______________________________________________
> 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/20080304/09b3e611/attachment.html 


More information about the rules-users mailing list