アーティクル - 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 の削除 -> 成功の修正
- 図面の修正 -> 成功の修正
最新バージョンはこちらを参照ください CS369927