My Oracle Support Banner

Basic Groovy Expressions Not Working In JDeveloper & Weblogic 12.2.1.4.0 (Doc ID 2632709.1)

Last updated on APRIL 01, 2020

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

An attempt is being made to get the duration as Transient Attribute from Dates using simple minus operator in Groovy.  Neither Groovy, nor any Math Function is working.

Error message

[ADF security error] method minus on class java.util.Date is not permitted, [Static type checking] ,Cannot find matching method java.lang.Math#floor(java.math.BigDecimal). Disabling the "Expression Type Checking" in Model , ADF Business Components , Options only allows the expressions to compile in JDeveloper and they run in the Model Tester but consistently give errors on the page when running in the integrated Weblogic server or a standalone server.

Cause

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
Symptoms
Cause
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.