技术文章 - CS369927
在 Windchill PDMLink 中修订非最新部件失败
已修改: 01-Mar-2023
适用于
- Windchill PDMLink 12.0
说明
- 修改非最新部分失败并出现以下错误:
ERROR [ajp-nio-127.0.0.1-8010-exec-30] com.ptc.windchill.uwgm.common.util.ReviseUtilities <username> - ReviseUtilities.persistNewRevision :: wt.vc.VersionControlException: wt.util.WTException: java.util.NoSuchElementException Nested exception is: java.util.NoSuchElementException Nested exception is: wt.util.WTException: java.util.NoSuchElementException Nested exception is: java.util.NoSuchElementException wt.vc.VersionControlException: wt.util.WTException: java.util.NoSuchElementException Nested exception is: java.util.NoSuchElementException Nested exception is: wt.util.WTException: java.util.NoSuchElementException Nested exception is: java.util.NoSuchElementException at wt.fc.collections.IteratorUtility$AbstractReferenceIterator.nextReference(IteratorUtility.java:54) at wt.fc.collections.ReferenceMap$ReferenceIterator.nextReference(ReferenceMap.java:812) at wt.fc.collections.ReferenceMap$PersistableIterator.next(ReferenceMap.java:838) at wt.notify.StandardNotificationManager.queuePolicyNotification(StandardNotificationManager.java:6452) at wt.notify.StandardNotificationManager$NotificationEventListener.processNotificationEventTargets(StandardNotificationManager.java:842) at wt.notify.StandardNotificationManager$NotificationEventListener.doEventTargetChunkProcessing(StandardNotificationManager.java:474) at wt.notify.StandardNotificationManager$NotificationEventListener.notifyVetoableMultiObjectEvent(StandardNotificationManager.java:420) at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:306) at wt.events.StandardKeyedEventBranch.dispatchVetoableMultiObjectEvent(StandardKeyedEventBranch.java:268) at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:306) at wt.events.StandardKeyedEventDispatcher.dispatchVetoableMultiObjectEvent(StandardKeyedEventDispatcher.java:244) at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:412) at wt.services.StandardManagerService.dispatchVetoableMultiObjectEvent(StandardManagerService.java:314) at wt.vc.StandardVersionControlService.dispatchVetoableMultiObjectEvent(StandardVersionControlService.java:1630) at wt.vc.StandardVersionControlService.signalPersistenceOf(StandardVersionControlService.java:1325) at wt.vc.StandardVersionControlService$3.notifyVetoableMultiObjectEvent(StandardVersionControlService.java:538) at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:306) at wt.events.StandardKeyedEventBranch.dispatchVetoableMultiObjectEvent(StandardKeyedEventBranch.java:268) at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:306) at wt.events.StandardKeyedEventDispatcher.dispatchVetoableMultiObjectEvent(StandardKeyedEventDispatcher.java:244) at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:412) at wt.services.StandardManagerService.dispatchVetoableMultiObjectEvent(StandardManagerService.java:314) at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2976) at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2959) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:714) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:1091) at jdk.internal.reflect.GeneratedMethodAccessor542.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at com.sun.proxy.$Proxy27.store(Unknown Source)
- 一起修改图纸和CAD零件时出现以下错误:
ERROR [ajp-nio-127.0.0.1-8010-exec-6] com.ptc.windchill.uwgm.common.util.ReviseUtilities <username> - ReviseUtilities.persistNewRevision :: wt.vc.VersionControlException: wt.util.WTException: java.util.NoSuchElementException
- 单独修改绘图和单独修改CAD 零件时,它可以正常工作,但同时修改它们时会抛出错误
- 遗留/非最新以及新创建的对象会出现此问题
- 重现步骤(在 Creo 8.0.3.0 和 Windchill 12.0.2.0 上测试):
- 在Creo >> 创建新的 3D 部件或在Windchill 工作区>> 创建 CAD 文档、创建和关联部件
- 自定义签到
- 关闭所有
- 擦除不显示
- 设置状态 -> 发布
- 修改 WTPart
- 全部收集 -> 修改失败
- 删除 DRW -> 修改成功
- 修改图纸 -> 修改成功
这是文章 369927 的 PDF 版本,可能已过期。最新版本 CS369927