<p>There was a dramatic change to the marshalling of binary packages for 5.4.CR1. AFAIK this would mean any existing binary package in Guvnor would need to be rebuilt. </p>
<p>Downgrading JARs to older versions would effectively remove the marshalling change and hence restore compatibility of older binary assets.</p>
<p>Edson, I think I am right? We need to call this loud and clear in the release notes.</p>
<p>sent on the move</p>
<p>On 16 Apr 2012 12:33, "sumatheja" <<a href="mailto:sumatheja@gmail.com">sumatheja@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm getting the same issue when I try to unmarshall a sample application which has the jbpm process (which moves out guvnor as possible cause)..... can someone guide if this is some bug? or should I change the jbpm jar version?<br>
<br><div class="gmail_quote">On Mon, Apr 16, 2012 at 11:37 AM, sumatheja <span dir="ltr"><<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br> I'm using drools and guvnor 5.4 cr1. I've few drools ruleflows which were not executing so I imported the jars from jbpm 5.2 final..... The marshalling and unmarshalling works fine if I have knowledge base without rule-flows. I hope this gives some hint..<div>
<div></div><div><br>
<br><div class="gmail_quote">On Mon, Apr 16, 2012 at 11:29 AM, Wolfgang Laun <span dir="ltr"><<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This kind of error indicates some confusion between compilation and<br>
execution of the code where this is thrown.<br>
<br>
Also, which versions of Drools do you used for marshalling and<br>
unmarshalling? There's no line 287 in the versions of<br>
org.drools.marshalling.impl.PersisterHelper.java available to me.<br>
<br>
-W<br>
<div><div></div><div><br>
<br>
On 16/04/2012, sumatheja <<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>> wrote:<br>
> Hi All,<br>
> I ran across an issue while unmarshalling StatefulKnowledgeSession.<br>
> First I'm marshalling the session using the following code which works fine<br>
><br>
> Marshaller marshaller = MarshallerFactory<br>
><br>
> .newMarshaller(workingMemory.getKnowledgeBase());<br>
> File file = new File(<br>
> "C:\\Users\\Sumatheja\\<a href="http://workingmemory.info" target="_blank">workingmemory.info</a>");<br>
> FileOutputStream fos = new FileOutputStream(file);<br>
> ByteArrayOutputStream baos = new<br>
> ByteArrayOutputStream();<br>
> marshaller.marshall(baos, workingMemory);<br>
> baos.writeTo(fos);<br>
> baos.close();<br>
><br>
> When I try to unmarshall the session using<br>
><br>
> Marshaller marshaller = MarshallerFactory<br>
> .newMarshaller(workingMemory.getKnowledgeBase());<br>
> FileInputStream fis = new<br>
> FileInputStream("C:\\Users\\Sumatheja\\<a href="http://workingmemory.info" target="_blank">workingmemory.info</a>");<br>
> workingMemory = marshaller.unmarshall(fis);<br>
><br>
> I'm getting the Error:<br>
><br>
><br>
> java.lang.AbstractMethodError:<br>
> org.jbpm.marshalling.impl.ProcessMarshallerImpl.init(Lorg/drools/marshalling/impl/MarshallerReaderContext;)V<br>
> at<br>
> org.drools.marshalling.impl.PersisterHelper.buildRegistry(PersisterHelper.java:287)<br>
> at<br>
> org.drools.marshalling.impl.ProtobufInputMarshaller.loadAndParseSession(ProtobufInputMarshaller.java:219)<br>
> at<br>
> org.drools.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:152)<br>
> at<br>
> org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:117)<br>
> at<br>
> org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:86)<br>
> at<br>
> mattelli.re.ComplianceEngine.ComplianceRunService(ComplianceEngine.java:271)<br>
> at mattelli.re.ComplianceEngine.main(ComplianceEngine.java:84)<br>
><br>
> No Idea what I'm missing out... any help will be appreciated... Thanks in<br>
> advance<br>
><br>
><br>
> --<br>
> cheers<br>
> Sumatheja Dasararaju<br>
><br>
</div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></p>