P6 XML Import Technical Issue

Hi,

I have a P6 XML file generated from 3rd party software. The XML file imports into P6 v19 fine, which has an Oracle database.

 

Trying to import onto other instances of P6 fails e.g. V16.1, v22.1 even Oracle cloud.

 

I think there is an XML tag missing or maybe mandatory data missing. The thing in common seems to be when fail, uses SQL Server or SQLLite database.

 

The error is not helpful really. We have an Oracle P6 support account so we will try that but I was hoping someone here could help find an answer or diagnose. It is a very simple project that we are testing.

 

Thanks in advance for any help on this.

 

Thanks,

Ross

 

P6 Error Log :-

Prism.Modularity.ModuleInitializeException: An exception occurred while initializing module 'CommandLineModule'.     - The exception message was: Object reference not set to an instance of an object.    - The Assembly that the module was trying to be loaded from was:Primavera.Mercury.CommandLineModule, Version=16.1.6.21203, Culture=neutral, PublicKeyToken=null    Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.    ---> System.NullReferenceException: Object reference not set to an instance of an object.   at Primavera.Mercury.Importer.ImportCleaner.CleanupActivities(EntityContext sourceContext)   at Primavera.Mercury.Importer.ImportCleaner.CleanSourceContext(EntityContext sourceContext, IVenusDataServiceContext targetContext, ILoggerFacade logger, ImportProjectSettings importProjectSettings, Dictionary`2 initialKeyDictionary)   at Primavera.Mercury.CommandLineModule.ExecuteImportExport.DoImport()   at Prism.Modularity.ModuleInitializer.Initialize(ModuleInfo moduleInfo)   --- End of inner exception stack trace ---Failed to load type for module CommandLineModule. Error was: An exception occurred while initializing module 'CommandLineModule'.     - The exception message was: Object reference not set to an instance of an object.    - The Assembly that the module was trying to be loaded from was:Primavera.Mercury.CommandLineModule, Version=16.1.6.21203, Culture=neutral, PublicKeyToken=null    Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.   .

S
Santosh Bhat 👤 Member for 21 years 1 month

I took a quick look on Oracle support and all the articles seem to suggest it has been fixed in releases since V19. Interesting that you're still receiving the error. Might need a ticket raised with Oracle?

D
david kelly 👤 Member for 10 years 3 months

Ross,

 

XML is a nightmare. I suggest if you have a version of P6 tht will import yopur XML file, do thast and export an XER.

D
david kelly 👤 Member for 10 years 3 months

Ross,

 

XML is a nightmare. I suggest if you have a version of P6 tht will import yopur XML file, do thast and export an XER.

Forum Sponsor

Top Posters

Julian Pegg
1 posts
Peter Nagy
2 posts
Raymund de Laza
17 posts
Syed_Asad
0 posts
Tony Greyvenstein
0 posts
Ahmed Al-Jubouri
13 posts
Umar Alvi
3 posts
Sibusiso Mahlalela
0 posts
Michael Samanyayi
3 posts
Simon Gumede
0 posts