技术文章 - CS385163
Windchill Enterprise Integration 12.1 中的错误类 wt.part.WTPartMaster 无法转换为类 wt.part.WTPart(wt.part.WTPartMaster 和 wt.part.WTPart 位于加载程序“app”的未命名模块中)
已修改: 25-Jan-2023
适用于
- 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
说明
- 释放 BOM,其中一些子部件处于已发布状态,一些子部件处于 InWork状态设置首选项“显示未找到符合条件的版本错误”为“否”会抛出以下错误消息:
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)
这是文章 385163 的 PDF 版本,可能已过期。最新版本 CS385163