My Oracle Support Banner

Disabling netui:select tag with client side javascript can cause the java.lang.AssertionError (Doc ID 1068694.1)

Last updated on MARCH 09, 2019

Applies to:

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

Goal

The <netui:select> tag with attribute disabled="true" will create form data such that the NetUI method, ProcessPopulate.populate(), does not correctly detect that the parameter returned is just the OLDVALUE_SUFFIX and there's not a real value being submitted.. leading to a java.lang.AssertionError.

Here's the stack trace.

<org.apache.beehive.netui.pageflow.internal.DefaultExceptionsHandler>

<000000> <Throwable java.lang.AssertionError unhandled by the current page flow (and any shared flow)

Throwable: java.lang.AssertionError

Stack Trace:

java.lang.AssertionError

at org.apache.beehive.netui.script.el.util.ParseUtils.convertType(ParseUtils.java:185)
at org.apache.beehive.netui.script.el.tokens.ExpressionToken.beanUpdate(ExpressionToken.java:211)
at org.apache.beehive.netui.script.el.tokens.IdentifierToken.write(IdentifierToken.java:96)
at org.apache.beehive.netui.script.el.ExpressionTerm.update(ExpressionTerm.java:165)
at org.apache.beehive.netui.script.el.ParsedExpression.update(ParsedExpression.java:140)

 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.