cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Better error handling without the need of verbosity settings

Better error handling without the need of verbosity settings

We tried exporting a type structure from Windchill and ran into an issue that was not informative in the MethodServer logs or from the UI.

Command used: 

  • windchill wt.load.LoadFromFile -d <filepath>/DefinitionExporter.xml -u <userID> -p <password>

Explanation of use:

  • p.75 of WCSpecializedAdminGuide

One of the values for the enumerated constraint of a specific Attribute was null, yet the system just threw NullPointerException, with no way of identifying where this was occurring. 

We spend some time just manually digging through the types and attributes.  If the engineer, who left this value blank, would not have told us of this, we could have spent a lot more time trying to identify this. 

Desired outcome is for the system to give us more information, or better description of what the issue is and where it would occur.  Sort of like a higher verbosity without constant logs. 

1 Comment
PTCModerator
Emeritus
Status changed to: Archived