Skip to main content
1-Visitor
June 25, 2015
Question

Workflows giving Nullpointer error for unknown reason 10.2 M020

  • June 25, 2015
  • 3 replies
  • 1800 views

While developing workflows we are running into an issue where the workflow fails to clear a step. The step shows executed, but when we look into the actual step we find a null-pointer error. In Checking the method server we find the following error:

2015-06-24 09:15:25,386 INFO  [ajp-bio-8010-exec-4] wt.system.err Tech - wt.util.WTRuntimeException: Cannot restore "wt.workflow.robots.WfExpressionRobot.103962692" because it no longer exists. Nested exception is:

2015-06-24 09:15:25,386 INFO  [ajp-bio-8010-exec-4] wt.system.err Tech - (wt.fc.fcResource/32) wt.fc.ObjectNoLongerExistsException: Cannot restore "wt.workflow.robots.WfExpressionRobot.103962692" because it no longer exists.



We cannot figure out why it would be throwing this error, we have checked all the code in the workflow and it is working.  We can get it to run on our development server but when we move to production the workflow fails.  The expression robots clearly exist in the workflow, could this be a server communication issue?

3 replies

BenPerry
15-Moonstone
June 25, 2015

Do you know which robot is being referenced?  Can you post a screenshot of the robot and some of the other nodes near it, and their connections?

1-Visitor
June 25, 2015

One thing to try is clearing workflow cache. Delete all the content from the following directory and restart Windchill.

  • <Windchill-Home>\codebase\wt\workflow\expr
ShirishMorkhade
16-Pearl
July 2, 2015

Hi Kevin,

In addition to Ben & Yogesh's suggestion below,

  • You can also check WfUserWorkQueue & WfPropagationQueue to confirm if there are any failed entries. If yes, you can click on i icon (Information page) and there you can view complete stack trace.
  • You can also view Process Manager and click on failed workflow node. In below panel you will the exception.

Thanks,

Shirish