My Oracle Support Banner

Null Pointer Exception Error When Attempting To Add Line Items Via REST API Calls (Doc ID 2633916.1)

Last updated on JUNE 16, 2021

Applies to:

Primavera Unifier Cloud Service - Version 19.9 to 19.10 [Release 19.9 to 19.10]
Information in this document applies to any platform.

Symptoms

On : Primavera Unifier, RESTFUL API Web Services

When attempting to using RESTFUL API to add a line item to a BP, the following error occurs.

ERROR
-----------------------
Error in creating line item. file:///studio/bp/action_service.xml:2534: java.lang.NullPointerException


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Launch an appropriate API application
2. Connect and authenticate
3. Populate API and execute call that adds a line item to a BP record

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot add a line item correctly from the API.

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
Cause
Solution
References


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