Applying CPUJAN2009 causes ArrayIndexOutOfBoundsException from new SimpleBNFScanner implementation (Doc ID 789864.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.3.0 to 10.1.2.3.0 - Release: AS10gR2 to AS10gR2
Information in this document applies to any platform.

Symptoms

After installing CPUJAN2009, applications deployed to OC4J are failing with the following error stack reported in the OPMN container <name> log:

 09/01/21 03:50:18 java.lang.ArrayIndexOutOfBoundsException: 2
 09/01/21 03:50:18       at
    com.evermind.server.http.SimpleBNFScanner.peek(SimpleBNFScanner.java:54)
 09/01/21 03:50:18       at
    com.evermind.server.http.EvermindHttpServletResponse.getIndexOfCharset(EvermindHttpServletResponse.java:2139)
 09/01/21 03:50:18       at
        com.evermind.server.http.EvermindHttpServletResponse.getCharsetFromContentType EvermindHttpServletResponse.java:2092)
 09/01/21 03:50:18       at
    com.evermind.server.http.EvermindHttpServletResponse.setInternalContentType(EvermindHttpServletResponse.java:2200)
 09/01/21 03:50:18       at
    com.evermind.server.http.EvermindHttpServletResponse.setContentType(EvermindHttpServletResponse.java:1084)

Changes

CPUJAN2009 introduced new functionality to strictly follow RFC2616.

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