Article - CS369927

Revising a non-latest part fails in Windchill PDMLink

Modified: 01-Mar-2023   


Applies To

  • Windchill PDMLink 12.0

Description

  • Revising a non-latest part fails with below error :
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)
	
  • Below error occurs when Revising Drawing and CAD Part together:
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

  • When revising the Drawing alone and the CAD Part alone it works correclty but when revising them both at the same time it throws an error
  • This issue occurs for Legacy/Non-latest as well as Newly Created Objects
  • Steps to Reproduce (Tested on Creo 8.0.3.0 and Windchill 12.0.2.0) :
    1. In Creo >> Create new 3D Part OR in Windchill Workspace >> Create CAD Document, Create and Associate Part
    2. Custom Check-in
    3. Close All
    4. Erase not displayed
    5. Set State -> Released
    6. Revise WTPart
      • Collect all -> Revise Fail
      • Drop DRW -> Revise Succeeds
      • Revise Drawing -> Revise Succeeds
This is a printer-friendly version of Article 369927 and may be out of date. For the latest version click CS369927