Receiving java.lang.ArrayIndexOutOfBoundsException From Application on OC4J

(Doc ID 803623.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 22-Apr-2013***


After deploying and running the example application, I get the following error when trying to execute it:


The error log shows the following error:

java.lang.ArrayIndexOutOfBoundsException: 4
at com.evermind.server.http.SimpleBNFScanner.peek(
at com.evermind.server.http.EvermindHttpServletResponse.getIndexOfCharset(

at com.evermind.server.http.EvermindHttpServletResponse.constructContentType(
at com.evermind.server.http.EvermindHttpServletResponse.setCharacterEncoding(
at com.evermind.server.http.EvermindHttpServletResponse.getWriter(


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