Well, jbpm persistent/jbpm human task module have a poor error/loggin handling. Much NPE and IllegalArgumentException, but well is a free and opensource product. Some comments:
1) I recommend use turn to update the value
org.jbpm.process.audit.JPAWorkingMemoryDbLogger.addProcessLog(JPAWorkingMemoryDbLogger.java:90) and see what is null.