My Oracle Support Banner

Export Project Fails With Error " java.lang.NullPointerException at com.primavera.integration.client.xml.xmlexporter.FullProjectExporter.addOldStyleRoleRateTag" When Using P6 Web Services (Doc ID 2709006.1)

Last updated on SEPTEMBER 09, 2020

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 20.4 and later
Information in this document applies to any platform.

Symptoms

When attempting to export a project using P6 Web Services after upgrading to version 20, the following error can be found in the application server logs.

ERROR
-----------------------
com.primavera.ws.p6.export.IntegrationFaultat com.primavera.ws.importexport.WSExportDelegate.exportProject
Caused by: java.lang.NullPointerException
 
Caused By: java.lang.NullPointerException at com.primavera.integration.client.xml.xmlexporter.FullProjectExporter.addOldStyleRoleRateTag

STEPS
-----------------------
1. Create a SoapUI request against sample data. For example:
    <v2:ExportProject>
       <v2:FileType>XML</v2:FileType>
       <v2:ProjectObjectId>453</v2:ProjectObjectId>
   </v2:ExportProject>

2. Response in SoapUI :
<ns:IntegrationFault xmlns:ns="http://xmlns.oracle.com/Primavera/P6/WS/IntegrationFaultType/V1">
    <ns:ErrorType>General</ns:ErrorType>
    <ns:ErrorCode>0</ns:ErrorCode>
    <ns:ErrorDescription/>
</ns:IntegrationFault>

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.