Invoice Match When Fails Errors With A NullPointerException (Doc ID 1597966.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Freight Payment, Billing, and Claims - Version 6.3.1 and later
Information in this document applies to any platform.

Symptoms

On : 6.3.1 version, Payment

If the Matching rules are satisfied, the Invoice matches successfully against the shipment. But if the match is not a success,

the log shows an ERROR Message

ERROR
-----------------------
2013-10-04 06:15:27.346 596727 Error Exception MatchInvoiceWorkflow - No Shipments Matched for Invoice  - CMNA/CSUS.INV-0000023
[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
2013-10-04 06:15:27.349 596727 Error Exception java.lang.NullPointerException

java.lang.NullPointerException
at glog.server.workflow.invoice.MatchInvoiceWorkflow$NoMatch.perform(MatchInvoiceWorkflow.java:309)
at glog.server.workflow.Workflow.executeBody(Workflow.java:79)
at glog.server.workflow.Workflow.execute(Workflow.java:51)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(Unknown Source)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.EventHandler.triggerEvent(EventHandler.java:228)
at glog.server.workflow.TopicManager.execute(TopicManager.java:213)
at glog.server.workflow.ServerPublisher.execute(ServerPublisher.java:179)
at glog.server.workflow.ServerPublisher.execute(ServerPublisher.java:182)
at glog.server.workflow.Topic.execute(Topic.java:178)
at glog.business.action.invoice.MatchInvoiceActionExecutor.autoMatchInvoice(MatchInvoiceActionExecutor.java:314)
at glog.business.action.invoice.MatchInvoiceActionExecutor.matchInvoices(MatchInvoiceActionExecutor.java:230)
at glog.business.invoice.InvoiceServerActionSessionBean.matchInvoices(InvoiceServerActionSessionBean.java:166)
at glog.business.invoice.InvoiceServerActionSessionServerSideEJBWrapper.matchInvoices(InvoiceServerActionSessionServerSideEJBWrapper.java:166)
at glog.business.invoice.InvoiceServerActionSessionServerSideEJBWrapper_ncc51r_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.invoice.InvoiceServerActionSessionServerSideEJBWrapper_ncc51r_EOImpl.matchInvoices(Unknown Source)
at glog.business.invoice.gen.InvoiceServerActionSessionSkel.matchInvoices(InvoiceServerActionSessionSkel.java:399)
at glog.business.invoice.gen.InvoiceServerActionSessionSkel.exec(InvoiceServerActionSessionSkel.java:84)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:62)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(Unknown Source)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1 Go to Actions > Financials > Matching > AutoMatch Invoice

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms