11:28:56,071 SEVERE [org.camunda.bpm.engine.impl.interceptor.CommandContext] (http-/127.0.0.1:8080-1) Error while closing command context: org.camunda.bpm.engine.ProcessEngineException: Cannot deserialize object in variable 'invoice': SPIN/DOM-XML-01028 Cannot deserialize '[invoice: null]...' to java class 'com.camunda.demo.test.spin.Invoice' at org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer.readValue(AbstractObjectValueSerializer.java:107) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer.readValue(AbstractObjectValueSerializer.java:33) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.getTypedValue(VariableInstanceEntity.java:246) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.getValueFromVariableInstance(AbstractVariableScope.java:125) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.getVariable(AbstractVariableScope.java:112) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.getVariable(AbstractVariableScope.java:108) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at com.camunda.demo.test.spin.ReadObjectListener.notify(ReadObjectListener.java:10) at org.camunda.bpm.engine.impl.bpmn.delegate.ExecutionListenerInvocation.invoke(ExecutionListenerInvocation.java:35) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:39) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:46) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.bpmn.listener.ClassDelegateExecutionListener.notify(ClassDelegateExecutionListener.java:47) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.bpmn.listener.ClassDelegateExecutionListener.notify(ClassDelegateExecutionListener.java:33) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.instance.CoreExecution.invokeListener(CoreExecution.java:97) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:51) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.execute(PvmAtomicOperationTransitionCreateScope.java:55) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.execute(PvmAtomicOperationTransitionCreateScope.java:24) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:76) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:31) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:61) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:31) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionDestroyScope.execute(PvmAtomicOperationTransitionDestroyScope.java:118) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionDestroyScope.execute(PvmAtomicOperationTransitionDestroyScope.java:27) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerEnd.java:36) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerEnd.java:23) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:65) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext$1.call(CommandContext.java:117) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext$1.call(CommandContext.java:115) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor.call(ProcessApplicationClassloaderInterceptor.java:44) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:102) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.context.Context.executeWithinProcessApplication(Context.java:193) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:115) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.take(PvmExecutionImpl.java:280) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:101) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:50) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.leave(AbstractBpmnActivityBehavior.java:46) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.bpmn.behavior.UserTaskActivityBehavior.signal(UserTaskActivityBehavior.java:57) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.signal(PvmExecutionImpl.java:262) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:228) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.cmd.SubmitTaskFormCmd.execute(SubmitTaskFormCmd.java:73) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:97) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:59) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.impl.FormServiceImpl.submitTaskForm(FormServiceImpl.java:86) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] at org.camunda.bpm.engine.rest.sub.task.impl.TaskResourceImpl.submit(TaskResourceImpl.java:101) [camunda-engine-rest-7.2.0-ee-classes.jar:7.2.0-ee] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:159) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:107) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:154) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:92) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.5.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.5.Final.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:47) [camunda-engine-rest-7.2.0-ee-classes.jar:7.2.0-ee] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilterSecure(SecurityFilter.java:67) [classes:] at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilter(SecurityFilter.java:51) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:59) [classes:] at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:56) [classes:] at org.camunda.bpm.webapp.impl.security.SecurityActions.runWithAuthentications(SecurityActions.java:38) [classes:] at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:56) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final.jar:7.2.0.Final] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25] Caused by: org.camunda.spin.xml.SpinXmlDataFormatException: SPIN/DOM-XML-01028 Cannot deserialize '[invoice: null]...' to java class 'com.camunda.demo.test.spin.Invoice' at org.camunda.spin.impl.xml.dom.DomXmlLogger.unableToDeserialize(DomXmlLogger.java:153) at org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatMapper.mapInternalToJava(DomXmlDataFormatMapper.java:100) at org.camunda.spin.plugin.impl.SpinObjectValueSerializer.deserializeFromByteArray(SpinObjectValueSerializer.java:93) at org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer.readValue(AbstractObjectValueSerializer.java:105) [camunda-engine-7.2.0-ee.jar:7.2.0-ee] ... 128 more Caused by: java.lang.ClassNotFoundException: com.camunda.demo.test.spin.Invoice from [Module "org.camunda.spin.camunda-spin-dataformat-xml-dom:main" from local module loader @8225 (finder: local module finder @160721e (roots: D:\camundaBPM\demopoint\camunda-bpm-jboss\server\jboss-as-7.2.0.Final\modules,D:\camundaBPM\demopoint\camunda-bpm-jboss\server\jboss-as-7.2.0.Final\modules\system\layers\base))] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1] at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_25] at java.lang.Class.forName(Class.java:190) [rt.jar:1.7.0_25] at org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatMapper.mapInternalToJava(DomXmlDataFormatMapper.java:97) ... 130 more 11:28:56,280 WARNING [ExceptionHandler] (http-/127.0.0.1:8080-1) org.camunda.bpm.engine.rest.exception.RestException: Cannot submit task form 57e2ea5d-7ba0-11e4-b54a-644e20524153: Cannot deserialize object in variable 'invoice': SPIN/DOM-XML-01028 Cannot deserialize '[invoice: null]...' to java class 'com.camunda.demo.test.spin.Invoice' at org.camunda.bpm.engine.rest.sub.task.impl.TaskResourceImpl.submit(TaskResourceImpl.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) at org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:159) at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:107) at org.jboss.resteasy.core.ResourceLocator.invokeOnTargetObject(ResourceLocator.java:154) at org.jboss.resteasy.core.ResourceLocator.invoke(ResourceLocator.java:92) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.camunda.bpm.engine.rest.filter.CacheControlFilter.doFilter(CacheControlFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilterSecure(SecurityFilter.java:67) at org.camunda.bpm.webapp.impl.security.filter.SecurityFilter.doFilter(SecurityFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:59) at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter$1.execute(AuthenticationFilter.java:56) at org.camunda.bpm.webapp.impl.security.SecurityActions.runWithAuthentications(SecurityActions.java:38) at org.camunda.bpm.webapp.impl.security.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) at java.lang.Thread.run(Thread.java:724) Caused by: org.camunda.bpm.engine.ProcessEngineException: Cannot deserialize object in variable 'invoice': SPIN/DOM-XML-01028 Cannot deserialize '[invoice: null]...' to java class 'com.camunda.demo.test.spin.Invoice' at org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer.readValue(AbstractObjectValueSerializer.java:107) at org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer.readValue(AbstractObjectValueSerializer.java:33) at org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.getTypedValue(VariableInstanceEntity.java:246) at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.getValueFromVariableInstance(AbstractVariableScope.java:125) at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.getVariable(AbstractVariableScope.java:112) at org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.getVariable(AbstractVariableScope.java:108) at com.camunda.demo.test.spin.ReadObjectListener.notify(ReadObjectListener.java:10) at org.camunda.bpm.engine.impl.bpmn.delegate.ExecutionListenerInvocation.invoke(ExecutionListenerInvocation.java:35) at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:39) at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:46) at org.camunda.bpm.engine.impl.bpmn.listener.ClassDelegateExecutionListener.notify(ClassDelegateExecutionListener.java:47) at org.camunda.bpm.engine.impl.bpmn.listener.ClassDelegateExecutionListener.notify(ClassDelegateExecutionListener.java:33) at org.camunda.bpm.engine.impl.core.instance.CoreExecution.invokeListener(CoreExecution.java:97) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:51) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.execute(PvmAtomicOperationTransitionCreateScope.java:55) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionCreateScope.execute(PvmAtomicOperationTransitionCreateScope.java:24) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:76) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:31) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:61) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerTake.execute(PvmAtomicOperationTransitionNotifyListenerTake.java:31) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionDestroyScope.execute(PvmAtomicOperationTransitionDestroyScope.java:118) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionDestroyScope.execute(PvmAtomicOperationTransitionDestroyScope.java:27) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerEnd.java:36) at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(PvmAtomicOperationTransitionNotifyListenerEnd.java:23) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:65) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:429) at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:58) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:129) at org.camunda.bpm.engine.impl.interceptor.CommandContext$1.call(CommandContext.java:117) at org.camunda.bpm.engine.impl.interceptor.CommandContext$1.call(CommandContext.java:115) at org.camunda.bpm.engine.impl.context.ProcessApplicationClassloaderInterceptor.call(ProcessApplicationClassloaderInterceptor.java:44) at org.camunda.bpm.application.AbstractProcessApplication.execute(AbstractProcessApplication.java:102) at org.camunda.bpm.engine.impl.context.Context.executeWithinProcessApplication(Context.java:193) at org.camunda.bpm.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:115) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:450) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:440) at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:420) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.take(PvmExecutionImpl.java:280) at org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:101) at org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:50) at org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44) at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.leave(AbstractBpmnActivityBehavior.java:46) at org.camunda.bpm.engine.impl.bpmn.behavior.UserTaskActivityBehavior.signal(UserTaskActivityBehavior.java:57) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.signal(PvmExecutionImpl.java:262) at org.camunda.bpm.engine.impl.persistence.entity.TaskEntity.complete(TaskEntity.java:228) at org.camunda.bpm.engine.impl.cmd.SubmitTaskFormCmd.execute(SubmitTaskFormCmd.java:73) at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:97) at org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:59) at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32) at org.camunda.bpm.engine.impl.FormServiceImpl.submitTaskForm(FormServiceImpl.java:86) at org.camunda.bpm.engine.rest.sub.task.impl.TaskResourceImpl.submit(TaskResourceImpl.java:101) ... 44 more Caused by: org.camunda.spin.xml.SpinXmlDataFormatException: SPIN/DOM-XML-01028 Cannot deserialize '[invoice: null]...' to java class 'com.camunda.demo.test.spin.Invoice' at org.camunda.spin.impl.xml.dom.DomXmlLogger.unableToDeserialize(DomXmlLogger.java:153) at org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatMapper.mapInternalToJava(DomXmlDataFormatMapper.java:100) at org.camunda.spin.plugin.impl.SpinObjectValueSerializer.deserializeFromByteArray(SpinObjectValueSerializer.java:93) at org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer.readValue(AbstractObjectValueSerializer.java:105) ... 128 more Caused by: java.lang.ClassNotFoundException: com.camunda.demo.test.spin.Invoice from [Module "org.camunda.spin.camunda-spin-dataformat-xml-dom:main" from local module loader @8225 (finder: local module finder @160721e (roots: D:\camundaBPM\demopoint\camunda-bpm-jboss\server\jboss-as-7.2.0.Final\modules,D:\camundaBPM\demopoint\camunda-bpm-jboss\server\jboss-as-7.2.0.Final\modules\system\layers\base))] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatMapper.mapInternalToJava(DomXmlDataFormatMapper.java:97) ... 130 more