Article - CS178443

Importing an exported Classification, TypeDefinition or GlobalEnumeration modified through XML2CSV and then CSV2XML fails with error in Windchill

Modified: 20-Dec-2023   


Applies To

  • Windchill PDMLink 10.2 M010 to 13.0

Description

  • Importing an exported Classification, TypeDefinition or GlobalEnumeration modified through XML2CSV and then CSV2XML fails with error:
ERROR [RMI TCP Connection(15)-192.168.234.131] com.ptc.core.lwc.server.LoaderHelper wcadmin - (createPropertyValueView): Property Definition: "com.ptc.core.lwc.server.LWCPropertyDefinition,instantiable,null,null" is invalid.
ERROR [RMI TCP Connection(15)-192.168.234.131] com.ptc.core.lwc.server.LoaderHelper wcadmin - (processPropertyValue): com.ptc.core.lwc.server.LWCPropertyDefinition
wt.util.WTException: (createPropertyValueView): Property Definition: "com.ptc.core.lwc.server.LWCPropertyDefinition,instantiable,null,null" is invalid.
at com.ptc.core.lwc.server.LoaderHelper.createPropertyValueView(LoaderHelper.java:326)
at com.ptc.core.lwc.server.LoaderHelper.processPropertyValue(LoaderHelper.java:228)
at com.ptc.core.lwc.server.LoaderHelper.processPropertyValue(LoaderHelper.java:203)
...
  1. Create a simple Classification Structure with one node and one attribute
  2. Export the Classification to XML
  3. Convert the XML to CSV using windchill wt.load.util.XML2CSV (it needs to place the files in the folder wt_home/src/loadFiles)
  4. Without doing any changes on the CSV, convert resulted CSV back to XML using wt.load.util.CSV2XML -mapfile csvmapfile.txt (csvmapfile.txt is the file generated by Windchill at step 3)
  5. Import the generated XML via LoadFromFile and observe that it fails with the error above.
This is a printer-friendly version of Article 178443 and may be out of date. For the latest version click CS178443