My Oracle Support Banner

Gets "Duplicate name entered" When Adding Product Line List Entry Value via SDK Program (Doc ID 2755996.1)

Last updated on FEBRUARY 26, 2021

Applies to:

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

Symptoms

Unable to add the list entry value to Product Line list using SDK program with below error even though there is no list entry with the same value:


Error

Exception : List Name From Agile Production : Product Line
com.agile.admin.client.value.AdminException: Duplicate name entered.
at weblogic.utils.StackTraceDisabled.unknownMethod()
com.agile.admin.client.value.AdminException: Duplicate name entered.
at weblogic.utils.StackTraceDisabled.unknownMethod()
Error code : 112
Error message : Duplicate name entered.
Root Cause exception : com.agile.admin.client.value.AdminException: Duplicate name entered.
at com.agile.api.pc.APIObject.createError(APIObject.java:153)

What is Working

Able to add the list entry with the same name from Java Client UI


Steps

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

  1. Log into Java Client as admin user
  2. Go to Admin tab > Data Settings > Lists, and check "Product Lines" List (List ID 291)
  3. Go to List tab, and confirm there is no list entry with Name "LISTENTRY1"
  4. Run below SDK program to add the list value
  5. Gets error
  6. Change the list entry value "LISTENTRY1" in the SDK program to other value
  7. Delete the SDK cache, and run SDK program again. Still gets the same error

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.