Petals SE Flowable

"FlowableException: Index: 1, Size: 1" on webservice invocation

Details

  • Description:
    Hide

    The following error occurs when invoking a webservice returning 3 or more parameters. The problem does not occur if the webservice return 0, 1 or 2 parameters.

    org.flowable.common.engine.api.FlowableException: Index: 1, Size: 1
    	at org.flowable.engine.impl.webservice.CxfWebServiceClient.send(CxfWebServiceClient.java:84)
    	at org.flowable.engine.impl.webservice.WSOperation.safeSend(WSOperation.java:83)
    	at org.flowable.engine.impl.webservice.WSOperation.sendFor(WSOperation.java:63)
    	at org.flowable.engine.impl.bpmn.webservice.Operation.sendMessage(Operation.java:54)
    	at org.flowable.engine.impl.bpmn.behavior.WebServiceActivityBehavior.execute(WebServiceActivityBehavior.java:136)
            ...
    Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    	at java.util.ArrayList.rangeCheck(ArrayList.java:659)
    	at java.util.ArrayList.get(ArrayList.java:435)
    	at org.apache.cxf.jaxws.interceptors.HolderInInterceptor.handleMessage(HolderInInterceptor.java:67)
    	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:826)
    	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1693)
    	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1570)
    	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1371)
    	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
    	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:671)
    	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
    	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:333)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
    	at org.flowable.engine.impl.webservice.CxfWebServiceClient.send(CxfWebServiceClient.java:78)
    	... 85 more
    Show
    The following error occurs when invoking a webservice returning 3 or more parameters. The problem does not occur if the webservice return 0, 1 or 2 parameters.
    org.flowable.common.engine.api.FlowableException: Index: 1, Size: 1
    	at org.flowable.engine.impl.webservice.CxfWebServiceClient.send(CxfWebServiceClient.java:84)
    	at org.flowable.engine.impl.webservice.WSOperation.safeSend(WSOperation.java:83)
    	at org.flowable.engine.impl.webservice.WSOperation.sendFor(WSOperation.java:63)
    	at org.flowable.engine.impl.bpmn.webservice.Operation.sendMessage(Operation.java:54)
    	at org.flowable.engine.impl.bpmn.behavior.WebServiceActivityBehavior.execute(WebServiceActivityBehavior.java:136)
            ...
    Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    	at java.util.ArrayList.rangeCheck(ArrayList.java:659)
    	at java.util.ArrayList.get(ArrayList.java:435)
    	at org.apache.cxf.jaxws.interceptors.HolderInInterceptor.handleMessage(HolderInInterceptor.java:67)
    	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:826)
    	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1693)
    	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1570)
    	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1371)
    	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
    	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:671)
    	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
    	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:333)
    	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
    	at org.flowable.engine.impl.webservice.CxfWebServiceClient.send(CxfWebServiceClient.java:78)
    	... 85 more
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 09:56:33 +0200

This problem is due to a Flowable problem, see flowable#2871

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 09:56:33 +0200 This problem is due to a Flowable problem, see flowable#2871
Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 09:59:05 +0200 - edited

The Flowable's problem was fixed for Flowable 6.6.0.
To merge in flowable-6.4.2-PETALS-0 and flowable-6.2.1-PETALS-1

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 09:59:05 +0200 - edited The Flowable's problem was fixed for Flowable 6.6.0. To merge in flowable-6.4.2-PETALS-0 and flowable-6.2.1-PETALS-1
Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 10:58:18 +0200

The fix of Flowable has been merged in branch 'petals-version-6.4.2.x'

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 10:58:18 +0200 The fix of Flowable has been merged in branch 'petals-version-6.4.2.x'
Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 11:38:38 +0200

Fix in branch 'petals-se-flowable-1.3.x'

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 11:38:38 +0200 Fix in branch 'petals-se-flowable-1.3.x'
Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 11:40:22 +0200

Reopened to be merged in branches 'petals-se-flowable-junit-1.2.x' and 'master'

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 11:40:22 +0200 Reopened to be merged in branches 'petals-se-flowable-junit-1.2.x' and 'master'
Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 11:49:29 +0200

The fix of Flowable has been merged in branch 'petals-version-6.2.1.x'

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 11:49:29 +0200 The fix of Flowable has been merged in branch 'petals-version-6.2.1.x'
Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 12:46:35 +0200

Fix in branch 'petals-se-flowable-junit-1.2.x'

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 12:46:35 +0200 Fix in branch 'petals-se-flowable-junit-1.2.x'
Hide
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 12:47:36 +0200 - edited

Reopened to be merged in branch 'master': we wait a new release of official Flowable including the fix flowable#2871

Show
Christophe DENEUX added a comment - Thu, 8 Apr 2021 - 12:47:36 +0200 - edited Reopened to be merged in branch 'master': we wait a new release of official Flowable including the fix flowable#2871
Hide
Christophe DENEUX added a comment - Mon, 22 Nov 2021 - 16:36:23 +0100

Contribution merged into Flowable 6.7.0 (see PETALSSEFLOWABLE-72 to upgrade version of Flowable into the service engine)

Show
Christophe DENEUX added a comment - Mon, 22 Nov 2021 - 16:36:23 +0100 Contribution merged into Flowable 6.7.0 (see PETALSSEFLOWABLE-72 to upgrade version of Flowable into the service engine)

People

Dates

  • Created:
    Thu, 8 Apr 2021 - 09:55:29 +0200
    Updated:
    Mon, 22 Nov 2021 - 16:37:06 +0100
    Resolved:
    Mon, 22 Nov 2021 - 16:36:23 +0100