My Oracle Support Banner

"java.lang.NullPointerException" Exception When Saving a NFRC RULE to a Quote in Which No Shipping Information in Quote Request Tab is Defined (Doc ID 1915371.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Transportation Management - Version 6.3.3 to 6.3.5 [Release 6.3]
Information in this document applies to any platform.

Symptoms

When attempting to Manually apply an NFRC to a Quote, the following error occurs.

 -- Error
2014-06-13 12:37:14.721 295318 Error Exception java.lang.NullPointerException

java.lang.NullPointerException
at glog.business.quote.QuoteUpdateSessionBean.updateCosts(QuoteUpdateSessionBean.java:225)
at glog.business.quote.QuoteUpdateSessionBean.commitQuoteCostOptionShipments(QuoteUpdateSessionBean.java:102)
at glog.business.quote.QuoteUpdateSessionServerSideEJBWrapper.commitQuoteCostOptionShipments(QuoteUpdateSessionServerSideEJBWrapper.java:42)
at glog.business.quote.QuoteUpdateSessionHome_5jq4j3_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.quote.QuoteUpdateSessionHome_5jq4j3_EOImpl.commitQuoteCostOptionShipments(Unknown Source)
at glog.business.action.quote.QuoteActionExecutor.applyNFRCRuleManually(QuoteActionExecutor.java:286)
at glog.business.quote.QuoteServerActionSessionBean.applyNFRCRuleManually(QuoteServerActionSessionBean.java:39)
at glog.business.quote.QuoteServerActionSessionServerSideEJBWrapper.applyNFRCRuleManually(QuoteServerActionSessionServerSideEJBWrapper.java:50)
at glog.business.quote.QuoteServerActionSessionServerSideEJBWrapper_gxl4s1_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.quote.QuoteServerActionSessionServerSideEJBWrapper_gxl4s1_EOImpl.applyNFRCRuleManually(Unknown Source)
at glog.business.quote.gen.QuoteServerActionSessionSkel.applyNFRCRuleManually(QuoteServerActionSessionSkel.java:70)
at glog.business.quote.gen.QuoteServerActionSessionSkel.exec(QuoteServerActionSessionSkel.java:40)
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:50)
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: '5' for queue: 'weblogic.kernel.Default (self-tuning)']

 -- Expected Behavior
That when applying the NFRC that it would process as expected.


 -- Steps
 The issue can be reproduced at will with the following steps.

1. Navigated to Brokerage and Forwarding > Job Management > Non Freight Related Charge Rules
2. Created an NFRC Rule
3. Navigated to Brokerage and Forwarding > Quote and create a Quote
4. Saved Quote then selected Actions > Manually Apply NFRC Rules
5. Selected Non Freight Related Charge Rule created above

Error is received


Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.