Error: "Field 'Name' An Activity May Not Be Of Zero Length," When Importing A Microsoft Project XML File

(Doc ID 911965.1)

Last updated on MAY 23, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 6.2 and later
Primavera Contractor - Version 6.1 and later
Primavera P6 Professional Project Management - Version 6.2 and later
All Platforms
***Checked for relevance on 30-Nov-2011***
***Checked for relevance on 16-Aug-2013***

Symptoms

The following error occurs when importing a Microsoft Project (MSP) XML File.

"SEVERE: Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length." listed in Project.primavera.xml.SummaryImportLog.txt.

SEVERE: Unable to invoke setName on business object Activity. SummaryImportLog.txt shows SEVERE: Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length. SEVERE: Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length.
com.primavera.integration.client.xml.xmlimporter.XMLImporterException: Unable to invoke setName on business object Activity. Field "Name" in Activity may not be of zero length.
 at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
 at com.primavera.integration.client.xml.xmlimporter.j.e.if(DefaultProcessor.java)
 at com.primavera.integration.client.xml.xmlimporter.j.e.a(DefaultProcessor.java)
 at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
 at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
 at com.primavera.integration.client.xml.xmlimporter.a.a(ImportWorker.java)
 at com.primavera.integration.client.xml.xmlimporter.a.if(ImportWorker.java)
 at com.primavera.integration.client.xml.xmlimporter.XMLImporter.createNewProject(XMLImporter.java)
 at com.primavera.integration.app.importexport.ImportExportAction.a(Unknown Source)
 at com.primavera.integration.app.importexport.ImportExportAction.doImport(Unknown Source)
 at com.primavera.integration.app.importexport.ImportExportAction.execute(Unknown Source)
 at com.primavera.integration.app.importexport.ImportExportMain.main(Unknown Source) Process completed with errors do you want to view the log file when Importing xml from Microsoft Project 2007 (MSP2007).

SEVERE: Field Name on Calendar may not be zero length.
com.primavera.integration.client.xml.xmlimporter.c.d: Field Name on Calendar may not be zero length.
at com.primavera.integration.client.xml.xmlimporter.c.b.b(Matcher.java:331)
at com.primavera.integration.client.xml.xmlimporter.c.b.a(Matcher.java:277)
at com.primavera.integration.client.xml.xmlimporter.c.b.a(Matcher.java:240)
at com.primavera.integration.client.xml.xmlimporter.c.b.a(Matcher.java:223)
at com.primavera.integration.client.xml.xmlimporter.c.b.a(Matcher.java:542)
at com.primavera.integration.client.xml.xmlimporter.c.b.a(Matcher.java:217)
at com.primavera.integration.client.xml.xmlimporter.c.b.a(Matcher.java:206)
at com.primavera.integration.client.xml.xmlimporter.a.g.c(MatchMaker.java:114)
at com.primavera.integration.client.xml.xmlimporter.a.g.i(MatchMaker.java:234)
at com.primavera.integration.client.xml.xmlimporter.a.g.c(MatchMaker.java:289)
at com.primavera.integration.client.xml.xmlimporter.a.b.a(DefaultProcessor.java:71)
at com.primavera.integration.client.xml.xmlimporter.a.b.a(DefaultProcessor.java:677)
at com.primavera.integration.client.xml.xmlimporter.a.a.P.a(CalendarHandler.java:61)
at com.primavera.integration.client.xml.xmlimporter.b.a(ImportWorker.java:160)
at com.primavera.integration.client.xml.xmlimporter.b.a(ImportWorker.java:70)
at com.primavera.integration.client.xml.xmlimporter.XMLImporter.createNewProject(XMLImporter.java:339)
at com.primavera.integration.app.importexport.ImportExportAction.a(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.try(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.new(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportMain.main(Unknown Source)c

:::::::::::::::::::: VALIDATION ::::::::::::::::::::
Mode: MSP2PRM
Source XML: C:\DOCUME~1\User\LOCALS~1\Temp\<Name of File>.xml (15447 KB)
Source XSD: /com/primavera/xslt/xsd/p6apibo.xsd
Validator: class org.apache.xerces.jaxp.validation.ValidatorImpl
Elapsed Time (in seconds): 0.047

>>>>> VALIDATION SUCCESSFUL <<<>>>>

>>> />


>>>>
>>>>

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