Article - CS385163

Error class wt.part.WTPartMaster cannot be cast to class wt.part.WTPart (wt.part.WTPartMaster and wt.part.WTPart are in unnamed module of loader 'app') in Windchill Enterprise Integration 12.1

Modified: 25-Jan-2023   


Applies To

  • Windchill Enterprise Systems Integration 12.1.1.0 to 12.1.1.4
  • Windchill Enterprise Systems Integration 12.1.2.0 to 12.1.2.2

Description

  • Releasing BOM with some Child parts in Released state and some Child parts InWork state setting preference "Show No Qualifying Version Found Error" to No throws below error message: 
com.ptc.windchill.esi.tgt.delegate.DefaultESITargetProcessor  - Error while invoking ESIResponseGenerator.generateResponse: com.ptc.windchill.esi.rnd.ESIRendererException: java.lang.ClassCastException: class wt.part.WTPartMaster cannot be cast to class wt.part.WTPart (wt.part.WTPartMaster and wt.part.WTPart are in unnamed module of loader 'app')
Nested exception is: java.lang.ClassCastException: class wt.part.WTPartMaster cannot be cast to class wt.part.WTPart (wt.part.WTPartMaster and wt.part.WTPart are in unnamed module of loader 'app')
at com.ptc.windchill.esi.bom.ESIBOMRenderer.processDeletedRMAlternateOrCpLink(ESIBOMRenderer.java:4547)
at com.ptc.windchill.esi.bom.ESIBOMRenderer.navigateRMAssociationLinks(ESIBOMRenderer.java:4088)
at com.ptc.windchill.esi.bom.ESIBOMRenderer.navigateRMAssociationPartUsageAndCPLinks(ESIBOMRenderer.java:3946)
at com.ptc.windchill.esi.bom.ESIBOMRenderer.buildGroups(ESIBOMRenderer.java:590)
at com.ptc.windchill.esi.rnd.BasicESIRenderer.render(BasicESIRenderer.java:1178)
at com.ptc.windchill.esi.bom.ESIBOMRenderer.getBOM(ESIBOMRenderer.java:1064)
This is a printer-friendly version of Article 385163 and may be out of date. For the latest version click CS385163