My Oracle Support Banner

Groovy Pre-event Fails With "Exception: ; nested exception is: java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper" (Doc ID 2542478.1)

Last updated on DECEMBER 03, 2019

Applies to:

Oracle Agile PLM Framework - Version 9.3.4.0 and later
Information in this document applies to any platform.

Symptoms

After applying Agile PLM patches, groovy pre-event fails with below error in Web Client



Error
Exception: ; nested exception is: java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

Can see below stack trace in the Agile Application Server log:
org.codehaus.groovy.runtime.InvokerInvocationException: com.agile.agileDSL.ScriptObj.AgileDSLException: Error in WAVE :java.lang.NullPointerException
A GUTS Ticket has been created.
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:100)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:810)
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:46)
at groovy.lang.Script.invokeMethod(Script.java:80)..




Steps:

The issue can be reproduced with the following steps:

  1. Apply below Agile 9.3.4 patches
    1) Patch 23522286: 9.3.4.0.127:SHADOW BUG FOR 9.3.4.0.127 (prerequisite for Patch 28607243)
    2) Patch 28607243: 9.3.4.0.360: SHADOW BUG FOR BUG 28330928
    3) Patch 29014307: 9.3.4.0.362: SHADOW BUG FOR BUG 28484717
    4) Patch 28810765: 9.3.4.0.366: SHADOW BUG FOR BUG 28711612
  2. Delete server cache folder, and restart Agile Application Server node
  3. Login to Web Client, and run Event PX


Changes

Applied patches

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
Changes
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.