cancel
Showing results for 
Search instead for 
Did you mean: 

response web service return null

carlosrp
Champ in-the-making
Champ in-the-making
Hi, I have tried to create a Hello world with activities where you consume a web service, took a week doing this and finally today I could consume the web service but the value that returned was null and I don't know why.
This example is very short, you will not take much time to help me
I don't speak English very well, i speak spanish, so please forgive my mistakes

this is my wsdl

<wsdl:definitions name="HelloWorldImplService"
   targetNamespace="http://webservicecxf.cdae.uci.cu/">
   <wsdl:types>
      <xs:schema elementFormDefault="unqualified"
         targetNamespace="http://webservicecxf.cdae.uci.cu/" version="1.0">
         <xs:element name="sayHi" type="tns:sayHi" />
         <xs:element name="sayHiResponse" type="tns:sayHiResponse" />
         <xs:complexType name="sayHi">
            <xs:sequence>
               <xs:element minOccurs="0" name="arg0" type="xs:string" />
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="sayHiResponse">
            <xs:sequence>
               <xs:element minOccurs="0" name="return" type="xs:string" />
            </xs:sequence>
         </xs:complexType>
      </xs:schema>
   </wsdl:types>
   <wsdl:message name="sayHiResponse">
      <wsdl:part element="tns:sayHiResponse" name="parameters">
      </wsdl:part>
   </wsdl:message>
   <wsdl:message name="sayHi">
      <wsdl:part element="tns:sayHi" name="parameters">
      </wsdl:part>
   </wsdl:message>
   <wsdl:portType name="HelloWorld">
      <wsdl:operation name="sayHi">
         <wsdl:input message="tns:sayHi" name="sayHi">
         </wsdl:input>
         <wsdl:output message="tns:sayHiResponse" name="sayHiResponse">
         </wsdl:output>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="HelloWorldImplServiceSoapBinding"
      type="tns:HelloWorld">
      <soap:binding style="document"
         transport="http://schemas.xmlsoap.org/soap/http" />
      <wsdl:operation name="sayHi">
         <soap:operation soapAction="" style="document" />
         <wsdl:input name="sayHi">
            <soap:body use="literal" />
         </wsdl:input>
         <wsdl:output name="sayHiResponse">
            <soap:body use="literal" />
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="HelloWorldImplService">
      <wsdl:port binding="tns:HelloWorldImplServiceSoapBinding"
         name="HelloWorldImplPort">
         <soap:address location="http://localhost:8080/webservicecxf/HelloWorld" />
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>



this is my process.bpmn20.xml

<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
   targetNamespace="http://www.bpmnwithactiviti.org"
   xmlns:tns="http://www.bpmnwithactiviti.org"
   xmlns:activiti="http://activiti.org/bpmn"
   xmlns:myservice="http://webservicecxf.cdae.uci.cu/">
   
   <import importType="http://schemas.xmlsoap.org/wsdl/"
      location="http://localhost:8080/webservicecxf/HelloWorld?wsdl"
      namespace="http://webservicecxf.cdae.uci.cu/" />
      
   <message id="sayHiRequestMessage"
      itemRef="tns:sayHiRequestItem" />
   <message id="sayHiResponseMessage"
      itemRef="tns:sayHiResponseItem" />
      
   <itemDefinition id="sayHiRequestItem"
      structureRef="myservice:sayHi" />
   <itemDefinition id="sayHiResponseItem"
      structureRef="myservice:sayHiResponse" />
      
   <interface name="Say Hi"
            implementationRef="myservice:HelloWorld">
      <operation id="sayHiOperation"
               name="Say Hi operation"
               implementationRef="myservice:sayHi">
         <inMessageRef>
            tns:sayHiRequestMessage
         </inMessageRef>
         <outMessageRef>
            tns:sayHiResponseMessage
         </outMessageRef>
      </operation>
   </interface>
   
   <itemDefinition id="arg0"
               structureRef="string" />
   <itemDefinition id="return"
               structureRef="string" />
               
   <itemDefinition id="name"
               structureRef="string" />
   <itemDefinition id="greet"
               structureRef="string" />
               
   <process id="webServiceProcess">
   
      <startEvent id="startevent" name="Start"/>
      <sequenceFlow sourceRef="startevent" targetRef="webService"/>
      
      <serviceTask id="webService"
                name="Say hi web service"
                implementation="##WebService"
                operationRef="tns:sayHiOperation">
               
         <ioSpecification>
            <dataInput itemSubjectRef="tns:sayHiRequestItem" id="dataInput" />
            <dataOutput itemSubjectRef="tns:sayHiResponseItem" id="dataOutput" />
            <inputSet>
               <dataInputRefs>dataInput</dataInputRefs>
            </inputSet>
            <outputSet>
               <dataOutputRefs>dataOutput</dataOutputRefs>
            </outputSet>
         </ioSpecification>
         
         <dataInputAssociation>
            <sourceRef>name</sourceRef>
            <targetRef>arg0</targetRef>
         </dataInputAssociation>
         <dataOutputAssociation>
            <sourceRef>return</sourceRef>
            <targetRef>greet</targetRef>
         </dataOutputAssociation>
         
      </serviceTask>
      <sequenceFlow sourceRef="webService" targetRef="scriptTask1"/>
      
      <scriptTask id="scriptTask1" scriptFormat="groovy">
         <script>
            out:println greet;
         </script>
       </scriptTask>
       <sequenceFlow sourceRef="scriptTask2" targetRef="endevent"/>
      
      <endEvent id="endevent" name="End"/>
   </process>
