Error - Java.lang.NullPointerException When Updating Field On Results Page (Doc ID 2000890.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.2.0 and later
Information in this document applies to any platform.

Symptoms


A Custom screen set of Buy shipment is created and column of “Delivery Location Id” is added into Result page of Buy Shipment screen set & this column is made as editable
While updating a value for this column on the results page and saving , the error below is seen

java.lang.NullPointerException
at glog.webserver.finder.ResultSaveServlet.setElementValue(ResultSaveServlet.java:659)
at glog.webserver.finder.ResultSaveServlet.handleField(ResultSaveServlet.java:408)
at glog.webserver.finder.ResultSaveServlet.processElement(ResultSaveServlet.java:365)
at glog.webserver.finder.ResultSaveServlet.processEditRequest(ResultSaveServlet.java:338)
at glog.webserver.finder.ResultSaveServlet.processRequest(ResultSaveServlet.java:328)
at glog.webserver.finder.ResultSaveServlet.getDocument(ResultSaveServlet.java:167)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:75)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:822)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

STEPS
----------
The issue can be reproduced at will with the following steps:
1. A custom Buy Shipment Screen Set is created and column of “Delivery Location Id” is added into Result page of Buy Shipment screen set & this column is made as editable
2. Query up a record on the Buy Shipment page and try to add a value to the above column and save
3. java.lang.NullPointerException error is seen


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