PO BWO Webservice Giving Response With NullPointerException For Method PerformDocControlAction While Trying To Close PO (Doc ID 2307891.1)

Last updated on SEPTEMBER 15, 2017

Applies to:

Oracle Purchasing - Version 12.2.6 and later
Information in this document applies to any platform.

Symptoms

Problem Summary
---------------------------------------------------
PO BSO Webservice giving response with NullPointerException for method PerformDocControlAction

Problem Description
---------------------------------------------------

We are implementing PO BSO Webservice for updating PO's in EBS and also closing PO's at Header and Line Level.

The method "UpdatePurchaseOrder" is working correctly and giving back the response but the method "PerformDocControlAction" is not working and throwing NullPointer exception.

Please help and let us know if there is any setup causing this or any other issue. We are on 12.2.6.


ERROR
-------------------
<PurchaseOrderService_PerformDocControlAction_Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oans="http://xmlns.oracle.com/apps/po/service" xmlns="http://xmlns.oracle.com/apps/po/service">
  
  java.lang.NullPointerException

STEPS
-------------------
1. Login to the E-Business Suite and choose the Purchasing Module.
2. Setting up to Implement BSO WebService for PO
3. The method "UpdatePurchaseOrder" is working correctly and giving back the response but the method "PerformDocControlAction" is not working and throwing NullPointer exception.

Can see the following in FND debug log:
</ErrorMessage>
</PurchaseOrderService_PerformDocControlAction_Response></env:Body></env:Envelope>"
XXC07740 1.00 "Response: Error Code : Severe
Error Text Description: java.lang.NullPointerException"
XXC07740 1.00 Program End Time:25-AUG-2017 19:31:50...
fnd.plsql.fnd_file.PUT_LINE 3.00 "sid:28519237: Error in PO header closure via WS call : Error Code : Severe
Error Text Description: java.lang.NullPointerException"
XXC07855 1.00 4488946: ****************************************************
fnd.plsql.fnd_file.PUT_LINE 3.00 sid:28519237: ****************************************************
XXC07855 1.00 4488946: ****************************************************
XXC07855 1.00 "4488946: Below are the Unexpected Exceptions/Issues for Transactions during the Program run :

System Code :HML
Batch Id :20170810283
Creation Date :10-AUG-17
PO_Number Sequence_Id Interface_Hdr_Id Error_message
----------------- ------------------- ------------------- ---------------
285000615 245 Error Code : Severe

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