</definitions>


this is my test unit, where greet variable return null and i don't why

public class WebServiceTest {

   @Rule
   public ActivitiRule activitiRule = new ActivitiRule("activiti.cfg-mem.xml");

   @Test
   @Deployment(resources = { "process.bpmn20.xml" })
   public void queryTask() {
      Map<String, Object> variableMap = new HashMap<String, Object>();
      variableMap.put("name", "Carlos");
      
      ProcessInstance processInstance = activitiRule.getRuntimeService()
            .startProcessInstanceByKey("webServiceProcess", variableMap);
      
      Object responseValue = activitiRule.getRuntimeService().getVariable(
            processInstance.getProcessInstanceId(), "greet");
      Assert.assertEquals("Hello Carlos", responseValue);
   }

}
13 REPLIES 13

vasile_dirla
Star Contributor
Star Contributor
According to your WSDL file I think you have a method like that in your WS:
<java>
  @WebResult
  String sayHi(@WebParam String name);
</java>
You have 2 options to solve it:
Option1:
just use @WebResult with a specific name for your result and adjust the bpmn20.xml file to have the correct mapping.
<java>
  @WebResult(name="niceName")
  String sayHi(@WebParam String name);
</java>

Option2: Adjust your bpmn20.xml file to map correctly to the jaxb-xjc generated property.
<code>
    <itemDefinition id="_return"  structureRef="string" />


       <dataOutputAssociation>
                <sourceRef>_return</sourceRef>
                <targetRef>greet</targetRef>
       </dataOutputAssociation>
</code>


The problems come from the fact that "return" is a keyword in java and because of that a safe property "_return" is generated by JAXB-XJC Schema-to-Java compiler.
for details see:  jaxb-xjc:2.1.7 library : com.sun.tools.xjc.model.CPropertyInfo.java line:122

carlosrp
Champ in-the-making
Champ in-the-making
your solution is correct, now works correctly, thank you very much, now my unit tests run fine, but i am having trouble importing my process in ActivitiExplorer, I am using activiti 5.17.0 and i added the library activiti-cxf-5.17.0.jar in the activiti-explorer \ WEB-INF \ lib directory, and does not work. Can you help me?

vasile_dirla
Star Contributor
Star Contributor
Do you have any errors in the log ?
please provide some more details and a more detailed way to reproduce it (step by step)

carlosrp
Champ in-the-making
Champ in-the-making
When I try to deploy my process in Activiti-Explorer, it displays the following error log:
{I think it's a dependency problem, but do not know what .jar add}

GRAVE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method uploadFini
shed in org.activiti.explorer.ui.custom.UploadComponent failed.
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)

        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219
)
        at com.vaadin.ui.Upload.fireUploadInterrupted(Upload.java:731)
        at com.vaadin.ui.Upload$1.streamingFailed(Upload.java:1037)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToR
eceiver(AbstractCommunicationManager.java:619)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleS
impleMultipartFileUpload(AbstractCommunicationManager.java:476)
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(
CommunicationManager.java:259)
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(Abs
tractApplicationServlet.java:495)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51
)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.j
ava:42)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1041)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:603)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:312)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: com/sun/tools/xjc/api/ErrorListener
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:274)
        at org.activiti.engine.impl.bpmn.parser.BpmnParse.getImporter(BpmnParse.
java:321)
        at org.activiti.engine.impl.bpmn.parser.BpmnParse.createImports(BpmnPars
e.java:305)
        at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java
:228)
        at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeploy
er.java:112)
        at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(
DeploymentManager.java:50)
        at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:103)
        at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:37)
        at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandIn
voker.java:24)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execut
e(CommandContextInterceptor.java:57)
        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(Sp
ringTransactionInterceptor.java:47)
        at org.springframework.transaction.support.TransactionTemplate.execute(T
ransactionTemplate.java:133)
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransa
ctionInterceptor.java:45)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterc
eptor.java:31)
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecu
torImpl.java:40)
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecu
torImpl.java:35)
        at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServi
