AnsweredAssumed Answered

Problem starting BPMN20 process containing Web Service Task

Question asked by ct1 on Jan 30, 2012
I have a Web Service built by using Eclipse's Java EE functionality to build Web Services from a Java class.  It is running on a Windows 7 machine under Apache Tomcat 7.0.25.  The WSDL is created by Eclipse is below.  The Web Service is very much like the example given in Chapters 7 and 11 of Activiti In Action.

I am running Activiti 5.8 under Windows 7 with Apache Tomcat 6.0.32.  I used Explorer to deploy a simple a simple BPMN20 Process that contains a Web Server Task in Explorer.  The BPMN20 file defining the process is below.   When I try to start the Process, Explorer throws a "UndeclaredThrowableException".  The Stacktrace from the tomcat log is below.

In trying to determine what might be causing the "UndeclaredThrowableException", I found several mentions of CXF not supporting complex WSDL's.  The WSDL generated by Eclipse (shown below) contained one "import" statement; otherwise it is so simple that I hardly think I qualifies as a "complex WSDL".  Just to rule out that possibility, I modified the WSDL to remove the "import" and to include the definitions that were being imported (that version of the WSDL is also below).  After restarting Tomcat to reload the Web Service, I still got the same exception.  Also, this does not seem to be the same problem reported in the Forum entry "UnsupportedOperationException when invoking a ws in workflowPosted: Wed Apr 06, 2011 6:52 pm" since that was a case of using a JavaDelegate implementation.

Could you please take a look to see if there is something that pops out to you that might indicate what I am doing incorrectly?


WSDL generated by Eclipse:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="PreviousEmploymentService" targetNamespace="http://prevemplsvc.argo.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://prevemplsvc.argo.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://prevemplsvc.argo.com/" schemaLocation="previousemployment_schema1.xsd"/>
</schema>
  </wsdl:types>
  <wsdl:message name="CheckPreviousEmploymentResponse">
    <wsdl:part name="parameters" element="tns:CheckPreviousEmploymentResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="CheckPreviousEmployment">
    <wsdl:part name="parameters" element="tns:CheckPreviousEmployment">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="PreviousEmploymentSEI">
    <wsdl:operation name="CheckPreviousEmployment">
      <wsdl:input name="CheckPreviousEmployment" message="tns:CheckPreviousEmployment">
    </wsdl:input>
      <wsdl:output name="CheckPreviousEmploymentResponse" message="tns:CheckPreviousEmploymentResponse">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PreviousEmploymentServiceSoapBinding" type="tns:PreviousEmploymentSEI">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http'/>
    <wsdl:operation name="CheckPreviousEmployment">
      <soap:operation soapAction="" style="document"/>
      <wsdl:input name="CheckPreviousEmployment">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="CheckPreviousEmploymentResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PreviousEmploymentService">
    <wsdl:port name="PreviousEmploymentPort" binding="tns:PreviousEmploymentServiceSoapBinding">
      <soap:address location="http://localhost:9696/PrevEmployCheckWS/services/PreviousEmploymentPort'/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

