Can you provide that simple test case, so I don&#39;t need to create a new maven project a flow and a test (Junit with asserts) that show that it&#39;s failing?<br>I understand your situation but try understand mine. <br><br>
<br><div class="gmail_quote">On Wed, Apr 14, 2010 at 2:52 PM, nanic23 <span dir="ltr">&lt;<a href="mailto:nanic23@hotmail.com">nanic23@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi Mauricio,<br>
<br>
My test cases are business components that I can&#39;t share. But.... this is<br>
just a very simple situation, nothing complicated here. You can do a very<br>
simple flow that will suspend in a workItem to which you pass a Long (or<br>
Integer) and then after it has been persisted try to reload it to complete<br>
the work item...<br>
<br>
In my case, I&#39;m suspending in a HumanTask that just has a regular<br>
WorkItemHandler behind (no Mina server), I am mapping a parameter of type<br>
Long..... I have also tried the Integer option provided in the graphical<br>
eclipse editor and none of them worked. When the flow is resuming and those<br>
variables are getting restored I get the exception indicated on the first<br>
post.<br>
<br>
I wanted to point out that it is working fine when the parameter mapped is a<br>
String instead of a Long or Integer.<br>
<br>
I hope this helps clarifying things.<br>
<br>
Let me know if you have any other question.<br>
<br>
Thanks,<br>
<br>
Nick.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Resuming-Flow-NPE-when-completing-a-work-item-tp716847p719300.html" target="_blank">http://n3.nabble.com/Resuming-Flow-NPE-when-completing-a-work-item-tp716847p719300.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>