My Oracle Support Banner

Agile SDK Code Is Not Working for Session.disableAllWarnings with Error: java.lang.NoSuchFieldError: APDM_LOSEDUPREDLINE_WARNING After Applying RUP/Patch (Doc ID 2885663.1)

Last updated on JULY 27, 2022

Applies to:

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

Symptoms

Agile SDK program is not working for the code session.disableAllWarnings with below error after applying Agile 9.3.6 RUP/Patch:
 

Error

java.lang.NoSuchFieldError: APDM_LOSEDUPREDLINE_WARNING




Steps

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

  1. Apply Agile PLM 9.3.6 RUP/patch
  2. Run Agile SDK program using IAgileSession.disableAllWarnings();
    Note: For the sample code, refer to "Example: Disabling and enabling error codes" in "Agile Product Lifecycle Management SDK Developer Guide - Using APIs", Chapter "Handling Exceptions", Section "Disabling and Enabling Warning Messages" available from Agile Documentation Site
  3. Gets error. Where the error is reported can depend on how the SDK program is being run.
    - If the SDK program is deployed as a servlet, the error will be reported in the Agile application server log of the node where the servlet is running. Refer to Doc ID 1456651.1 for the Agile Application Server log location.
    - If ran as standalone SDK program, the error will be reported in the console where the SDK program is running


Changes

Applied Agile PLM 9.3.6 RUP/patch

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.