Spectrum Modeling Gateway Import error "Unknown attribute" while importing Global Collections to a new SpectroSERVER

Document ID : KB000056943
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

When importing Global Collections using the Modeling Gateway on a new SpectroSERVER an error message is shown:

"Modeling Gateway import exception: java.lang.Throwable: Unknown attribute GlobalAutoPlace in model element com.aprisma.tie.parse.ContainerElement: null:null"

 

Environment:

Applies to both Windows and Linux Spectrum installations

 

Resolution:

It is required to set the option export_global_collections to true in the modelinggatewayresource.xml file before importing data. Attribute hash table is initialized based on the configuration present in modelinggatewayresource.xml, hence during an import the Modeling Gateway is not able to map attribute name (in import xml) to Spectrum attribute id.