My Oracle Support Banner

"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 later
Oracle Bills of Material - Version 12.2.4 and later
Information in this document applies to any platform.


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.

Exception Details.

oracle.apps.fnd.framework.OAException: java.lang.NullPointerException


at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(

at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(

at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(

at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(

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



 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.


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

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