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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Workflows giving Nullpointer error for unknown reason 10.2 M020

kreidy
6-Contributor

Workflows giving Nullpointer error for unknown reason 10.2 M020

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 3
BenPerry
15-Moonstone
(To:kreidy)

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?

ybagul
12-Amethyst
(To:kreidy)

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

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

Announcements


Top Tags