XML Import Job Submitted Through P6 Web Services Operation "ImportProjectAsyncASAP" Fails With NullPointerException
(Doc ID 2979163.1)
Last updated on OCTOBER 09, 2023
Applies to:
Primavera Web Services - Version 19.12.11.0 to 19.12.21.1 [Release 19.12]Information in this document applies to any platform.
Symptoms
When attempting to import XML file using P6 web services operation ImportProjectAsyncASAP,
the following error occurs.
ERROR
-----------------------
ERROR com.primavera.guiservices.impexp.ImportExportServiceImpl Error happened in the Import/Export Project Service
java.lang.NullPointerException
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.a(XMLImporter.java:1365)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.importProjects(XMLImporter.java:400)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.b(ImportExportServiceImpl.java:2608)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(ImportExportServiceImpl.java:472)
at com.primavera.guiservices.impexp.ImportExportWorker.execute(ImportExportWorker.java:22)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(ThreadPoolImpl.java:343)
at java.lang.Thread.run(Thread.java:748)
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
- Call P6 web services operation ImportProjectAsyncASAP to import an XML file.
- Receive successful SOAP response with message "An Asynchronous import job has been created. Check the status of the job using job ID.".
- Login to P6 web, navigate to "View service status" page, notice that the job has failed with no error message in the import log.
- Check the P6 web access logs and notice the NullPointerException.
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 |