Article - CS139953

Set State robot failed randomly with exception: java.lang.NoSuchMethodException in Windchill PDMLink

Modified: 08-Jan-2021   


Applies To

  • Windchill PDMLink 10.1 to 11.0

Description

  • Set State robot failed randomly with exception:  java.lang.NoSuchMethodException: wt.lifecycle.StandardLifeCycleService.setState(wt.fc.WTObject, java.lang.String)
  • The set State Robot is in a Block. Workflow template is imported from old version system.
  • Exception in Background MethodServer log:
ERROR [WfUserWorkQueue.PoolQueueThread-411] root wcadmin - Queue entry number: #####
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at wt.queue.QueueEntry.execute(QueueEntry.java:232)
at wt.queue.QueueRunnable.run(QueueRunnable.java:186)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: wt.workflow.WfException: wt.util.WTException: wt.workflow.WfException: wt.util.WTException: wt.util.WTException: java.lang.NoSuchMethodException: wt.lifecycle.StandardLifeCycleService.setState(wt.fc.WTObject, java.lang.String)
Nested exception is: java.lang.NoSuchMethodException: wt.lifecycle.StandardLifeCycleService.setState(wt.fc.WTObject, java.lang.String)
  • Change notice workflow remains blocked at Set State Released
 
This is a printer-friendly version of Article 139953 and may be out of date. For the latest version click CS139953