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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

WfPropagationQueue错误wt.workflow.WfException: wt.util.WTException: java.lang.NullPointerException

YZ_10291617
1-Newbie

WfPropagationQueue错误wt.workflow.WfException: wt.util.WTException: java.lang.NullPointerException

I am using Windchill PDMLink Release 11.0 and Datecode with CPS M030-CPS22

汇聚队列 - WfPropagationQueue出现失败条目,错误信息:
wt.workflow.WfException: wt.util.WTException: java.lang.NullPointerException
嵌套异常是: java.lang.NullPointerException
嵌套异常是: wt.util.WTException: java.lang.NullPointerException
嵌套异常是: java.lang.NullPointerException


Here are the errors that I faced
2024-05-08 13:11:36,864 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.out Administrator -
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - java.lang.reflect.InvocationTargetException
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at java.lang.reflect.Method.invoke(Method.java:498)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.definer.WfExpression.invokeByReflection(WfExpression.java:1408)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.definer.WfExpression.executeRouter(WfExpression.java:1565)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.definer.WfExpression.execute(WfExpression.java:465)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.engine.WfConnector.evaluateRouterExpression(WfConnector.java:641)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.engine.WfConnector.fire(WfConnector.java:374)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.engine.WfConnector.fireInput(WfConnector.java:338)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.engine.ConnectorConnectorLink.receiveEvent(ConnectorConnectorLink.java:150)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.engine.StandardWfEngineService.propagateEvent(StandardWfEngineService.java:1120)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at sun.reflect.GeneratedMethodAccessor2062.invoke(Unknown Source)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at java.lang.reflect.Method.invoke(Method.java:498)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.queue.QueueEntry.execute(QueueEntry.java:231)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.queue.QueueRunnable.run(QueueRunnable.java:159)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2024-05-08 13:11:37,014 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at java.lang.Thread.run(Thread.java:748)
2024-05-08 13:11:37,015 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - Caused by: java.lang.NullPointerException
2024-05-08 13:11:37,015 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - at wt.workflow.expr.WfExpression17387048.executemethod_1(WfExpression17387048.java:32)
2024-05-08 13:11:37,015 INFO [WfPropagationQueue.PoolQueueThread-152] wt.system.err Administrator - ... 20 more
2024-05-08 13:11:37,033 ERROR [WfPropagationQueue.PoolQueueThread-152] root Administrator - Queue entry number: 748427
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor2062.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at wt.queue.QueueEntry.execute(QueueEntry.java:231)
at wt.queue.QueueRunnable.run(QueueRunnable.java:159)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thr
2 REPLIES 2

My apologies. What you posted is very generic type of error. What I can tell only is that you had a NullPointerException in a workflow expression. What is more useful is which job failed in what workflow. You should be able to tell this by looking at the WTPropagationQueue and there should be a failed entry. It should lead you to the workflow and the step that failed. Then you need to look at the code expression in that step for what could have cause the error. This could be data related or some case that was not handled. Workflow code should be very robust and handle as many exception as possible gracefully so the workflow remains running. 

Hello @YZ_10291617

 

It looks like you have a response from a community member. If it helped you solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Community Moderation Team.

Top Tags