cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Can you guide me on how to resolve below Task failed

KS_9212978
6-Contributor

Can you guide me on how to resolve below Task failed

LocateClassReferences:
Scan the database for references (i.e. foreign keys) to specified classes or non-existent classes. To locate references to specific classes, specify the list or pattern in the classes field. To locate references to classes that do not exist, do not specify a list of classes. To see all the SQL statements that are executed by this task, select the verbose logging option. If the verbose logging option is not used, the sql for found references will still be logged.

 

I got below error when I run WINDU , can you guide me on how to resolve below Task failed. Thanks in advance for your support.

 

at java.lang.Thread.run(Thread.java:745)
Task failed.
com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Locate class references (#LocateClassReferences)
Nested exception is: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: Method server code wt.fc.LocateClassReferencesDT.runDiagnostics failed. See nested exception for details
Nested exception is: wt.util.WTException: java.lang.reflect.InvocationTargetException

 

3 REPLIES 3

@KS_9212978  
Thank you for using PTC Community!
Could you please add some screen-shots which may help other community users to understand the issue better?

Regards,
Community Moderation Team.

I just did a search on PTC knowledge base and found this article

 

https://www.ptc.com/en/support/article/CS389899

 

This could be the reason of your error

 

Custom templates are present in the Source environment however related LoadXML files does not exist in Target environment

 

 

 

Marco

And this could be another reason for your WINDU failure

 

https://www.ptc.com/en/support/article/CS319706

 

Do not config the Windchill integrate with Active Directory Server correctly
There is no users from Active Directory Server, but the AD server adapter was set in properties wt.federation.org.directoryServices

 

 

Marco
Announcements


Top Tags