In the text you talk about processInstanceId and in the code it is a taskInstanceId,
But besides that if this really is the case, file a jira issue.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259684#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...