Article - CS124632
Failed to load life cycle template with error "java.lang.NullPointerExceptio" using LoadFromFile utility in Windchill PDMLink
Modified: 20-Feb-2024
Applies To
- Windchill PDMLink 10.0 to 12.1
Description
- Failed to load life cycle template using LoadFromFile utility
- Cannot load life cycle using LoadFromFile command
java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at wt.fc.collections.ReferenceUtility.getKeyType(ReferenceUtility.java:223) at wt.fc.collections.ReferenceUtility.validate(ReferenceUtility.java:437) at wt.fc.collections.WTKeyedHashMap.put(WTKeyedHashMap.java:681) at wt.fc.collections.WTHashSet.add(WTHashSet.java:297)
- It works when Import from Life Cycle Template Administration
- Getting the following in Windchill Shell when loading lifecycle templates using LoadFromFile:
LoadLifeCycle:csvPhaseTemplateEnd PROBLEM creating PhaseTemplate object "Cache CurrentPhaseTemplate" for XXXX Lifecyle template.
This is a printer-friendly version of Article 124632 and may be out of date. For the latest version click CS124632