The WSDL file modified to remove the import:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="PreviousEmploymentService"
                  targetNamespace="http://prevemplsvc.argo.com/"
                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:tns="http://prevemplsvc.argo.com/"
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                                   xmlns:xs="http://www.w3.org/2001/XMLSchema"
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <wsdl:types>
<!–    <schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://prevemplsvc.argo.com/" schemaLocation="previousemployment_schema1.xsd"/>
</schema>
–>
      <xs:schema elementFormDefault="unqualified"
                 targetNamespace="http://prevemplsvc.argo.com/"
                 version="1.0" xmlns:tns="http://prevemplsvc.argo.com/"
                 xmlns:xs="http://www.w3.org/2001/XMLSchema">
          <xs:element name="CheckPreviousEmployment" type="tns:CheckPreviousEmployment" />
          <xs:element name="CheckPreviousEmploymentResponse" type="tns:CheckPreviousEmploymentResponse" />
          <xs:complexType name="CheckPreviousEmployment">
              <xs:sequence>
                  <xs:element minOccurs="0" name="arg0" type="xs:string" />
              </xs:sequence>
          </xs:complexType>
          <xs:complexType name="CheckPreviousEmploymentResponse">
              <xs:sequence>
                  <xs:element minOccurs="0" name="return" type="xs:string" />
              </xs:sequence>
          </xs:complexType>
      </xs:schema>     
 
  </wsdl:types>
  <wsdl:message name="CheckPreviousEmploymentResponse">
    <wsdl:part name="parameters" element="tns:CheckPreviousEmploymentResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="CheckPreviousEmployment">
    <wsdl:part name="parameters" element="tns:CheckPreviousEmployment">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="PreviousEmploymentSEI">
    <wsdl:operation name="CheckPreviousEmployment">
      <wsdl:input name="CheckPreviousEmployment" message="tns:CheckPreviousEmployment">
    </wsdl:input>
      <wsdl:output name="CheckPreviousEmploymentResponse" message="tns:CheckPreviousEmploymentResponse">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PreviousEmploymentServiceSoapBinding" type="tns:PreviousEmploymentSEI">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http'/>
    <wsdl:operation name="CheckPreviousEmployment">
      <soap:operation soapAction="" style="document"/>
      <wsdl:input name="CheckPreviousEmployment">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="CheckPreviousEmploymentResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PreviousEmploymentService">
    <wsdl:port name="PreviousEmploymentPort" binding="tns:PreviousEmploymentServiceSoapBinding">
      <soap:address location="http://localhost:9696/PrevEmployCheckWS/services/PreviousEmploymentPort'/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>




