This content has been marked as final.
Show 3 replies
-
1. Re: completing human task - NoSuchFieldError: classLoader
thomas.setiabudi Mar 14, 2013 12:02 AM (in response to wishmaster7)Hi wishmaster7,
use something like this with JBPM5.4
java.util.Map<String, Object> result = new java.util.HashMap<String, Object>(); result.put("Result", action); org.jbpm.task.service.ContentData contentData = org.jbpm.task.utils.ContentMarshallerHelper.marshal(result, null); taskService.complete(taskId, userId, contentData);
Regards,
Thomas Setiabudi
-
2. Re: completing human task - NoSuchFieldError: classLoader
wishmaster7 Mar 14, 2013 3:29 AM (in response to thomas.setiabudi)Hi Thomas,
This is a good idea, and I have already tried it. But if you look at the error stack trace, you see that completeWithResults() calls complete(), which calls the marshaller another time and makes the error. So the same problem happens.
-
3. Re: completing human task - NoSuchFieldError: classLoader
wishmaster7 Mar 14, 2013 4:13 AM (in response to wishmaster7)if someone has the same problem, I found the solution:
I was using:
- jbpm-human-task-core-5.4.0.Final.jar
- drools-core-5.4.0.Final.jar
instead, use:
- jbpm-human-task-core-5.4.0.Final.jar
- drools-core-5.5.0.Final.jar