<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, &quot;sumatheja&quot; &lt;<a href="mailto:sumatheja@gmail.com">sumatheja@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;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">&lt;<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi,<br>    I&#39;m using drools and guvnor 5.4 cr1. I&#39;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">&lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</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&#39;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 &lt;<a href="mailto:sumatheja@gmail.com" target="_blank">sumatheja@gmail.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt;         I ran across an issue while unmarshalling StatefulKnowledgeSession.<br>
&gt; First I&#39;m marshalling the session using the following code which works fine<br>
&gt;<br>
&gt; Marshaller marshaller = MarshallerFactory<br>
&gt;<br>
&gt; .newMarshaller(workingMemory.getKnowledgeBase());<br>
&gt;                     File file = new File(<br>
&gt;                             &quot;C:\\Users\\Sumatheja\\<a href="http://workingmemory.info" target="_blank">workingmemory.info</a>&quot;);<br>
&gt;                     FileOutputStream fos = new FileOutputStream(file);<br>
&gt;                     ByteArrayOutputStream baos = new<br>
&gt; ByteArrayOutputStream();<br>
&gt;                     marshaller.marshall(baos, workingMemory);<br>
&gt;                     baos.writeTo(fos);<br>
&gt;                     baos.close();<br>
&gt;<br>
&gt; When I try to unmarshall the session using<br>
&gt;<br>
&gt;  Marshaller marshaller = MarshallerFactory<br>
&gt;                         .newMarshaller(workingMemory.getKnowledgeBase());<br>
&gt;                       FileInputStream fis = new<br>
&gt; FileInputStream(&quot;C:\\Users\\Sumatheja\\<a href="http://workingmemory.info" target="_blank">workingmemory.info</a>&quot;);<br>
&gt;                       workingMemory = marshaller.unmarshall(fis);<br>
&gt;<br>
&gt; I&#39;m getting the Error:<br>
&gt;<br>
&gt;<br>
&gt; java.lang.AbstractMethodError:<br>
&gt; org.jbpm.marshalling.impl.ProcessMarshallerImpl.init(Lorg/drools/marshalling/impl/MarshallerReaderContext;)V<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.PersisterHelper.buildRegistry(PersisterHelper.java:287)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufInputMarshaller.loadAndParseSession(ProtobufInputMarshaller.java:219)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:152)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:117)<br>
&gt;     at<br>
&gt; org.drools.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:86)<br>
&gt;     at<br>
&gt; mattelli.re.ComplianceEngine.ComplianceRunService(ComplianceEngine.java:271)<br>
&gt;     at mattelli.re.ComplianceEngine.main(ComplianceEngine.java:84)<br>
&gt;<br>
&gt; No Idea what I&#39;m missing out... any help will be appreciated... Thanks in<br>
&gt; advance<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; cheers<br>
&gt; Sumatheja Dasararaju<br>
&gt;<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>