Candy,
Look at the human-task-problem.zip file that I recently attached.
This file contains a maven project with your files (ProcessTest.java and sample.bpmn) and the necessary dependencies to run it. It also contains some modifications (look at the //FIXED comments) that fixed the problem.
I hope it will help you.
Regards,