HTTP task execute parallel in same transaction not working in 6.8.0

Since upgrading to 6.8 we aren’t able to call HTTP tasks in true parallel with the “execute parallel in same transaction” property.

Is this a known bug? We were using this feature extensively in 6.7.2.

I’ve created a simple example process that fails when setting the property to true. It succeeds when setting the property to false.

<?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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.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" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef" exporter="Flowable Open Source Modeler" exporterVersion="6.8.0">
  <process id="ce_call" name="Basic Call to Node" isExecutable="true">
    <startEvent id="startEvent1" flowable:formFieldValidation="true"></startEvent>
    <scriptTask id="script_init_ce0" name="Init" scriptFormat="groovy" flowable:autoStoreVariables="true">
      <script><![CDATA[basepath = System.getenv("ALB_STACKONLY")

auth = "Basic " + System.getenv("FLOWABLE_TO_NODEJS_TOKEN")]]></script>
    </scriptTask>
    <sequenceFlow id="sid-B0B4A351-3FB2-4EEC-A9F3-AE2865F356E0" sourceRef="startEvent1" targetRef="script_init_ce0"></sequenceFlow>
    <serviceTask id="call_node00001" name="Call NodeJs" flowable:parallelInSameTransaction="true" flowable:type="http">
      <extensionElements>
        <flowable:field name="requestMethod">
          <flowable:string><![CDATA[GET]]></flowable:string>
        </flowable:field>
        <flowable:field name="requestUrl">
          <flowable:expression><![CDATA[${basepath}/api/system/version]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestHeaders">
          <flowable:expression><![CDATA[Authorization: ${auth}
Content-Type: application/json
accept: application/json]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestTimeout">
          <flowable:string><![CDATA[20000]]></flowable:string>
        </flowable:field>
        <flowable:field name="responseVariableName">
          <flowable:string><![CDATA[test]]></flowable:string>
        </flowable:field>
        <flowable:field name="ignoreException">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
        <flowable:field name="saveResponseVariableAsJson">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <endEvent id="sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E"></endEvent>
    <sequenceFlow id="sid-17DFD457-E4C0-4C83-8152-6E829868C809" sourceRef="call_node00001" targetRef="sid-7440284B-44E9-4CAF-B54C-BB9C19679441"></sequenceFlow>
    <sequenceFlow id="sid-38147C9D-107C-4C53-97C0-0D6886E9DB3E" sourceRef="script_init_ce0" targetRef="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046"></sequenceFlow>
    <serviceTask id="call_node00002" name="Call NodeJs" flowable:parallelInSameTransaction="true" flowable:type="http">
      <extensionElements>
        <flowable:field name="requestMethod">
          <flowable:string><![CDATA[GET]]></flowable:string>
        </flowable:field>
        <flowable:field name="requestUrl">
          <flowable:expression><![CDATA[${basepath}/api/system/version]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestHeaders">
          <flowable:expression><![CDATA[Authorization: ${auth}
Content-Type: application/json
accept: application/json]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestTimeout">
          <flowable:string><![CDATA[20000]]></flowable:string>
        </flowable:field>
        <flowable:field name="responseVariableName">
          <flowable:string><![CDATA[test2]]></flowable:string>
        </flowable:field>
        <flowable:field name="ignoreException">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
        <flowable:field name="saveResponseVariableAsJson">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <parallelGateway id="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046"></parallelGateway>
    <parallelGateway id="sid-7440284B-44E9-4CAF-B54C-BB9C19679441"></parallelGateway>
    <sequenceFlow id="sid-18DFE3CD-03BE-4606-859C-F9D673D53E53" sourceRef="call_node00002" targetRef="sid-7440284B-44E9-4CAF-B54C-BB9C19679441"></sequenceFlow>
    <sequenceFlow id="sid-A9832DAF-9F58-4BD7-A44B-A973110AD4CA" sourceRef="sid-7440284B-44E9-4CAF-B54C-BB9C19679441" targetRef="sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E"></sequenceFlow>
    <sequenceFlow id="sid-1297D1CD-1C6E-4FD1-A2C8-A914D80EFB9A" sourceRef="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046" targetRef="call_node00001"></sequenceFlow>
    <sequenceFlow id="sid-C2D9A6F9-E064-4BA5-91DF-E21EABC5F732" sourceRef="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046" targetRef="call_node00002"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_ce_call">
    <bpmndi:BPMNPlane bpmnElement="ce_call" id="BPMNPlane_ce_call">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="90.0" y="245.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="script_init_ce0" id="BPMNShape_script_init_ce0">
        <omgdc:Bounds height="80.0" width="100.0" x="210.0" y="220.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="call_node00001" id="BPMNShape_call_node00001">
        <omgdc:Bounds height="80.0" width="100.0" x="570.0" y="140.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E" id="BPMNShape_sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E">
        <omgdc:Bounds height="28.0" width="28.0" x="839.9999874830248" y="260.99999620020395"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="call_node00002" id="BPMNShape_call_node00002">
        <omgdc:Bounds height="80.0" width="100.0" x="569.9999915063382" y="314.9999953061343"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046" id="BPMNShape_sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046">
        <omgdc:Bounds height="40.0" width="40.0" x="450.75" y="240.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7440284B-44E9-4CAF-B54C-BB9C19679441" id="BPMNShape_sid-7440284B-44E9-4CAF-B54C-BB9C19679441">
        <omgdc:Bounds height="40.0" width="40.0" x="719.999989271164" y="254.99999620020395"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-17DFD457-E4C0-4C83-8152-6E829868C809" id="BPMNEdge_sid-17DFD457-E4C0-4C83-8152-6E829868C809" flowable:sourceDockerX="50.0" flowable:sourceDockerY="40.0" flowable:targetDockerX="20.5" flowable:targetDockerY="20.5">
        <omgdi:waypoint x="669.9499999999998" y="219.58693141014"></omgdi:waypoint>
        <omgdi:waypoint x="728.7794897587585" y="266.2152737228956"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1297D1CD-1C6E-4FD1-A2C8-A914D80EFB9A" id="BPMNEdge_sid-1297D1CD-1C6E-4FD1-A2C8-A914D80EFB9A" flowable:sourceDockerX="20.5" flowable:sourceDockerY="20.5" flowable:targetDockerX="50.0" flowable:targetDockerY="40.0">
        <omgdi:waypoint x="484.1946564885495" y="253.4770992366412"></omgdi:waypoint>
        <omgdi:waypoint x="570.0" y="207.03176470588238"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-A9832DAF-9F58-4BD7-A44B-A973110AD4CA" id="BPMNEdge_sid-A9832DAF-9F58-4BD7-A44B-A973110AD4CA" flowable:sourceDockerX="20.5" flowable:sourceDockerY="20.5" flowable:targetDockerX="14.0" flowable:targetDockerY="14.0">
        <omgdi:waypoint x="759.5253871503388" y="275.41592540241345"></omgdi:waypoint>
        <omgdi:waypoint x="840.000117768766" y="275.06144948338533"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-38147C9D-107C-4C53-97C0-0D6886E9DB3E" id="BPMNEdge_sid-38147C9D-107C-4C53-97C0-0D6886E9DB3E" flowable:sourceDockerX="50.0" flowable:sourceDockerY="40.0" flowable:targetDockerX="20.759493670886076" flowable:targetDockerY="20.5">
        <omgdi:waypoint x="309.94999999999266" y="260.1180798060954"></omgdi:waypoint>
        <omgdi:waypoint x="451.2019938811169" y="260.45199388113195"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-C2D9A6F9-E064-4BA5-91DF-E21EABC5F732" id="BPMNEdge_sid-C2D9A6F9-E064-4BA5-91DF-E21EABC5F732" flowable:sourceDockerX="20.5" flowable:sourceDockerY="20.5" flowable:targetDockerX="50.0" flowable:targetDockerY="40.0">
        <omgdi:waypoint x="482.83726111301587" y="267.86187053704464"></omgdi:waypoint>
        <omgdi:waypoint x="569.9999915063381" y="323.2352891877788"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-B0B4A351-3FB2-4EEC-A9F3-AE2865F356E0" id="BPMNEdge_sid-B0B4A351-3FB2-4EEC-A9F3-AE2865F356E0" flowable:sourceDockerX="15.0" flowable:sourceDockerY="15.0" flowable:targetDockerX="50.0" flowable:targetDockerY="40.0">
        <omgdi:waypoint x="119.94999923927439" y="260.0"></omgdi:waypoint>
        <omgdi:waypoint x="210.0" y="260.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-18DFE3CD-03BE-4606-859C-F9D673D53E53" id="BPMNEdge_sid-18DFE3CD-03BE-4606-859C-F9D673D53E53" flowable:sourceDockerX="50.0" flowable:sourceDockerY="40.0" flowable:targetDockerX="20.5" flowable:targetDockerY="20.5">
        <omgdi:waypoint x="669.9499915063382" y="322.0124431980061"></omgdi:waypoint>
        <omgdi:waypoint x="728.4499893061445" y="283.43012123509703"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

And stacktrace for the fault situation:

	at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1732) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) ~[spring-boot-actuator-2.6.2.jar!/:2.6.2]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:181) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327) ~[spring-security-web-5.6.1.jar!/:5.6.1]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) ~[tomcat-embed-core-9.0.56.jar!/:na]
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.14.jar!/:5.3.14]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.14.jar!/:5.3.14]
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.14.jar!/:5.3.14]
	at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at org.flowable.rest.service.api.runtime.process.ProcessInstanceCollectionResource.createProcessInstance(ProcessInstanceCollectionResource.java:328) ~[flowable-rest-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.runtime.ProcessInstanceBuilderImpl.start(ProcessInstanceBuilderImpl.java:265) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.RuntimeServiceImpl.startProcessInstance(RuntimeServiceImpl.java:792) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:57) ~[flowable-spring-common-6.8.0.jar!/:6.8.0]
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) ~[spring-tx-5.3.14.jar!/:5.3.14]
	at org.flowable.common.spring.SpringTransactionInterceptor.lambda$execute$0(SpringTransactionInterceptor.java:57) ~[flowable-spring-common-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:105) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:26) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:72) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:114) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:130) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.AbstractEngineConfiguration.lambda$new$0(AbstractEngineConfiguration.java:195) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:88) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.agenda.DebugContinueProcessOperation.continueThroughFlowNode(DebugContinueProcessOperation.java:51) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:125) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:175) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:298) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.bpmn.helper.ClassDelegate.execute(ClassDelegate.java:194) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.bpmn.behavior.ServiceTaskFutureJavaDelegateActivityBehavior.execute(ServiceTaskFutureJavaDelegateActivityBehavior.java:120) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:26) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:32) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.delegate.invocation.FutureJavaDelegateInvocation.invoke(FutureJavaDelegateInvocation.java:38) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.engine.impl.bpmn.http.DefaultBpmnHttpActivityDelegate.execute(DefaultBpmnHttpActivityDelegate.java:111) ~[flowable-engine-6.8.0.jar!/:6.8.0]
	at org.flowable.http.common.impl.BaseHttpActivityDelegate.prepareAndExecuteRequest(BaseHttpActivityDelegate.java:223) ~[flowable-http-common-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.async.DefaultAsyncTaskInvoker.submit(DefaultAsyncTaskInvoker.java:40) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at org.flowable.common.engine.impl.async.DefaultAsyncTaskExecutor.submit(DefaultAsyncTaskExecutor.java:89) ~[flowable-engine-common-6.8.0.jar!/:6.8.0]
	at java.base/java.util.concurrent.CompletableFuture.supplyAsync(CompletableFuture.java:1931) ~[na:na]
	at java.base/java.util.concurrent.CompletableFuture.screenExecutor(CompletableFuture.java:451) ~[na:na]
java.lang.NullPointerException: null
2023-04-05 13:31:22.501 ERROR 1 --- [-8080-exec-4399] o.f.c.r.e.BaseExceptionHandlerAdvice     : Unhandled exception

Shameless bump… is this forum the right place or should I log an issue on github?

Anyone who has this working as intended?

Hi @CElbersen,

it looks like the NullPointerException stacktrace is not in the output. Could it be that the stacktrace is omitted by the JVM? Can you post the full stacktrace?

See also NullPointerException in Java with no StackTrace - Stack Overflow

Valentin

Hi @valentin ,

I tried to launch it as ‘java -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Dfile.encoding=UTF-8 -cp /app:/app/WEB-INF/classes:/app/WEB-INF/lib/* org.flowable.ui.application.FlowableUiApplication’.

It does not seem to give any more details.
Still gives me the same stacktrace:

2023-04-25 14:10:51 java.lang.NullPointerException: null
2023-04-25 14:10:51     at java.base/java.util.concurrent.CompletableFuture.screenExecutor(Unknown Source) ~[na:na]
2023-04-25 14:10:51     at java.base/java.util.concurrent.CompletableFuture.supplyAsync(Unknown Source) ~[na:na]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.async.DefaultAsyncTaskExecutor.submit(DefaultAsyncTaskExecutor.java:89) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.async.DefaultAsyncTaskInvoker.submit(DefaultAsyncTaskInvoker.java:40) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.http.common.impl.BaseHttpActivityDelegate.prepareAndExecuteRequest(BaseHttpActivityDelegate.java:223) ~[flowable-http-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.bpmn.http.DefaultBpmnHttpActivityDelegate.execute(DefaultBpmnHttpActivityDelegate.java:111) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.delegate.invocation.FutureJavaDelegateInvocation.invoke(FutureJavaDelegateInvocation.java:38) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.delegate.invocation.DelegateInvocation.proceed(DelegateInvocation.java:32) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.delegate.invocation.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:26) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.bpmn.behavior.ServiceTaskFutureJavaDelegateActivityBehavior.execute(ServiceTaskFutureJavaDelegateActivityBehavior.java:120) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.bpmn.helper.ClassDelegate.execute(ClassDelegate.java:194) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeActivityBehavior(ContinueProcessOperation.java:298) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.agenda.ContinueProcessOperation.executeSynchronous(ContinueProcessOperation.java:175) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.agenda.ContinueProcessOperation.continueThroughFlowNode(ContinueProcessOperation.java:125) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.agenda.ContinueProcessOperation.run(ContinueProcessOperation.java:88) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.AbstractEngineConfiguration.lambda$new$0(AbstractEngineConfiguration.java:195) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:130) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:114) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:72) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.interceptor.BpmnOverrideContextInterceptor.execute(BpmnOverrideContextInterceptor.java:26) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:53) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:105) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:52) ~[flowable-spring-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51) ~[flowable-engine-common-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.RuntimeServiceImpl.startProcessInstance(RuntimeServiceImpl.java:792) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.runtime.ProcessInstanceBuilderImpl.start(ProcessInstanceBuilderImpl.java:265) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.engine.impl.RuntimeServiceImpl.startProcessInstanceWithForm(RuntimeServiceImpl.java:186) ~[flowable-engine-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.ui.task.service.runtime.FlowableProcessInstanceService.startNewProcessInstance(FlowableProcessInstanceService.java:133) ~[flowable-ui-task-logic-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.ui.task.service.runtime.FlowableProcessInstanceService$$FastClassBySpringCGLIB$$6558533.invoke(<generated>) ~[flowable-ui-task-logic-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) ~[spring-aop-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) ~[spring-tx-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) ~[spring-tx-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) ~[spring-aop-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) ~[spring-aop-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.flowable.ui.task.service.runtime.FlowableProcessInstanceService$$EnhancerBySpringCGLIB$$b01c9855.startNewProcessInstance(<generated>) ~[flowable-ui-task-logic-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at org.flowable.ui.task.rest.runtime.ProcessInstancesResource.startNewProcessInstance(ProcessInstancesResource.java:33) ~[flowable-ui-task-rest-6.8.0.jar:6.8.0]
2023-04-25 14:10:51     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
2023-04-25 14:10:51     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
2023-04-25 14:10:51     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
2023-04-25 14:10:51     at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
2023-04-25 14:10:51     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at javax.servlet.http.HttpServlet.service(HttpServlet.java:696) ~[tomcat-embed-core-9.0.69.jar:4.0.FR]
2023-04-25 14:10:51     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) ~[tomcat-embed-core-9.0.69.jar:4.0.FR]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:352) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:117) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:131) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:85) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:145) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:101) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:164) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:227) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:221) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:117) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:225) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:190) ~[spring-security-web-5.8.1.jar:5.8.1]
2023-04-25 14:10:51     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) ~[spring-boot-actuator-2.7.6.jar:2.7.6]
2023-04-25 14:10:51     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) ~[spring-web-5.3.24.jar:5.3.24]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.69.jar:9.0.69]
2023-04-25 14:10:51     at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

For testing purposes I’ve changed the HTTP task to point to flowable’s management engine REST call.
It’s super easy to reproduce: run the docker, upload the bpmn, start it (no vars required).
To test the working scenario (not parallel in same transaction) remove the flowable:parallelInSameTransaction=“true” property.

Due to max message size I’ll past the BPMN in my next reply.

The BPMN example:

<?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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.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" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef" exporter="Flowable Open Source Modeler" exporterVersion="6.8.0">
  <process id="ce_callf" name="Basic Call to Flowable" isExecutable="true">
    <extensionElements>
      <flowable:historyLevel xmlns:flowable="http://flowable.org/bpmn"><![CDATA[full]]></flowable:historyLevel>
    </extensionElements>
    <startEvent id="startEvent1" flowable:formFieldValidation="true"></startEvent>
    <scriptTask id="script_init_ce0" name="Init" scriptFormat="groovy" flowable:autoStoreVariables="true">
      <script><![CDATA[url = "http://localhost:8080/flowable-ui/process-api/management/engine-properties"

auth = "Basic " + "YWRtaW46dGVzdA=="]]></script>
    </scriptTask>
    <sequenceFlow id="sid-B0B4A351-3FB2-4EEC-A9F3-AE2865F356E0" sourceRef="startEvent1" targetRef="script_init_ce0"></sequenceFlow>
    <serviceTask id="call_flowable1" name="Call Flowable1" flowable:parallelInSameTransaction="true" flowable:type="http">
      <extensionElements>
        <flowable:field name="requestMethod">
          <flowable:string><![CDATA[GET]]></flowable:string>
        </flowable:field>
        <flowable:field name="requestUrl">
          <flowable:expression><![CDATA[${url}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestHeaders">
          <flowable:expression><![CDATA[Authorization: ${auth}
Content-Type: application/json
accept: application/json]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestTimeout">
          <flowable:string><![CDATA[20000]]></flowable:string>
        </flowable:field>
        <flowable:field name="responseVariableName">
          <flowable:string><![CDATA[test]]></flowable:string>
        </flowable:field>
        <flowable:field name="ignoreException">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
        <flowable:field name="saveResponseVariableAsJson">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <endEvent id="sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E"></endEvent>
    <sequenceFlow id="sid-17DFD457-E4C0-4C83-8152-6E829868C809" sourceRef="call_flowable1" targetRef="sid-7440284B-44E9-4CAF-B54C-BB9C19679441"></sequenceFlow>
    <sequenceFlow id="sid-38147C9D-107C-4C53-97C0-0D6886E9DB3E" sourceRef="script_init_ce0" targetRef="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046"></sequenceFlow>
    <serviceTask id="call_flowable2" name="Call Flowable2" flowable:parallelInSameTransaction="true" flowable:type="http">
      <extensionElements>
        <flowable:field name="requestMethod">
          <flowable:string><![CDATA[GET]]></flowable:string>
        </flowable:field>
        <flowable:field name="requestUrl">
          <flowable:expression><![CDATA[${url}]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestHeaders">
          <flowable:expression><![CDATA[Authorization: ${auth}
Content-Type: application/json
accept: application/json]]></flowable:expression>
        </flowable:field>
        <flowable:field name="requestTimeout">
          <flowable:string><![CDATA[20000]]></flowable:string>
        </flowable:field>
        <flowable:field name="responseVariableName">
          <flowable:string><![CDATA[test2]]></flowable:string>
        </flowable:field>
        <flowable:field name="ignoreException">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
        <flowable:field name="saveResponseVariableAsJson">
          <flowable:string><![CDATA[true]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <parallelGateway id="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046"></parallelGateway>
    <parallelGateway id="sid-7440284B-44E9-4CAF-B54C-BB9C19679441"></parallelGateway>
    <sequenceFlow id="sid-18DFE3CD-03BE-4606-859C-F9D673D53E53" sourceRef="call_flowable2" targetRef="sid-7440284B-44E9-4CAF-B54C-BB9C19679441"></sequenceFlow>
    <sequenceFlow id="sid-A9832DAF-9F58-4BD7-A44B-A973110AD4CA" sourceRef="sid-7440284B-44E9-4CAF-B54C-BB9C19679441" targetRef="sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E"></sequenceFlow>
    <sequenceFlow id="sid-1297D1CD-1C6E-4FD1-A2C8-A914D80EFB9A" sourceRef="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046" targetRef="call_flowable1"></sequenceFlow>
    <sequenceFlow id="sid-C2D9A6F9-E064-4BA5-91DF-E21EABC5F732" sourceRef="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046" targetRef="call_flowable2"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_ce_callf">
    <bpmndi:BPMNPlane bpmnElement="ce_callf" id="BPMNPlane_ce_callf">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="90.0" y="245.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="script_init_ce0" id="BPMNShape_script_init_ce0">
        <omgdc:Bounds height="80.0" width="100.0" x="210.0" y="220.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="call_flowable1" id="BPMNShape_call_flowable1">
        <omgdc:Bounds height="80.0" width="100.0" x="570.0" y="140.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E" id="BPMNShape_sid-8BE2B040-9C28-4675-852C-24FA0FB1A00E">
        <omgdc:Bounds height="28.0" width="28.0" x="839.9999874830248" y="260.99999620020395"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="call_flowable2" id="BPMNShape_call_flowable2">
        <omgdc:Bounds height="80.0" width="100.0" x="569.9999915063382" y="314.9999953061343"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046" id="BPMNShape_sid-B2381A41-F30C-4F33-A22D-67B2BB9B1046">
        <omgdc:Bounds height="40.0" width="40.0" x="450.75" y="240.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-7440284B-44E9-4CAF-B54C-BB9C19679441" id="BPMNShape_sid-7440284B-44E9-4CAF-B54C-BB9C19679441">
        <omgdc:Bounds height="40.0" width="40.0" x="719.999989271164" y="254.99999620020395"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-17DFD457-E4C0-4C83-8152-6E829868C809" id="BPMNEdge_sid-17DFD457-E4C0-4C83-8152-6E829868C809" flowable:sourceDockerX="50.0" flowable:sourceDockerY="40.0" flowable:targetDockerX="20.5" flowable:targetDockerY="20.5">
        <omgdi:waypoint x="669.9499999999998" y="219.58693141014"></omgdi:waypoint>
        <omgdi:waypoint x="728.7794897587585" y="266.2152737228956"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-1297D1CD-1C6E-4FD1-A2C8-A914D80EFB9A" id="BPMNEdge_sid-1297D1CD-1C6E-4FD1-A2C8-A914D80EFB9A" flowable:sourceDockerX="20.5" flowable:sourceDockerY="20.5" flowable:targetDockerX="50.0" flowable:targetDockerY="40.0">
        <omgdi:waypoint x="484.1946564885495" y="253.4770992366412"></omgdi:waypoint>
        <omgdi:waypoint x="570.0" y="207.03176470588238"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-A9832DAF-9F58-4BD7-A44B-A973110AD4CA" id="BPMNEdge_sid-A9832DAF-9F58-4BD7-A44B-A973110AD4CA" flowable:sourceDockerX="20.5" flowable:sourceDockerY="20.5" flowable:targetDockerX="14.0" flowable:targetDockerY="14.0">
        <omgdi:waypoint x="759.5253871503388" y="275.41592540241345"></omgdi:waypoint>
        <omgdi:waypoint x="840.000117768766" y="275.06144948338533"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-38147C9D-107C-4C53-97C0-0D6886E9DB3E" id="BPMNEdge_sid-38147C9D-107C-4C53-97C0-0D6886E9DB3E" flowable:sourceDockerX="50.0" flowable:sourceDockerY="40.0" flowable:targetDockerX="20.759493670886076" flowable:targetDockerY="20.5">
        <omgdi:waypoint x="309.94999999999266" y="260.1180798060954"></omgdi:waypoint>
        <omgdi:waypoint x="451.2019938811169" y="260.45199388113195"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-C2D9A6F9-E064-4BA5-91DF-E21EABC5F732" id="BPMNEdge_sid-C2D9A6F9-E064-4BA5-91DF-E21EABC5F732" flowable:sourceDockerX="20.5" flowable:sourceDockerY="20.5" flowable:targetDockerX="50.0" flowable:targetDockerY="40.0">
        <omgdi:waypoint x="482.83726111301587" y="267.86187053704464"></omgdi:waypoint>
        <omgdi:waypoint x="569.9999915063381" y="323.2352891877788"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-B0B4A351-3FB2-4EEC-A9F3-AE2865F356E0" id="BPMNEdge_sid-B0B4A351-3FB2-4EEC-A9F3-AE2865F356E0" flowable:sourceDockerX="15.0" flowable:sourceDockerY="15.0" flowable:targetDockerX="50.0" flowable:targetDockerY="40.0">
        <omgdi:waypoint x="119.94999923927439" y="260.0"></omgdi:waypoint>
        <omgdi:waypoint x="210.0" y="260.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-18DFE3CD-03BE-4606-859C-F9D673D53E53" id="BPMNEdge_sid-18DFE3CD-03BE-4606-859C-F9D673D53E53" flowable:sourceDockerX="50.0" flowable:sourceDockerY="40.0" flowable:targetDockerX="20.5" flowable:targetDockerY="20.5">
        <omgdi:waypoint x="669.9499915063382" y="322.0124431980061"></omgdi:waypoint>
        <omgdi:waypoint x="728.4499893061445" y="283.43012123509703"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

@valentin I’ve picked up this issue again, sadly the stacktrace is what it is. Best I can do is show the stacktrace as it shows while debugging (catch exceptions).

In CompletableFuture the exception is raised by this method:

image

Trailing back to the calling method brought me to this method in the same file:


As you can see, executor is already null at this point.

This method was called in DefaultAsyncExecutor class by this method:


Notice that executorService is null.
image
Maybe some init has gone wrong?

Did something change between 6.7.2 and 6.8? Looking at the history of this class it only looks like configuration has been moved to another class.

Hopefully this gives a litte more information. Could you please have another look?

Thanks in advance!

Hi @CElbersen / @valentin , any update on this issue ? when we move from 6.7.2 to 6.8.0 version,
we are also facing the same issue.

Hey @balajisundarajan8,

I believe that the root cause for this has been found and fixed in Make sure DefaultAsyncTaskExecutor is started · flowable/flowable-engine@03d8680 · GitHub

Cheers,
Filip