"Supply To Order Workbench" for Assembled To Order (ATO) / Pick To Order (PTO) Item Runs into Java Exception (oracle.apps.fnd.framework.OAException: java.lang.NullPointerException)
(Doc ID 2862088.1)
Last updated on MAY 15, 2023
Applies to:
Oracle Configure to Order - Version 12.2.4 and laterOracle Bills of Material - Version 12.2.4 and later
Information in this document applies to any platform.
Symptoms
On : 12.2.4 version, Transaction Control
When Select ATO / PTO Item on the Sales Order Line and Click on "Supply To Order Workbench" from Actions Button, The Following Error Occurs.
ERROR
-----------------------
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.bom.ctoworkbench.webui.CtoWbSupplyCO.processRequest(CtoWbSupplyCO.java:44)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:673)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:283)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1830)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1588)
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigate to Order Management Super User Responsibility
2. Open the Sales Order Form
3. Enter the Line Details of ATO item
4. Action --> Supply to Order Workbench
5. It Open "Supply To Order Workbench" Page
6. Click on "Internal Requisition" link
7. It Pops Up Above Error
Changes
For an ATO model defined under PTO, LinkToLineId will not be null for the top level config item, as a result, the code enters into else block and tries to execute the SoChildLinesVOQuery which results in no rows.
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 |
Changes |
Cause |
Solution |
References |