My Oracle Support Banner

Upgrade To Causes Groovy Error "Script Text To Compile Cannot Be Null!" (Doc ID 2707258.1)

Last updated on AUGUST 31, 2023

Applies to:

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


After an application was migrated from an earlier 12.2.1 version to, some Groovy related errors are seen at runtime:

java.lang.IllegalArgumentException: Script text to compile cannot be null!
        at groovy.lang.GroovyClassLoader.validate(

The same application worked fine in the earlier release.

What can be done to solve this problem?


To view full details, 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 a vibrant support community of peers and Oracle experts.