[rules-users] Resuming Flow: NPE when completing a work item

Mauricio Salatino salaboy at gmail.com
Wed Apr 14 15:49:59 EDT 2010


Can you provide that simple test case, so I don't need to create a new maven
project a flow and a test (Junit with asserts) that show that it's failing?
I understand your situation but try understand mine.


On Wed, Apr 14, 2010 at 2:52 PM, nanic23 <nanic23 at hotmail.com> wrote:

>
> Hi Mauricio,
>
> My test cases are business components that I can't share. But.... this is
> just a very simple situation, nothing complicated here. You can do a very
> simple flow that will suspend in a workItem to which you pass a Long (or
> Integer) and then after it has been persisted try to reload it to complete
> the work item...
>
> In my case, I'm suspending in a HumanTask that just has a regular
> WorkItemHandler behind (no Mina server), I am mapping a parameter of type
> Long..... I have also tried the Integer option provided in the graphical
> eclipse editor and none of them worked. When the flow is resuming and those
> variables are getting restored I get the exception indicated on the first
> post.
>
> I wanted to point out that it is working fine when the parameter mapped is
> a
> String instead of a Long or Integer.
>
> I hope this helps clarifying things.
>
> Let me know if you have any other question.
>
> Thanks,
>
> Nick.
> --
> View this message in context:
> http://n3.nabble.com/Resuming-Flow-NPE-when-completing-a-work-item-tp716847p719300.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100414/f46fc499/attachment.html 


More information about the rules-users mailing list