技术文章 - CS350541

升级到 Windchill 12.0.1 后报告“java.lang.ClassCastException: class com.ptc.windchill.enterprise.datamonitor.DataMonitor cannot be cast to class com.ptc.windchill.enterprise.datamonitor.WBRDataMonitor”

已修改: 01-Jun-2022   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 12.0 to 12.0.2.2

说明

  • 升级到 Windchill 12.0.1 后报告“java.lang.ClassCastException: class com.ptc.windchill.enterprise.datamonitor.DataMonitor cannot be cast to class com.ptc.windchill.enterprise.datamonitor.WBRDataMonitor”
  • MethodServer 日志中的错误
错误 [dataMonitorProcessingQueue.PollingThread] wt.queue.ProcessingQueue.dataMonitorProcessingQueue 管理员 - 队列条目号:16528599
java.lang.reflect.InvocationTargetException
在 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
在 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
在 java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
在 java.base/java.lang.reflect.Method.invoke(Method.java:566)
在 wt.queue.QueueEntry.execute(QueueEntry.java:231)
在 wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:312)
在 wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:898)
在 wt.queue.PollingQueueThread.run(PollingQueueThread.java:102)
引起:java.lang.ClassCastException:com.ptc.windchill.enterprise.datamonitor.DataMonitor 类无法转换为 com.ptc.windchill.enterprise.datamonitor.WBRDataMonitor 类(com.ptc.windchill.enterprise.datamonitor.DataMonitor 和com.ptc.windchill.enterprise.datamonitor.WBRDataMonitor 位于加载程序“app”的未命名模块中)
在 com.ptc.windchill.enterprise.datamonitor.DataMonitorHelper.sendDataMonitorNotification (DataMonitorHelper.java:482)
在 com.ptc.windchill.enterprise.datamonitor.DataMonitorHelper.processDataMonitor(DataMonitorHelper.java:261)
... 8 更多
这是文章 350541 的 PDF 版本,可能已过期。最新版本 CS350541