Skip to main content
23-Emerald III
February 2, 2023
Solved

Cannot check in parts, assemblies or drawings

  • February 2, 2023
  • 11 replies
  • 5010 views

We have moved to Windchill 12.0.2 CPS8 and are experiencing the following error when we go to check in parts, assemblies and drawings. The error is: wt.util.WTException: java.util.NoSuchElementException

It does not happen on all objects, just some. These may be new object or a new iteration of asn existing object being checked in.

I saw that there is a SPR written, but was wondering if anyone in the community has an insight or a solution workaround?

Best answer by BenLoosli

I was informed that the cause was from Notifications being set. I had a notification for check-ins.

Once I removed that notification, everything is working fine.

11 replies

avillanueva
23-Emerald I
February 3, 2023

Is there something more you can post? Perhaps a snipit of the MethodServer log where the error is a captured? what is the SPR? I am on that same CPS but have not seen that issue reported.

BenLoosli23-Emerald IIIAuthor
23-Emerald III
February 3, 2023

I found the reference SPR in this CS article: Article - CS369927 - Revising a non-latest part fails in Windchill PDMLink 12.0.2 (ptc.com)

While not directly being a check in issue, in some cases we have been able to check in the part first and then the drawing if done from the workspace and not from within Creo.

HelesicPetr
22-Sapphire II
February 9, 2023

Hi @BenLoosli 

By the Article is seems that there is some issue with reference between part and drawing. 

Reference does not exists or is pointing to wrong version that is not in the workspace.

 

NoSuchElementException is thrown because list of references is empty. 

 

Why ? this is an another question 😄

It is usually cased by out-of-date information in the workspace.

 

PetrH

14-Alexandrite
February 3, 2023

Hello @BenLoosli ,

 

How do you produce this error ? Do you select your objects in a workspace and then click on the button Check in of the ribbon ? or in another way? 

Did you try to check in using the Actions menu in the info page ?

 

 

 

 

 

 

 

BenLoosli23-Emerald IIIAuthor
23-Emerald III
February 3, 2023

We can produce the error in a number of ways:

  1. With the part open in Creo and the File-Custom Check-in
  2. From the workspace, select the file and use the Check-in Icon
  3. From the workspace, select the detail page of the object and then Actions-Check-in

 

The most frustrating part is that it is not all parts, only some selected ones.

I have looked in the MS logs and found this information just above the error message:

Article - CS331178 - MethodServer log indicating Error Workspace is out of date in Windchill PDMLink (ptc.com)

But that article says it can be ignored, so not sure if they are releated or not.

BenLoosli23-Emerald IIIAuthor
23-Emerald III
February 8, 2023

This error caught me again yesterday.

Modified a family table and when I went to check it in, I got the error: wt.util.WTException: java.util.NoSuchElementException.

I do have an open call with PTC on this issue for a week now and they have been very slow to offer any suggestions. Unfortunately, it is on my classified Windchill system so I cannot send PTC log files or screen share with them. I am in the process of setting up an unclassified system, but that takes days to move all the data around and install it. Plus, I don't always get the same errors between the 2 systems.