0 Replies Latest reply on Sep 4, 2012 2:19 AM by Hari Krishna

    Default Handler

    Hari Krishna Newbie

      Hi,

       

                i am created own service task in jbpm 5.3 eclipse tooling.i wanted to export service task,therefore i created one repository.In that wid file what i have to give for default handler.  In dependencies i have given jar file for work item handler in lib folder of repository..

       

              if i did not mention any default handler,i am getting following error..

       

      Exception in thread "main" org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.bpmn.hello:1 - TASK1:4] -- [Error: unbalanced braces [ ... ]]

      [Near : {... [ ....}]

       

      [Line: 1, Column: 1]

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:130)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:205)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:164)

                at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)

                at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)

                at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)

                at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:303)

                at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:168)

                at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:138)

                at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:130)

                at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1077)

                at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:315)

                at com.sample.ProcessMain.main(ProcessMain.java:20)

      Caused by: [Error: unbalanced braces [ ... ]]

      [Near : {... [ ....}]

                   ^

      [Line: 1, Column: 1]

                at org.mvel2.util.ParseTools.balancedCaptureWithLineAccounting(ParseTools.java:1493)

                at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:1197)

                at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:86)

                at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:49)

                at org.mvel2.MVEL.eval(MVEL.java:165)

                at org.drools.SessionConfiguration.loadWorkItemHandlers(SessionConfiguration.java:304)

                at org.drools.SessionConfiguration.initWorkItemHandlers(SessionConfiguration.java:294)

                at org.drools.SessionConfiguration.getWorkItemHandlers(SessionConfiguration.java:269)

                at org.drools.common.AbstractWorkingMemory.getWorkItemManager(AbstractWorkingMemory.java:1106)

                at org.drools.impl.StatefulKnowledgeSessionImpl.getWorkItemManager(StatefulKnowledgeSessionImpl.java:311)

                at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:124)

                ... 14 more