My Oracle Support Banner

Error 'Failed to load ImportOptionsTemplate Data' When Importing a Primavera XML File in P6 Professional (Doc ID 2884400.1)

Last updated on AUGUST 03, 2022

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 18.8 to [Release 18.8 to 20.12]
Information in this document applies to any platform.


When importing some Primavera XML files using a template in P6 Professional, the following error occurs (some other XML files import successfully using the same template).

Failed to load ImportOptionsTemplate Data

The following error is also found in the project import log file:

SEVERE: null
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.a(
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.a(
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.createNewProject(
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.a(
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.importProjects(
at com.primavera.guiservices.impexp.ImportExportServiceImpl.b(
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(
at com.primavera.guiservices.impexp.ImportExportWorker.execute(
Caused by: java.lang.NullPointerException
Original Exception:


The issue can be reproduced at will with the following steps:

  1. In P6 Professional, open a project and export it in Primavera XML format.
  2. In the export options, choose to exclude Project Layouts and baselines, and do not compress.
  3. Quit and relaunch P6, and login to another P6 database.
  4. Import the newly-created XML file.
  5. Leave Import layouts unchecked.
  6. Import the file using a preset import template.
  7. The import fails with the reported error.




To view full details, 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 a vibrant support community of peers and Oracle experts.