My Oracle Support Banner

Groovy Script Not Working With Error Modifier 'private' Not Allowed After Upgrade to 9.3.5 RUP2 and After/9.3.6 (Doc ID 2350571.1)

Last updated on FEBRUARY 12, 2018

Applies to:

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

Symptoms

Groovy script that was running successfully before the upgrade is not working with below error after upgrade to 9.3.5 RUP2 and after or 9.3.6:

ERROR

com.agile.util.exception.CMAppException: startup failed:
script1505819337120181389891.groovy: 123: Modifier 'private' not allowed
here.
line 123, column3.
private IDataObject m_dataObj;


Steps

The issue can be reproduced at will with the following steps:

  1. Launch Java client
  2. Select from the Admin tab > System Settings > Event Management > Event Handlers
  3. Setup Script PX
  4. Add code to script > Validate Script



Changes

 

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.