XML Import Error "ActualNonLaborCost: Cannot Set Cost Because There is No Price" (Doc ID 2121421.1)

Last updated on MARCH 31, 2016

Applies to:

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

Symptoms

When attempting to import a Primavera XML file, the following error occurs.

ERROR
-----------------------
ActualNonLaborCost: Cannot set cost because there is no price.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Log in to P6
2. Go to File-->Import to import a Primavera XML file
3. Import failed with error below:

Errors located:
ActualNonLaborCost: Cannot set cost because there is no price.
at com.primavera.bo.base.BOFieldException.addFieldError(Unknown Source)
at com.primavera.bo.rules.update.ActivityPeriodActualUE.performFieldValidationRow(Unknown Source)
at com.primavera.bo.base.UpdateEngineImpl.performFieldValidationRow(Unknown Source)
at com.primavera.bo.base.CreateEngineImpl.create(Unknown Source)
at com.primavera.bo.base.CreateEngineImpl.createBatch(Unknown Source)
at com.primavera.bo.remotable.ReqMgr.createObjectsWithWbsContext(Unknown Source)
at com.primavera.bo.remotable.ReqMgr.createObjects(Unknown Source)
at com.primavera.bo.remotable.qproxy.ReqMgr.createObjects(Unknown Source)
at com.primavera.bo.DBReqMgr.createObjects(Unknown Source)
at com.primavera.integration.server.mediator.BusinessObjectMediator.create(Unknown Source)
at com.primavera.integration.server.mediator.ActivityPeriodActualMediator.create(Unknown Source)
at com.primavera.integration.server.ServerFacadeBOMgr.create(Unknown Source)
at com.primavera.integration.server.ServerFacade.create(Unknown Source)
at com.primavera.integration.client.LocalSession.a(Unknown Source)
at com.primavera.integration.client.BOBase.a(Unknown Source)
at com.primavera.integration.client.BOHelperBase.a(Unknown Source)
at com.primavera.integration.client.bo.helper.ActivityPeriodActualHelper.a(Unknown Source)
at com.primavera.integration.client.bo.BOHelperImpl.create(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.persistence.PersistenceProviderImpl.a(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.persistence.PersistenceProviderImpl.a(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.persistence.PersistenceProviderImpl.persist(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.handler.DefaultProcessor.importObject(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.a(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.a(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.ImportWorker.createNewProject(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.a(Unknown Source)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.importProjects(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.b(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.doImport(Unknown Source)
at com.primavera.guiservices.impexp.ImportExportServiceImpl.timestampChanged(Unknown Source)
at com.primavera.infr.srvcs.TimestampServiceImpl.b(Unknown Source)
at com.primavera.infr.srvcs.TimestampServiceImpl.execute(Unknown Source)
at com.primavera.infr.threadpool.ThreadPoolImpl.run(Unknown Source)
at java.lang.Thread.run(Thread.java:724)

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot import the XML file.

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