ArrayIndexOutOfBoundsException In WebLogic's HttpChunkOutputStream (Doc ID 1586993.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

Sudden intermittent errors like

java.lang.ArrayIndexOutOfBoundsException 

at java.lang.System.arraycopy(Native Method)
at weblogic.utils.http.HttpChunkOutputStream.writeToChunks(HttpChunkOutputStream.java:113)
at weblogic.utils.http.HttpChunkOutputStream.write(HttpChunkOutputStream.java:141)

happen when the application makes use of java.net.URL objects in order to connect out via HTTP with code like:

 

i.e. due to the ZipOutputStream the random occurence of the problem may depend on the complex-predictable ways how your data will be compressed.

 

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