NullPointerException When Modify The Existing Spot Rate And Re-Rate the Quote (Doc ID 1590359.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Forwarding and Brokerage Operations - Version 6.3.1 to 6.3.3 [Release 6.3]
Information in this document applies to any platform.

Symptoms

When attempting to change an existing rate that has been defined using the Spot Rate method in Quote, the following error occurs.

ERROR
-----------------------
java.lang.NullPointerException
at glog.webserver.quote.DetailUpdateServlet.getQueryDataFromOption(DetailUpdateServlet.java:306)
at glog.webserver.quote.DetailUpdateServlet.rateQuoteOption(DetailUpdateServlet.java:177)
at glog.webserver.quote.DetailUpdateServlet.getDocument(DetailUpdateServlet.java:63)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:75)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:977)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.screenlayout.FrameInterceptFilter.doFilter(FrameInterceptFilter.java:29)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.screenlayout.CsrfFilter.doFilter(CsrfFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:29)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:72)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Brokerage and Forwarding->Quote
Query finder ->Search for Quote Id - SPOT_OFFERING , select & choose Edit Option

2. Click On Cost Option tab & then Click on pencil(Edit) Icon On Existing Cost Option Number 1

3. On Quote Cost Option screen -> Sell Side Shipment Section -> Click on pencil(Edit) Icon

4. Shipment Screen pops-up -> Click on Rate Button,

Hit the error message - java.lang.NullPointerException

5. On Cost Type - Click on pencil(Edit) Icon Change the base cost to 200 USD & click on Save.

Now again click on Rate Button,

Hit the error message - java.lang.NullPointerException

6. Click on Create Spot Rate Button
Setup new spot rate with base Cost = 200
New Rate record is crated - SPOT_RATE_OFFERING-000002

7. Now again click on Rate Button,

Hit the error message - java.lang.NullPointerException

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