RN PIPs problems

We are recieving the following error once every minute. It seems it’s
the system service ‘TN Conversation Sweeper’ that fails. (At least it
seems to be the service provoking this). Any one have a clue about this.

Product(s) and version number(s):

Product webMethods for Trading Networks
Version 4.5.1
Build Number 246
B2B Server Version 4.6
Maximum Partner Number 1
Server Locale da_DK

Package Information
Package Name WmRosettaNet
Version 4.5
Build 125

  • Installed service packs (if any): SP1

The error is: (I’ve linebreaked it for readability)

The error handling service for script
PIP3A6vV02.00 Distribute Purchase Order Status Buyer to
Company(wm.ip.cm.handlers:processUnhandledDocument) failed.

The original error was java.lang.NullPointerException
at
com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:4
5)
at
com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:176
)
at
com.wm.app.tn.cm.ConversationEngine.invokeErrorService(ConversationEngin
e.java:207)
at
com.wm.app.tn.cm.ConversationEngine.process(ConversationEngine.java:657)

    at

com.wm.app.tn.cm.ConversationEngine.process(ConversationEngine.java:579)

    at

com.wm.app.tn.cm.ConversationReaper$Reaper.checkConversation(Conversatio
nReaper.java:153)
at
com.wm.app.tn.cm.ConversationReaper$Reaper.run(ConversationReaper.java:1
97)
at com.wm.util.CronJob.run(CronJob.java:473)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)

Also we recieve this error message:

Exception in conversation 364132837-29411060226697-Buyer

Error trapped in service: wm.ip.cm.handlers:inboundValidation
Error: ip.util:getBizDocFromEvent(): Error trapped in service:
wm.ip.util:getBizDocFromEvent
Error:

Error getting Last Document

com.wm.app.b2b.server.ServiceException
lastEvents not found
com.wm.app.b2b.server.ServiceException: lastEvents not
found
at
com.wm.util.LocalizedException.(LocalizedException.java:65)
at
com.wm.app.b2b.server.ServerException.(ServerException.java:35)
at
com.wm.app.b2b.server.ServiceException.(ServiceException.java:20)
at wm.ip.util.getLastDocuments(util.java:145)
at java.lang.reflect.Method.invoke(Native Method)
at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at
com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:5
6)
at
com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:176
)
at
com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:316)
at
com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:294)
at
com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:194)
at
com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:194
)
at
com.wm.app.tn.cm.ConversationThread.run(ConversationThread.java:90)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)





Occured at: 2002/10/21 20:06:15.718
Service Stack Trace:
wm.ip.util:getBizDocFromEvent
wm.ip.util:getLastDocuments
Stack Trace:
com.wm.app.tn.err.EXMLException:

Error getting Last Document

com.wm.app.b2b.server.ServiceException
lastEvents not found
com.wm.app.b2b.server.ServiceException: lastEvents not
found
at
com.wm.util.LocalizedException.(LocalizedException.java:65)
at
com.wm.app.b2b.server.ServerException.(ServerException.java:35)
at
com.wm.app.b2b.server.ServiceException.(ServiceException.java:20)
at wm.ip.util.getLastDocuments(util.java:145)
at java.lang.reflect.Method.invoke(Native Method)
at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at
com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:5
6)
at
com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:176
)
at
com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:316)
at
com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:294)
at
com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:194)
at
com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:194
)
at
com.wm.app.tn.cm.ConversationThread.run(ConversationThread.java:90)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)





at
com.wm.util.LocalizedException.(LocalizedException.java:70)
at
com.wm.app.b2b.server.ServerException.(ServerException.java:25)
at
com.wm.app.b2b.server.ServiceException.(ServiceException.java:15)
at com.wm.app.tn.err.EXMLException.(EXMLException.java:21)
at wm.ip.util.getLastDocuments(util.java:187)
at java.lang.reflect.Method.invoke(Native Method)
at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at
com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:5
6)
at
com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:176
)
at
com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:316)
at
com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:294)
at
com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:194)
at
com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:194
)
at
com.wm.app.tn.cm.ConversationThread.run(ConversationThread.java:90)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)

Occured at: 2002/10/21 20:06:15.859
Service Stack Trace:
wm.ip.cm.handlers:inboundValidation
wm.ip.util:getBizDocFromEvent
Stack Trace:
com.wm.lang.flow.FlowException:ip.util:getBizDocFromEvent(): Error
trapped in service: wm.ip.util:getBizDocFromEvent
Error:

Error getting Last Document

com.wm.app.b2b.server.ServiceException
lastEvents not found
com.wm.app.b2b.server.ServiceException: lastEvents not
found
at
com.wm.util.LocalizedException.(LocalizedException.java:65)
at
com.wm.app.b2b.server.ServerException.(ServerException.java:35)
at
com.wm.app.b2b.server.ServiceException.(ServiceException.java:20)
at wm.ip.util.getLastDocuments(util.java:145)
at java.lang.reflect.Method.invoke(Native Method)
at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at
com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:5
6)
at
com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:176
)
at
com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:316)
at
com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:294)
at
com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:194)
at
com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:194
)
at
com.wm.app.tn.cm.ConversationThread.run(ConversationThread.java:90)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)





Occured at: 2002/10/21 20:06:15.718
Service Stack Trace:
wm.ip.util:getBizDocFromEvent
wm.ip.util:getLastDocuments
Stack Trace:
com.wm.app.tn.err.EXMLException:

Error getting Last Document

com.wm.app.b2b.server.ServiceException
lastEvents not found
com.wm.app.b2b.server.ServiceException: lastEvents not
found
at
com.wm.util.LocalizedException.(LocalizedException.java:65)
at
com.wm.app.b2b.server.ServerException.(ServerException.java:35)
at
com.wm.app.b2b.server.ServiceException.(ServiceException.java:20)
at wm.ip.util.getLastDocuments(util.java:145)
at java.lang.reflect.Method.invoke(Native Method)
at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at
com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:5
6)
at
com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:176
)
at
com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:316)
at
com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:294)
at
com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:194)
at
com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:194
)
at
com.wm.app.tn.cm.ConversationThread.run(ConversationThread.java:90)
at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
at java.lang.Thread.run(Thread.java:498)





at
com.wm.util.LocalizedException.(LocalizedException.java:70)
at
com.wm.app.b2b.server.ServerException.(ServerException.java:25)
at
com.wm.app.b2b.server.ServiceException.(ServiceException.java:15)
at com.wm.app.tn.err.EXMLException.(EXMLException.java:21)
at wm.ip.util.getLastDocuments(util.java:187)
at java.lang.reflect.Method.invoke(Native Method)
at
com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled
Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled
Code))
at
com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled
Code))
at
com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at
com.wm.app.tn.cm.B2BServerContext_40.invokeAs(B2BServerContext_40.java:5
6)
at
com.wm.app.tn.cm.ConversationEngine.invokeAs(ConversationEngine.java:176
)
at
com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:316)
at
com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:294)
at
com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:194)
at
com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:194
)
at