AnsweredAssumed Answered

Unable to Import an Exported Model

Question asked by ncoonghe on Oct 9, 2015
Latest reply on Oct 14, 2015 by trademak
I am unable to import a model which was created using the Activiti 5.18, exported out using the Activiti Explorer. Below is the exception and attached is the model definition


0:59:17,742 [http-apr-8080-exec-2] ERROR org.activiti.editor.language.json.converter.BpmnJsonConverter  - Error converting sid-10FC1F4E-E41F-4FF6-955F-E04137F84B1F –> null
ava.lang.NullPointerException
       at org.activiti.editor.language.json.converter.SequenceFlowJsonConverter.convertToJson(SequenceFlowJsonConverter.java:67)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.processFlowElement(BpmnJsonConverter.java:386)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.processFlowElements(BpmnJsonConverter.java:374)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.convertToJson(BpmnJsonConverter.java:362)
       at org.activiti.editor.ui.ImportUploadReceiver.deployUploadedFile(ImportUploadReceiver.java:124)
       at org.activiti.editor.ui.ImportUploadReceiver.uploadFinished(ImportUploadReceiver.java:80)
       at org.activiti.explorer.ui.custom.ImportComponent.uploadFinished(ImportComponent.java:139)
       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:510)
       at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
       at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
       at com.vaadin.ui.Upload.fireUploadSuccess(Upload.java:744)
       at com.vaadin.ui.Upload$1.streamingFinished(Upload.java:1022)
       at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToReceiver(AbstractCommunicationManager.java:600)
       at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleSimpleMultipartFileUpload(AbstractCommunicationManager.java:476)
       at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(CommunicationManager.java:259)
       at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:495)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
       at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:53)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
       at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269)
       at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
       at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
       at java.lang.Thread.run(Thread.java:662)
0:59:17,747 [http-apr-8080-exec-2] ERROR org.activiti.editor.language.json.converter.BpmnJsonConverter  - Error converting sid-0D400D52-7C0C-4073-B110-2B0D72496DD6 –> null
ava.lang.NullPointerException
       at org.activiti.editor.language.json.converter.SequenceFlowJsonConverter.convertToJson(SequenceFlowJsonConverter.java:67)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.processFlowElement(BpmnJsonConverter.java:386)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.processFlowElements(BpmnJsonConverter.java:374)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.convertToJson(BpmnJsonConverter.java:362)
       at org.activiti.editor.ui.ImportUploadReceiver.deployUploadedFile(ImportUploadReceiver.java:124)
       at org.activiti.editor.ui.ImportUploadReceiver.uploadFinished(ImportUploadReceiver.java:80)
       at org.activiti.explorer.ui.custom.ImportComponent.uploadFinished(ImportComponent.java:139)
       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:510)
       at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
       at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
       at com.vaadin.ui.Upload.fireUploadSuccess(Upload.java:744)
       at com.vaadin.ui.Upload$1.streamingFinished(Upload.java:1022)
       at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToReceiver(AbstractCommunicationManager.java:600)
       at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleSimpleMultipartFileUpload(AbstractCommunicationManager.java:476)
       at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(CommunicationManager.java:259)
       at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:495)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
       at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:53)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
       at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269)
       at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
       at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
       at java.lang.Thread.run(Thread.java:662)
0:59:17,762 [http-apr-8080-exec-2] ERROR org.activiti.editor.language.json.converter.BpmnJsonConverter  - Error converting sid-9F472F21-E72F-4E91-A50D-3B26344D5351 –> null
ava.lang.NullPointerException
       at org.activiti.editor.language.json.converter.SequenceFlowJsonConverter.convertToJson(SequenceFlowJsonConverter.java:67)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.processFlowElement(BpmnJsonConverter.java:386)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.processFlowElements(BpmnJsonConverter.java:374)
       at org.activiti.editor.language.json.converter.BpmnJsonConverter.convertToJson(BpmnJsonConverter.java:362)
       at org.activiti.editor.ui.ImportUploadReceiver.deployUploadedFile(ImportUploadReceiver.java:124)
       at org.activiti.editor.ui.ImportUploadReceiver.uploadFinished(ImportUploadReceiver.java:80)
       at org.activiti.explorer.ui.custom.ImportComponent.uploadFinished(ImportComponent.java:139)
       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:510)
       at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
       at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
       at com.vaadin.ui.Upload.fireUploadSuccess(Upload.java:744)
       at com.vaadin.ui.Upload$1.streamingFinished(Upload.java:1022)
       at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToReceiver(AbstractCommunicationManager.java:600)
       at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleSimpleMultipartFileUpload(AbstractCommunicationManager.java:476)
       at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(CommunicationManager.java:259)
       at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:495)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
       at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:53)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
       at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:269)
       at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
       at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1773)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
       at java.lang.Thread.run(Thread.java:662)

Attachments

Outcomes