Hi,
Yes i use the same version for drools and guvnor 5.1
2011/9/15 Michael Anstis <michael.anstis(a)gmail.com>
Was your BRL generated from the same version of Guvnor as you are
trying to
de-serialise?
The XStream error you show normally happens when there has been a change to
the Object model from which the XML was created and the model to which you
are trying to hydrate.
2011/9/15 AZZAZ mohamed <azzazm(a)gmail.com>
> Hi,
>
> I want to convert my file. brl to file. drl. I have this exception. does
> anyone has an idea (solution)
> thank you in advance
>
> Caused by: com.thoughtworks.xstream.converters.ConversionException:
> metadataList : metadataList : metadataList : metadataList
> ---- Debugging information ----
> message : metadataList : metadataList
> cause-exception :
> com.thoughtworks.xstream.mapper.CannotResolveClassException
> cause-message : metadataList : metadataList
> class : org.drools.brms.client.modeldriven.brl.RuleModel
> required-type : org.drools.brms.client.modeldriven.brl.RuleModel
> path : /rule/metadataList
> -------------------------------
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
> at
>
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
> at
>
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
> at
>
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
> at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
> at
>
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
> at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
> at
> org.drools.brms.server.util.BRXMLPersistence.unmarshal(BRXMLPersistence.java:91)
> at fr.dto.RulesEngine.<init>(RulesEngine.java:42)
> ... 2 more
> Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException:
> metadataList : metadataList
> at
> com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)
> at
> com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
> at
>
com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users