Error: "java.lang.NullPointerException and Failed to Find the Associated EPS" When Importing XML

(Doc ID 2368681.1)

Last updated on MARCH 12, 2018

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 18.2 and later
Primavera P6 Enterprise Project Portfolio Management - Version 17.12.0.0 to 17.12.1.1 [Release 17.12]
Information in this document applies to any platform.

Symptoms

When attempting to import an XML file, the following errors occur in the import log.

ERROR
SEVERE: null
java.lang.NullPointerException
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.a(ImportWorker.java:554)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.importXMLGlobalData(ImportWorker.java:452)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.importProjects(XMLImporter.java:413)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.b(ImportExportServiceImpl.java:2314)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(ImportExportServiceImpl.java:433)
at com.primavera.guiservices.impexp.ImportExportWorker.execute(ImportExportWorker.java:17)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(ThreadPoolImpl.java:343)
at java.lang.Thread.run(Thread.java:745)

OR

SEVERE: Failed to find the associated EPS 194961. You may not have access to this EPS.
com.primavera.integration.client.xml.xmlimporter.XMLImporterException: Failed to find the associated EPS 194961. You may not have access to this EPS.
at com.primavera.integration.client.xml.xmlimporter.persistence.PersistenceProviderImpl.persist(PersistenceProviderImpl.java:131)
at com.primavera.integration.client.xml.xmlimporter.handler.DefaultProcessor.importObject(DefaultProcessor.java:919)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.b(ImportWorker.java:763)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.importXMLGlobalData(ImportWorker.java:461)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.importProjects(XMLImporter.java:413)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.b(ImportExportServiceImpl.java:2314)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(ImportExportServiceImpl.java:433)
at com.primavera.guiservices.impexp.ImportExportWorker.execute(ImportExportWorker.java:17)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(ThreadPoolImpl.java:343)
at java.lang.Thread.run(Thread.java:745)


STEPS

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

  1. Attempt to import an XML file in P6 Web or P6 Professional Client.
  2. Open the View Service Status from in P6 Web.
  3. After the import fails, click View Log.
  4. Note the errors.

Cause

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 hundreds of Community platforms