When attempting to search a MultiTerm Server termbase that has any fields populated at the Language Level or the Term Level, you get an error similar to this:
Time: Thu Apr 22 11:40:19 BST 2021
Message: can not parse content from null
Stack trace:
com.idiominc.ws.WSRuntimeException: can not parse content from null
(covers java.lang.IllegalStateException: Parsing entries for TD "Test Termbase": Could not find attribute "Test Field" in map: {}
at com.idiominc.ws.impex.multiterm.MultiTermXMLDataSource$ContentHandler.endElement(MultiTermXMLDataSource.java:797)
at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
at org.apache.xml.serializer.TreeWalker.endNode(TreeWalker.java:460)
at org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:151)
Resolution
Workaround: Replace "Language level" with "Index level" in the Termbase Definition
Use a text editor such as Notepad++ to open the termbase definition file (.xdt).
Search within the file for Language level and replace it with Index level. Then save the definition file.
Recreate the server-based termbase using the termbase definition file (.xdt) that you modified at step 3, and import the data (.xml) that you exported at step 1.
Connect the recreated termbase to WorldServer.
Root Cause
MultiTerm Desktop used to create new termbases with Index Level.
This has now been replaced with Language Level, and WorldServer does not understand this structure.
A defect has been logged for this, and a fix is expected in a future release of WorldServer.