TN Console Profile Updation error

We are trying to modify the profile like change DUNS numbers in TN Console. It errors out saying some fields failed validation.
All the mandatory fields are entered but still it gives the error.

Error
Profile Data Error

(1) Following errors occurred during updating profile, no change made on server

(2) Errors encountered validating profile/profile fields

ErrorMessage:
TRNCONS.000020.000004
ERROR

ProfileService
updateID
Fri Jul 05 16:26:26 BST 2002
Profile Data Error
Following errors occurred during updating profile, no change made on server
Errors encountered validating profile/profile fields

Please correct the error(s) and resubmit.

java.lang.Exception

java.lang.Exception

at com.wm.app.tn.ui.profile.ProfileService.updateID(ProfileService.java:1782)

at com.wm.app.tn.ui.profile.ProfileCorporatePanel.updateID(ProfileCorporatePanel.java:1438)

at com.wm.app.tn.ui.profile.ProfileCorporatePanel.saveChanges(ProfileCorporatePanel.java:2194)

at com.wm.app.tn.ui.profile.ProfileCorporatePanel$11.actionPerformed(ProfileCorporatePanel.java:1002)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)

at java.awt.Component.processMouseEvent(Component.java:3715)

at java.awt.Component.processEvent(Component.java:3544)

at java.awt.Container.processEvent(Container.java:1164)

at java.awt.Component.dispatchEventImpl(Component.java:2593)

at java.awt.Container.dispatchEventImpl(Container.java:1213)

at java.awt.Component.dispatchEvent(Component.java:2497)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)

at java.awt.Container.dispatchEventImpl(Container.java:1200)

at java.awt.Window.dispatchEventImpl(Window.java:914)

at java.awt.Component.dispatchEvent(Component.java:2497)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

This is a shot in the dark.

Is the DUNS number you’re trying to update to unique? The call stack shows the failure happening in updateID, which leads me to think that it is trying to update an index record or something but can’t because a record with the same key already exists.

I’ve no idea if this is the cause. Just throwing out an idea.