Article - CS343844
In Windchill PDMLink,QueryResult get error "java.util.NoSuchElementException: wt.fc.ObjectVectorEnumerator"
Modified: 20-Feb-2024
Applies To
- Windchill PDMLink 11.1 to 12.1
Description
- Get following error for some operation, like checkin object
Caused by: java.util.NoSuchElementException: wt.fc.ObjectVectorEnumerator
at wt.fc.ObjectVectorEnumerator.nextElement(ObjectVectorEnumerator.java:206)
at wt.fc.QueryResult.nextElement(QueryResult.java:259)
- Issue happens in customization code, when call API:
QueryResult qrDoc = VersionControlHelper.service.allVersionsOf(wtDocMaster); linkedDocument = (WTDocument) qrDoc.nextElement();
This is a printer-friendly version of Article 343844 and may be out of date. For the latest version click CS343844