BEA-381304 java.lang.ArrayIndexOutOfBoundsException With Chunking Enabled (Doc ID 2253704.1)

Last updated on APRIL 13, 2017

Applies to:

Oracle Service Bus - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

OSB Servers are intermittently unable to process all records with chunking enabled. After disabling chunking it was able to pass all records. All other environments are able to process messages with default chunking enabled.

ERROR
-----------------------
####<21-Feb-2017 07:21:51 o'clock GMT> <Error> <WliSbTransports> <soa_server2> <OSB2> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1487661711978> <BEA-381304> <Exception in HttpOutboundMessageContext.RetrieveHttpResponseWork.run: java.lang.ArrayIndexOutOfBoundsException: 4080
java.lang.ArrayIndexOutOfBoundsException: 4080
at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:145)
at java.io.SequenceInputStream.read(SequenceInputStream.java:166)
at weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:162)
at weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:468)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:401)
at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:1005)
at com.bea.wli.sb.transports.http.HttpOutboundMessageContext.getResponse(HttpOutboundMessageContext.java:709)
at com.bea.wli.sb.transports.http.wls.HttpOutboundMessageContextWls.access$200(HttpOutboundMessageContextWls.java:20)
at com.bea.wli.sb.transports.http.wls.HttpOutboundMessageContextWls$RetrieveHttpResponseWork.handleResponse(HttpOutboundMessageContextWls.java:104)
at weblogic.net.http.AsyncResponseHandler$MuxableSocketHTTPAsyncResponse$RunnableCallback.run(AsyncResponseHandler.java:535)
at weblogic.work.ContextWrap.run(ContextWrap.java:41)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms