Topic Synonym Catalog Error - name is not unique

Renato Murasaki started the topic:
2017-03-31 15:01

Synonym Catalog Error - name is not unique


I have DC Professional Edition 5.1.5. When we save a new synonym based on a datastore we received the error bellow. How ever, DC saves it and it is possible to use it.

Unexpected error!

java.lang.IllegalArgumentException: SynonymCatalog name 'Short_title' is not unique!
Stack Trace:
SynonymCatalog name 'Short_title' is not unique!
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$500(Unknown Source)
java.awt.EventQueue$ Source)
java.awt.EventQueue$ Source) Method)$1.doIntersectionPrivilege(Unknown Source)$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$ Source)
java.awt.EventQueue$ Source) Method)$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source) Source)
drexler replied:
2017-04-03 11:16
Hi Renato,

I think values in the "master term column" column of the datastore you use to create the synonym table must be unique. So it can not have the same master term in more than 1 synonym entry.

I hope this helps answering your question.


Hans Drexler
deleted user replied:
2017-04-03 20:49
I just tried (using an SQL Server table with no unique or primary key restrictions). I get the same error, but only with datastore dictionaries. The error also implies that it's the synonym catalogue that already exists.

It looks like we try to add the datastore dictionary twice for some reason. A bit weird that no one has run into this before, actually. We always use text file dictionaries (since they're a bit easier to work with), but of course this should work properly.

Renato, I'll add this issue to our bug tracker. I hope that you can live with the spurious error message until we've gotten it fixed. We'll ping you here when we have it fixed, then the next release after that will contain the fix.

Best regards,
deleted user replied:
2017-04-03 20:51
Whoops, I of course meant "datastore/text file synonym catalogue" where I wrote "datastore/text file dictionary".
Renato Murasaki replied:
2017-04-03 20:52
Thank you very much, Hans and Dennis, for the attention.
All the best,

You are not signed in.
You need to be signed in to participate in the discussion.