В activiti 6, если я запускаю экземпляр процесса, используя REST API с таблицей решений, генерируется исключение нулевого указателя.
полезная нагрузка запроса:
код состояния: 500
{
"processDefinitionKey":"a",
"businessKey":"myBusinessKey",
"variables": [
{
"name":"b",
"value":9
}
]
}
ниже выдается исключение.
04: 49: 43,453 [http-nio-8080-exec-1] ОШИБКА org.activiti.engine.impl.interceptor.CommandContext- Ошибка при закрытии контекста команды java.lang.NullPointerException в org.activiti.engine.impl.bpmn.behavior.DmnActivityBehavior.execute (DmnActivityBehavior.java:73) в org.activiti.engine.impl.agenda.ContinueProcessAne.java: 180) в org.activiti.engine.impl.agenda.ContinueProcessOperation.executeSynchronous (ContinueProcessOperation.java:131) в org.activiti.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode (ContinueProcessOperation) или ContinueProcessOperation).activiti.engine.impl.agenda.ContinueProcessOperation.run (ContinueProcessOperation.java:55) в org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation (CommandInvoker.java:73) в org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations (CommandInvoker.java:57) в org.activiti.engine.impl.interceptor.CommandInvoker.exte.Java: 42) в org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute (TransactionContextInterceptor.java:48) в org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute (CommandContextInteraciti) org.spring.SpringTransactionInterceptor $ 1.doInTransaction (SpringTransactionInterceptor.java:47) в org.springframework.transaction.support.TransactionTemplate.execute (TransactionTemplate.java:133) в org.activiti.spring.SpringTransactionInterceptor.execute (SpringTransactionInterceptor.java:45)в org.activiti.engine.impl.interceptor.LogInterceptor.execute (LogInterceptor.java:29) в org.activiti.engine.impl.cfg.CommandExecutorImpl.execute (CommandExecutorImpl.java:44) в org.activiti.engine..cfg.CommandExecutorImpl.execute (CommandExecutorImpl.java:39) по адресу org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstance (RuntimeServiceImpl.java:533) по адресу org.activiti.engine.impl.runtime.ProcessInstanceljpljp_tmp_1в org.activiti.rest.service.api.runtime.process.ProcessInstanceCollectionResource.createProcessInstance (ProcessInstanceCollectionResource.java:241) в sun.reflect.NativeMethodAccessorImpl.invoke0 (собственный метод): дочерний метод обратного пути (вторичный метод)62) в sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) в java.lang.reflect.Method.invoke (Method.java:498) в org.springframework.web.method.suableetHhodHolO.java: 221) по адресу org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:136) по адресу org.springframework.web.servlet.mvc.method.annoter.Hend.Herler.Serv.AndHandle (ServletInvocableHandlerMethod.java:110) в org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:8quer.hoter.hoter.handleInternal (RequestMappingHandlerAdapter.java:731) в org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:85) в org.springframework.web.servervpatcher.patletпо адресу org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:893) по адресу org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:968.weerFrameService) for org.spring(FrameworkServlet.java:870) в javax.servlet.http.HttpServlet.service (HttpServlet.java:648)в org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:844) в javax.servlet.http.HttpServlet.service (HttpServlet.java:729) в org.apache.catalina.core.FilinFilter.java: 292) в org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:207) в org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52) в org.ap.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:240) в org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:207) в org.springframework.Java: 316) в org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke (FilterSecurityInterceptor.java:126) в org.springframework.security.web.access.intercept.FilterSecurityInterceptor.jjна org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java:330) в org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:114) в org.springilha.FineFraF.Firf.FirFir.FirfFilterChainProxy.java:330) в org.springframework.security.web.session.SessionManagementFilter.doFilter (SessionManagementFilter.java:122) в org.springframework.security.web.FilterChainProxy $ VirtualFilter330.jpg Filter.Cherin.Chain.Cherin.jpg Filter или VirtualChain..springframework.security..SecurityContextHolderAwareRequestFilter.doFilter (SecurityContextHolderAwareRequestFilter.java:169) в org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java: 330) по адресу org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter (RequestCacheAwareFilter.java:48) по адресу org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.jaf.prog.security.web.authentication.www.BasicAuthenticationFilter..doFilter (FilterChainProxy.java:330) в org.springframework.security.web.authentication.logout.LogoutFilter.doFilter (LogoutFilter.java:120) в org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java: 330) по адресу org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal (HeaderWriterFilter.java:64) по адресу org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRejava: 10) forfilter.work.security.web.VirtualFilterChain.doFilter (FilterChainProxy.java:330) по адресу org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal (WebAsyncManagerInteestFilter.jworkquilFraterFraterFeterFeterFerterFBTF) (0)Java: 107) в org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java:330) в org.springframework.security.web.FilterChainProxy.doFilter.security.jafra.security.prof.service.pris.rag.in_file.web.FilterChainProxy.doFilter (FilterChainProxy.java:176) в org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate (DelegatingFilterProxy.java:346)в org.springframework.web.filter.DelegatingFilterProxy.doFilter (DelegatingFilterProxy.java:262) в org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:240) в org.acil.Filter.(ApplicationFilterChain.java:207) в org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:212) в org.apache.catalina.core.StandardContextValve.invoke (StandardContextVapveg).catalina.core.StandardHostValve.invoke (StandardHostValve.java:141) в org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:79) в org.apache.catalina.valves.AbjAvateLogValveal ().620) в org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:88) в org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:502) в org.apache.coyote.orttphttp.process (AbstractHttp11Processor.java:1132) в org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process (AbstractProtocol.java:684) в org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun (NioEndpoint.java:1539) в org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.Выполнить (NioEndpoint.java:1495) в java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149) в java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:6ache).util.threads.TaskThread $ WrappingRunnable.run (TaskThread.java:61) в java.lang.Thread.run (Thread.java:748) 04: 49: 43,461 [http-nio-8080-exec-1] ОШИБКА org.activiti.rest.exception.ExceptionHandlerAdvice - необработанное исключение java.lang.NullPointerException в org.activiti.engine.impl.bpmn.behavior.DmnActivityBehavior.execute (DmnActivityBehavior.java:73) в org.activiti.ndagine.ContinueProcessOperation.executeActivityBehavior (ContinueProcessOperation.java:180) в org.activiti.engine.impl.agenda.ContinueProcessOperation.executeSynchronous (ContinueProcessOperation.java:131) в org.activiti.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode (ContinueProcessOperation.java:89) в org.activiti.engine.impl.agenda.ContinueProcessOperation.run (ContinueProcessOperation.java:g55).activiti.engine.impl.interceptor.CommandInvoker.executeOperation (CommandInvoker.java:73) в org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations (CommandInvoker.java:57) в org.activiti.engine.implintercept.CommandInvoker.execute (CommandInvoker.java:42) в org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute (TransactionContextInterceptor.java:48) в org.activiti.engine.impl.interceptor.CommandContextIncept: 63) в org.activiti.spring.SpringTransactionInterceptor $ 1.doInTransaction (SpringTransactionInterceptor.java:47) в org.springframework.transaction.support.TransactionTemplate.execute (TransactionTemplate.java:133) в org.actingorpr.s.execute (SpringTransactionInterceptor.java:45) в org.activiti.engine.impl.interceptor.LogInterceptor.execute (LogInterceptor.java:29) в org.activiti.engine.impl.cfg.CommandExecutorImpl.execute (CommandExecava: 44).runtime.sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) в sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) в java.lang.redin:по адресу org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:221) по адресу org.springframework.web.method.support.InvocableHandlerMethod.inava.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:110) при org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:817) при org.springframework.web.servlet.mvc.method..doDispatch (DispatcherServlet.java:959) в org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:893) в org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:968) по адресу org.springframework.web.servlet.FrameworkServlet.doPost (FrameworkServlet.java:870) по адресу javax.servlet.http.HttpServlet.service (HttpServletfr)..web.servlet.) в org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:207) в org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:52) в org.apache.catalinaApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:240) по адресу org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:207) по адресу org.springframework.security.web.FilterChainChainFFFв org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke (FilterSecurityInterceptor.java:126) в org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter (FilterSecurityInterceptor.java:90) в org.springframework.security.web.FilterChainFhaFinForm:330) по адресу org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:114) по адресу org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChain.Security.pris.Frain.Sefin.Sefin..web.session.SessionManagementFilter.doFilter (SessionManagementFilter.java:122) atg.pringframework.security.web.FilterChainProxy(AnonymousAuthenticationFilter.java:111) в org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java:330) в org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter (SecurityContextHolderAwareRequestFilter.java:169) по адресу org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterCest.ware.Fraware.Fraser_FileCheserFF) ()48) по адресу org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java:330) по адресу org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterava.raf.web.filter.OncePerRequestFilter..doFilter (LogoutFilter.java:120) в org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java:330)по адресу org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal (HeaderWriterFilter.java:64) по адресу org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.haver.Frater.Frater.Frater.jerf.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.serg.service.jser.dll) org$ VirtualFilterChain.doFilter (FilterChainProxy.java:330) в org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter (SecurityContextPersistenceFilter.java:91) в org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java: 330) по адресу org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal (WebAsyncManagerIntegrationFilter.java:53) по адресу org.springframework.web.filter.OncePilterReFspringframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter (FilterChainProxy.java:330) в org.springframework.security.web.FilterChainProxy.doFilterInternal (FilterChainProxy.java:213) в org.springframework.security.web.DelegatingFilterProxy.java:262) в org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:240) в org.apache.catalina.core.ApplicationFilterChain.doFilter.doF20..core.StandardWrapperValve.invoke (StandardWrapperValve.java:212) при org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:94) в org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:141) в org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:79) в org.apache.catalina.valves.AbstractAccessLogValve.invoke (AbstractAccessLogValve.java:620) в org.apache.cataltavere.invoke (StandardEngineValve.java:88) в org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:502) в org.apache.coyote.http11.AbstractHttp11Processor.process (AbstractHttp11Processor.java:1132) в org.apache.coyote.AbstractProandler AbstractConsole.Java: 684) в org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun (NioEndpoint.java:1539) в org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run (NioEndpoint.java:1495)в java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149) в java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:624) в org.apache.treadcatTra.run (TaskThread.java:61) at java.lang.Thread.run (Thread.java:748)
Ниже приведен файл приложения: Ссылка для созданного мной файла приложения