BPMN20 File containing the Web Service Task:

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:activiti="http://activiti.org/bpmn"
   xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
   xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
   xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
   targetNamespace="http://argo.com"
   xmlns:tns="http://argo.com"
   xmlns:svcwsdl="http://prevemplsvc.argo.com">
      <!–   targetNamespace="http://prevemplsvc.argo.com"
            xmlns:here="http://prevemplsvc.argo.com"    
            xmlns:here="http://argo.com" –>
       
   <import importType="http://schemas.xmlsoap.org/wsdl/"
         location="http://lusr1315:9696/PrevEmployCheckWS/services/PreviousEmploymentPort?wsdl"
         namespace="http://prevemplsvc.argo.com" />
   
   <message id="locatePrevEmplymntInfoMessage"
         itemRef="tns:CheckPreviousEmploymentItem" />
   <message id="locatePrevEmplymntInfoResponseMessage"
         itemRef="tns:CheckPreviousEmploymentResponseItem" />
         
   <itemDefinition id="CheckPreviousEmploymentItem"
         structureRef="svcwsdl:CheckPreviousEmployment" />
   <itemDefinition id="CheckPreviousEmploymentResponseItem"
         structureRef="svcwsdl:CheckPreviousEmploymentResponse" />

   <interface name ="Find Previous Employment Info"
      implementationRef="svcwsdl:PreviousEmploymentSIE" >
      <operation id="findPrevEmploymentInfoOperation"
            name="Find Previous Employment Info Operation"
            implementationRef="svcwsdl:CheckPreviousEmployment" >
         <inMessageRef>
            tns:locatePrevEmplymntInfoMessage   
         </inMessageRef>
         <outMessageRef>
            tns:locatePrevEmplymntInfoResponseMessage
         </outMessageRef>
      </operation>
   </interface>
   
   <itemDefinition id="candidateName" structureRef="string" />
   <itemDefinition id="arg0" structureRef="string" />
   <itemDefinition id="return" structureRef="string" />   
   <itemDefinition id="prevEmploymentInfo" structureRef="string" />
   
   <process id="CheckPrevEmploymentProcess" name="CheckPrevEmploymentProcess">
      <documentation>This is a callable process used to check for previous
         employment of the applicant at our company.</documentation>
      <startEvent id="checkPrevEmplymntStart" name="Check Previous Employment Start">
         <extensionElements>
            <activiti:formProperty id="candidateName"
               name="Name of Candidate"
               type="string"
               required="true"
               readable="true" writable="true"></activiti:formProperty>
         </extensionElements>
      </startEvent>
      
      <scriptTask id="logStart" name="Log Process Start"
         scriptFormat="groovy">
      <script><![CDATA[print "CheckPrevEmploymentProcess started with candidate name ${candidateName}.\n"]]></script>
      </scriptTask>
      <serviceTask id="callPrevEmplWebService" name="Call Prev Employment Web Service"
         implementation="##WebService"
         operationRef="tns:findPrevEmploymentInfoOperation">
                    
         <ioSpecification>
            <dataInput itemSubjectRef="tns:CheckPreviousEmploymentItem"
                     id="dataInput" />
            <dataOutput
                     itemSubjectRef="tns:CheckPreviousEmploymentResponseItem"
                     id="dataOutput" />
                     
            <inputSet>
               <dataInputRefs>dataInput</dataInputRefs>
            </inputSet>
            <outputSet>
               <dataOutputRefs>dataOutput</dataOutputRefs>
            </outputSet>
         </ioSpecification>
         
         <dataInputAssociation>
            <sourceRef>candidateName</sourceRef>
            <targetRef>arg0</targetRef>
         </dataInputAssociation>
         <dataOutputAssociation>
            <sourceRef>return</sourceRef>
            <targetRef>prevEmploymentInfo</targetRef>
         </dataOutputAssociation>      
      </serviceTask>
      
      <sequenceFlow id="flow2" name="" sourceRef="callPrevEmplWebService"
         targetRef="logAfterWebSvcCall"></sequenceFlow>
      <scriptTask id="logAfterWebSvcCall" name="Log Prev Emplymnt Info"
         scriptFormat="groovy">
         <script><![CDATA[print "After Call Prev Employment Web Service task,
                     candidateName is ${candidateName}.\n
                     And prevEmplInfo is ${prevEmplInfo}.\n"]]></script>
      </scriptTask>
      <endEvent id="checkPrevEmplymntEnd" name="Check Prev Emplymnt End"></endEvent>
      <sequenceFlow id="flow3" name="" sourceRef="logAfterWebSvcCall"
         targetRef="checkPrevEmplymntEnd"></sequenceFlow>
      <sequenceFlow id="flow4" name="" sourceRef="checkPrevEmplymntStart"
         targetRef="logStart"></sequenceFlow>
      <sequenceFlow id="flow5" name="" sourceRef="logStart"
         targetRef="callPrevEmplWebService"></sequenceFlow>
   </process>
   <bpmndi:BPMNDiagram id="BPMNDiagram_CheckPrevEmploymentProcess">
      <bpmndi:BPMNPlane bpmnElement="CheckPrevEmploymentProcess"
         id="BPMNPlane_CheckPrevEmploymentProcess">
         <bpmndi:BPMNShape bpmnElement="checkPrevEmplymntStart"
            id="BPMNShape_checkPrevEmplymntStart">
            <omgdc:Bounds height="35" width="35" x="90" y="98"></omgdc:Bounds>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="callPrevEmplWebService"
            id="BPMNShape_callPrevEmplWebService">
            <omgdc:Bounds height="91" width="105" x="330" y="70"></omgdc:Bounds>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="logAfterWebSvcCall"
            id="BPMNShape_logAfterWebSvcCall">
            <omgdc:Bounds height="55" width="105" x="490" y="88"></omgdc:Bounds>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="checkPrevEmplymntEnd"
            id="BPMNShape_checkPrevEmplymntEnd">
            <omgdc:Bounds height="35" width="35" x="650" y="98"></omgdc:Bounds>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="logStart" id="BPMNShape_logStart">
            <omgdc:Bounds height="55" width="105" x="170" y="88"></omgdc:Bounds>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
            <omgdi:waypoint x="435" y="115"></omgdi:waypoint>
            <omgdi:waypoint x="490" y="115"></omgdi:waypoint>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
            <omgdi:waypoint x="595" y="115"></omgdi:waypoint>
            <omgdi:waypoint x="650" y="115"></omgdi:waypoint>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
            <omgdi:waypoint x="125" y="115"></omgdi:waypoint>
            <omgdi:waypoint x="170" y="115"></omgdi:waypoint>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
            <omgdi:waypoint x="275" y="115"></omgdi:waypoint>
            <omgdi:waypoint x="330" y="115"></omgdi:waypoint>
         </bpmndi:BPMNEdge>
      </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
</definitions>

Stacktrace fromt the Exception thrown by Activiti Explorer:

Jan 30, 2012 11:34:08 AM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource ResumeScreeningProcess.png
Jan 30, 2012 11:34:08 AM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource Application Screening Process.png
CheckPrevEmploymentProcess started with candidate name JohnJohnson.
Jan 30, 2012 11:34:34 AM org.activiti.engine.impl.webservice.WSOperation safeSend
WARNING: Error calling WS http://prevemplsvc.argo.com:PreviousEmploymentService
java.lang.reflect.UndeclaredThrowableException
        at $Proxy33.bind(Unknown Source)
        at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.ja
va:286)
        at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.ja
va:206)
        at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.ja
