Article - CS219168

Workflow fails with error PersistenceException at Set State robot in Windchill PDMLink 10

Modified: 30-Sep-2015   


Applies To

  • Windchill PDMLink 10.0 to 10.2

Description

  • Workflow fails with error PersistenceException at Set State robot
  • Errors in method Server log:
ERROR [WfSharedUserWorkQueue0.PollingThread] wt.method.MethodContextMonitor.contexts.other Administrator - <date> 07:40:58.535 +0000, 2zdv78;iez6wozd;9528;kf4do1;8191, -, -, -, <user>, <server>, wt.queue.ProcessingQueue-WfSharedUserWorkQueue0, execEntries, , 0, 16, 0.052420321, 9, 0.016001066, 0.0936006, 0.161937301
wt.workflow.WfException: A persistence error occurred.
Nested exception is: wt.pom.PersistenceException: A persistence error occurred.
Nested exception is: wt.lifecycle.LifeCycleException: A persistence error occurred.
Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Nested exception is: wt.pom.DatastoreException: A SQL error has occurred. Database system message follows:
Nested exception is: wt.util.WTInvalidParameterException: No EnumeratedType exists with "<State Key>" as its internal value.
    at wt.fc.EnumeratedTypeUtil.toEnumeratedType(EnumeratedTypeUtil.java:311)
    at wt.fc.EnumeratedType.toEnumeratedType(EnumeratedType.java:431)
    at wt.lifecycle._State.toState(_State.java:29)
    at wt.lifecycle._PhaseTemplate.readExternal(_PhaseTemplate.java:280)
    at wt.pds.WTResultSet.readObject(WTResultSet.java:679)
    at wt.pds.PersistableItemBuilder.build(PersistableItemBuilder.java:559)
    at wt.pds.StandardACProcessor.processResults(StandardACProcessor.java:99)
    at wt.pds.SequentialResultBuilder.build(SequentialResultBuilder.java:433)
    at wt.pds.BasicResultCursor.next(BasicResultCursor.java:93)
    at wt.pds.SQLDatabasePds.query(SQLDatabasePds.java:853)
    at wt.pds.SQLDatabasePds.expandLink(SQLDatabasePds.java:3780)
    at wt.pds.SQLDatabasePds.expand(SQLDatabasePds.java:679)
    at wt.pom.PersistentObjectManager.expand(PersistentObjectManager.java:1468)
    at wt.fc.StandardPersistenceManager.expand(StandardPersistenceManager.java:3112)
    at wt.fc.StandardPersistenceManager.navigate(StandardPersistenceManager.java:508)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
    at com.sun.proxy.$Proxy7.navigate(Unknown Source)
    at wt.lifecycle.StandardLifeCycleService.getSuccessorPhase(StandardLifeCycleService.java:10875)
    at wt.lifecycle.StandardLifeCycleService.getPhaseTemplates(StandardLifeCycleService.java:3043)
    at wt.lifecycle.StandardLifeCycleService.stateSearch(StandardLifeCycleService.java:13834)
    at wt.lifecycle.StandardLifeCycleService.validateState(StandardLifeCycleService.java:13733)
    at wt.lifecycle.StandardLifeCycleService.validateSetState(StandardLifeCycleService.java:7565)
    at wt.lifecycle.StandardLifeCycleService.setState(StandardLifeCycleService.java:7491)
    at wt.lifecycle.StandardLifeCycleService.setState(StandardLifeCycleService.java:7823)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at wt.workflow.robots.WfInternalRequest.invokeTargetMethod(WfInternalRequest.java:374)
    at wt.workflow.robots.WfInternalRequest.invokeMethod(WfInternalRequest.java:329)
    at wt.workflow.robots.WfInternalRequest.processRequest(WfInternalRequest.java:109)
    at wt.workflow.robots.WfInternalMethod.invoke(WfInternalMethod.java:138)
    at wt.workflow.robots.WfInternalMethod.run(WfInternalMethod.java:106)
    at wt.workflow.engine.StandardWfEngineService.runRobot(StandardWfEngineService.java:1185)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at wt.queue.QueueEntry.execute(QueueEntry.java:224)
    at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:285)
    at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:901)
    at wt.queue.PollingQueueThread.run(PollingQueueThread.java:99)
  • ​There is a master and a slave method server configured
This is a printer-friendly version of Article 219168 and may be out of date. For the latest version click CS219168