I´ve been struggling with this issue for days and i can´t understand why this happens.
I´m using jbpm 5.4 and also de jbpm-gwt-console-server services (like list all de process definitions and so on)
Everything works just fine in Red Hat, but when we changed to Ubuntu, using the exactly jboss (6.3.0) with the exactly jbpm wars and session.template, no workitem can be initialized.
If anyone has a clue what this could be, thanks.
This is the exception throwed:
ERROR [org.jbpm.integration.console.session.MVELSingleSessionManager] (http-/0.0.0.0:8080-20) Registration of work item handler UpdateAssetMetadatav1 failed due to [Error: could not create constructor: null]
[Near : {... new br.com.arizona.bpm.workItem.cm ....}]
^
[Line: 1, Column: 5]: [Error: could not create constructor: null]
[Near : {... new br.com.arizona.bpm.workItem.cm ....}]
^
[Line: 1, Column: 5]
at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeObjectCreation(ReflectiveAccessorOptimizer.java:1229) [mvel2-2.1.3.Final.jar:]
at org.mvel2.optimizers.dynamic.DynamicOptimizer.optimizeObjectCreation(DynamicOptimizer.java:98) [mvel2-2.1.3.Final.jar:]
at org.mvel2.ast.NewObjectNode.getReducedValueAccelerated(NewObjectNode.java:214) [mvel2-2.1.3.Final.jar:]
at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) [mvel2-2.1.3.Final.jar:]
at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) [mvel2-2.1.3.Final.jar:]
at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) [mvel2-2.1.3.Final.jar:]
at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113) [mvel2-2.1.3.Final.jar:]
at org.mvel2.MVEL.executeExpression(MVEL.java:969) [mvel2-2.1.3.Final.jar:]