va:199)
        at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.ja
va:154)
        at org.activiti.engine.impl.webservice.CxfWebServiceClient.<init>(CxfWebServiceClient.java:3
0)
        at org.activiti.engine.impl.webservice.CxfWebServiceClientFactory.create(CxfWebServiceClient
Factory.java:27)
        at org.activiti.engine.impl.webservice.WSService.getClient(WSService.java:62)
        at org.activiti.engine.impl.webservice.WSOperation.safeSend(WSOperation.java:75)
        at org.activiti.engine.impl.webservice.WSOperation.sendFor(WSOperation.java:63)
        at org.activiti.engine.impl.bpmn.webservice.Operation.sendMessage(Operation.java:50)
        at org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior.execute(WebServiceActiv
ityBehavior.java:76)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperati
onActivityExecute.java:44)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNo
tificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicO
perationTransitionCreateScope.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(
AtomicOperationTransitionNotifyListenerTake.java:65)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(Atomic
OperationTransitionDestroyScope.java:115)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNoti
ficationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:36)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:332
)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnA
ctivityBehavior.java:102)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavio
r(BpmnActivityBehavior.java:51)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBeh
avior.java:44)
        at org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.leave(AbstractBpmnAct
ivityBehavior.java:37)
        at org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior.execute(ScriptTaskActiv
ityBehavior.java:49)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperati
onActivityExecute.java:44)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNo
tificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicO
perationTransitionCreateScope.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(
AtomicOperationTransitionNotifyListenerTake.java:65)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(Atomic
OperationTransitionDestroyScope.java:115)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNoti
ficationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:36)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:332
)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnA
ctivityBehavior.java:102)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavio
r(BpmnActivityBehavior.java:51)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBeh
avior.java:44)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityB
ehavior.java:36)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperati
onActivityExecute.java:44)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStartInitial.eventNotification
sCompleted(AtomicOperationProcessStartInitial.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStart.eventNotificationsComple
ted(AtomicOperationProcessStart.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAt
omicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:
76)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(Executio
nEntity.java:497)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEnt
ity.java:492)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:28
6)
        at org.activiti.engine.impl.cmd.SubmitStartFormCmd.execute(SubmitStartFormCmd.java:80)
        at org.activiti.engine.impl.cmd.SubmitStartFormCmd.execute(SubmitStartFormCmd.java:35)
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java
:24)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInte
rceptor.java:42)
        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInter
ceptor.java:42)
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.j
ava:130)
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.jav
a:40)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
        at org.activiti.engine.impl.FormServiceImpl.submitStartFormData(FormServiceImpl.java:60)
        at org.activiti.explorer.ui.process.ProcessDefinitionDetailPanel$1.handleFormSubmit(ProcessD
efinitionDetailPanel.java:141)
        at org.activiti.explorer.ui.form.FormPropertiesEventListener.componentEvent(FormPropertiesEv
entListener.java:39)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1193)
        at org.activiti.explorer.ui.form.FormPropertiesForm.access$000(FormPropertiesForm.java:45)
        at org.activiti.explorer.ui.form.FormPropertiesForm$1.buttonClick(FormPropertiesForm.java:13
9)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1193)
        at com.vaadin.ui.Button.fireClick(Button.java:539)
        at com.vaadin.ui.Button.changeVariables(Button.java:206)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractC
ommunicationManager.java:1299)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommu
nicationManager.java:1219)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractC
ommunicationManager.java:735)
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManage
r.java:296)
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServ
let.java:501)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler
.java:52)
        … 149 more


Thank you.

Outcomes