How to resolve "wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.org.WTUser.####" because it no longer exists" in Windchill PDMLink
Applies To
- Windchill PDMLink 9.1 to 13.0
Description
- How to resolve the following error:
wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.org.WTUser.####" because it no longer exists
- Getting following exception while creating a Library or Product
The participant, User - xxx, no longer exists. at wt.inf.template.StandardContainerTemplateService.importBusinessXML(StandardContainerTemplateService.java:403) at wt.inf.template.creator.AbstractWTContainerCreator.loadBusinessTemplate(AbstractWTContainerCreator.java:824) at wt.inf.template.creator.AbstractWTContainerCreator.runScript(AbstractWTContainerCreator.java:289) at wt.inf.template.creator.AbstractWTContainerCreator.create(AbstractWTContainerCreator.java:192) at wt.inf.container.StandardWTContainerService.create(StandardWTContainerService.java:754) at wt.inf.container.StandardWTContainerService.create(StandardWTContainerService.java:736) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at com.sun.proxy.$Proxy39.create(Unknown Source) at com.ptc.windchill.enterprise.container.forms.CreateContainerFormProcessor.doOperation(CreateContainerFormProcessor.java:209) at com.ptc.core.components.forms.DefaultFormProcessorController.executeDoOperation(DefaultFormProcessorController.java:538) at com.ptc.core.components.forms.DefaultFormProcessorController.performExecuteDoOperationAndPostProcess(DefaultFormProcessorController.java:342) at com.ptc.core.components.forms.DefaultFormProcessorController.execute(DefaultFormProcessorController.java:263) at com.ptc.core.components.forms.FormDispatcher.callControllerExecute(FormDispatcher.java:146) at com.ptc.core.components.forms.FormDispatcher.callFormProcessorController(FormDispatcher.java:116) at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:93) ... 60 more
- Method Server Log reports following exceptions:
wt.util.WTRuntimeException: (wt.fc.fcResource/32) wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.org.WTUser.####" because it no longer exists. Nested exception is:
(wt.fc.fcResource/32) wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.org.WTUser.####" because it no longer exists.
at wt.org.WTPrincipalReference.isDisabled(WTPrincipalReference.java:363)
at wt.team.StandardTeamService.getRolePrincipalMapsForTeams(StandardTeamService.java:6492)
at wt.team.StandardTeamService.resolveLCRoles(StandardTeamService.java:1022)
at wt.lifecycle.StandardLifeCycleService.applyLifeCyclePermissions(StandardLifeCycleService.java:11649)
at wt.lifecycle.StandardLifeCycleService.doStateTransition(StandardLifeCycleService.java:11825)
at wt.lifecycle.StandardLifeCycleService.doSetState(StandardLifeCycleService.java:15824)
at wt.lifecycle.StandardLifeCycleService.setLifeCycleState(StandardLifeCycleService.java:5405)
at wt.lifecycle.StandardLifeCycleService.setLifeCycleState(StandardLifeCycleService.java:4602)
at wt.lifecycle.StandardLifeCycleService.setLifeCycleState(StandardLifeCycleService.java:2721)
-
User with the IdA2A2 in the exception was manually removed from the WTUser table in database
-
Objects created by this user not searchable
-
Get the above error message while searching for the user in Participant management
-
- WinDU Checked Out Family Table Objects task failed and ReportCheckedOutFamilyTables.log reports following error:
Caused by: (wt.fc.fcResource/32) wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.org.WTUser.XXXXXXX" because it no longer exists. Fri 12/10/21 06:22:20: at wt.fc.StandardPersistenceManager.restore(StandardPersistenceManager.java:1924) Fri 12/10/21 06:22:20: at wt.fc.StandardPersistenceManager.refresh(StandardPersistenceManager.java:1094)
- Unable to re-assign the Change Notice task from deleted user to another
- How to resolve the following error:
Cannot restore "wt.ufid.RemoteObjectId.-1" because it no longer exists - Unable to create user with error:
wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.org.WTUser.####" because it no longer exists - Unable to see users on members table of Group, when group is opened it keeps loading and shows below error in MS logs:
wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.org.WTUser.####" because it no longer exists