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 20.12.3.0 [Release 18.8 to 20.12]
Information in this document applies to any platform.

Symptoms

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
com.primavera.integration.client.xml.xmlimporter.XMLImporterException
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.a(ImportWorker.java:1440)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.a(ImportWorker.java:1131)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.createNewProject(ImportWorker.java:423)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.a(XMLImporter.java:662)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.importProjects(XMLImporter.java:470)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.b(ImportExportServiceImpl.java:2622)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(ImportExportServiceImpl.java:482)
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)
Caused by: java.lang.NullPointerException
Original Exception:
java.lang.NullPointerException

 

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.

Changes

 

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!


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