java.lang.ArrayIndexOutOfBoundsException After Upgrading from WLW 8.1 to WLW 9.2 (Doc ID 1068695.1)

Last updated on JUNE 30, 2017

Applies to:

BEA WebLogic Platform - Version 9.2 to 10.2
Information in this document applies to any platform.

Symptoms

 

After migrating the application from WLW 8.1 to WLW 9.2, the below error is received when accessing the application JSP forms:

<AdminServer> <[ACTIVE] ExecuteThread: '6' for queue:
'weblogic.kernel.Default (self-tuning)'> <userxxx> <> <> <1222970284537>
<000000> <NetUI Warning: Unable to update expression '{actionForm.lenderId}
'. The typical cause is that the object represented by the expression is not available or is the wrong type for updating.
Cause: org.apache.beehive.netui.script.ExpressionUpdateException: Exception when attempting to update the expression '{actionForm.lenderId}' with available binding contexts [actionForm, pageFlow, globalApp].
Root cause: java.lang.RuntimeException: Can not update the identifier 'lenderId' on a null value object.>

<Error> <com.bea.wlw.netui.script.el.util.ParseUtils> <xxxxx02l0> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'>
<userxxx> <> <> <1222970404786> <000000> <Unable to convert a value of type 'class [Ljava.lang.String;' to the array element type of 'class java.lang.String'.
Cause: java.lang.ArrayIndexOutOfBoundsException

Throwable: java.lang.ArrayIndexOutOfBoundsException

Stack Trace:

java.lang.ArrayIndexOutOfBoundsException
at java.lang.reflect.Array.get(Native Method)
at com.bea.wlw.netui.script.el.util.ParseUtils.convertType(ParseUtils.java:231)
at com.bea.wlw.netui.script.el.tokens.ExpressionToken.beanUpdate(ExpressionToken.java:193)
at com.bea.wlw.netui.script.el.tokens.IdentifierToken.update(IdentifierToken.java:103)
at com.bea.wlw.netui.script.el.ExpressionTerm.update(ExpressionTerm.java:164)
at com.bea.wlw.netui.script.el.ParsedExpression.update(ParsedExpression.java:150)
at com.bea.wlw.netui.script.el.util.ParseUtils.update(ParseUtils.java:110)
at com.bea.wlw.netui.script.el.ExpressionEvaluatorImpl.update(ExpressionEvaluatorImpl.java:102)

Changes

 Upgrade from WLW 8.1 to WLW 9.2.

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