ceImpl.java:78)
        at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(Depl
oymentBuilderImpl.java:156)
        at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiv
er.deployUploadedFile(DeploymentUploadReceiver.java:96)
        at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiv
er.uploadFinished(DeploymentUploadReceiver.java:71)
        at org.activiti.explorer.ui.custom.UploadComponent.uploadFinished(Upload
Component.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)

        … 31 more
Caused by: java.lang.ClassNotFoundException: com.sun.tools.xjc.api.ErrorListener

        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1702)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1547)
        … 58 more

carlosrp
Champ in-the-making
Champ in-the-making
Sorry, I forgot to mention that i tried to deploy my process in ActivitiExplorer after copy "activiti-cxf-5.17.0.jar" in "activiti-explorer \ WEB-INF \ lib"

vasile_dirla
Star Contributor
Star Contributor
As you can see in your log:
"Caused by: java.lang.ClassNotFoundException: com.sun.tools.xjc.api.ErrorListener"
so you need that class into your class loader.
this class could be found in: jaxb-xjc-2.1.7.jar (so you have to be sure is part of your class path)
but pay attention.. it's possible after you'll add this jar into your class path to need some other jars. (read your stacktrace and then you'll see what is necessary to do)
Smiley Wink

carlosrp
Champ in-the-making
Champ in-the-making
I added the jaxb-impl-2.1.7.jar and jaxb-xjc-2.1.7.jar in "activiti-explorer\WEB-INF\lib\"and i have now the following error:
{
Have you developed a project where you consume a web service?
Have you deployed the project in ActivitiExplorer?
Did you do changes in the project or in your ActivitiExplorer?
What changes did you do?
You can tell me step by step what did you do?
}

GRAVE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method uploadFini
shed in org.activiti.explorer.ui.custom.UploadComponent failed.
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)

        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219
)
        at com.vaadin.ui.Upload.fireUploadInterrupted(Upload.java:731)
        at com.vaadin.ui.Upload$1.streamingFailed(Upload.java:1037)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToR
eceiver(AbstractCommunicationManager.java:619)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleS
impleMultipartFileUpload(AbstractCommunicationManager.java:476)
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(
CommunicationManager.java:259)
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(Abs
tractApplicationServlet.java:495)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51
)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.j
ava:42)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1041)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:603)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:310)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javax/wsdl/WSDLException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:274)
        at org.activiti.engine.impl.bpmn.parser.BpmnParse.getImporter(BpmnParse.
java:321)
        at org.activiti.engine.impl.bpmn.parser.BpmnParse.createImports(BpmnPars
e.java:305)
        at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java
:228)
        at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeploy
er.java:112)
        at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(
DeploymentManager.java:50)
        at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:103)
        at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:37)
        at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandIn
voker.java:24)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execut
e(CommandContextInterceptor.java:57)
        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(Sp
ringTransactionInterceptor.java:47)
        at org.springframework.transaction.support.TransactionTemplate.execute(T
ransactionTemplate.java:133)
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransa
ctionInterceptor.java:45)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterc
eptor.java:31)
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecu
torImpl.java:40)
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecu
torImpl.java:35)
        at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServi
ceImpl.java:78)
        at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(Depl
oymentBuilderImpl.java:156)
        at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiv
er.deployUploadedFile(DeploymentUploadReceiver.java:96)
        at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiv
er.uploadFinished(DeploymentUploadReceiver.java:71)
        at org.activiti.explorer.ui.custom.UploadComponent.uploadFinished(Upload
Component.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)

        … 31 more
Caused by: java.lang.ClassNotFoundException: javax.wsdl.WSDLException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1702)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1547)
        … 58 more

trademak
Star Contributor
Star Contributor
If you look at our activiti-cxf module you can see all the dependencies listed there.
The error message is again obvious as you are missing the wsdl4j JAR.

Best regards,

carlosrp
Champ in-the-making
Champ in-the-making
I added all dependencies, but now I have the following error:
GRAVE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method uploadFini
shed in org.activiti.explorer.ui.custom.UploadComponent failed.
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)

        at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
        at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219
)
        at com.vaadin.ui.Upload.fireUploadInterrupted(Upload.java:731)
        at com.vaadin.ui.Upload$1.streamingFailed(Upload.java:1037)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToR
eceiver(AbstractCommunicationManager.java:619)
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleS
impleMultipartFileUpload(AbstractCommunicationManager.java:476)
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(
CommunicationManager.java:259)
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(Abs
tractApplicationServlet.java:495)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51
)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.j
ava:42)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1041)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:603)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:310)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiv
er.showUploadedDeployment(DeploymentUploadReceiver.java:114)
        at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiv
er.uploadFinished(DeploymentUploadReceiver.java:73)
        at org.activiti.explorer.ui.custom.UploadComponent.uploadFinished(Upload
Component.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)

        … 31 more