Article - CS400941

Failed to create new Project with error:"wt.inf.template.WTContainerTemplateException: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process."

Modified: 11-Sep-2023   


Applies To

  • Windchill ProjectLink 12.0 to 12.1

Description

  • Failed to create new Project with error:
wt.inf.template.WTContainerTemplateException: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process.
Nested exception is: java.lang.NullPointerException
Nested exception is: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process.
Nested exception is: java.lang.NullPointerException
    at wt.inf.template.StandardContainerTemplateService.importBusinessXML(StandardContainerTemplateService.java:403)
    at wt.inf.template.creator.AbstractWTContainerCreator.loadBusinessTemplate(AbstractWTContainerCreator.java:791)
    at wt.inf.template.creator.AbstractWTContainerCreator.runScript(AbstractWTContainerCreator.java:256)
    at wt.inf.template.creator.AbstractWTContainerCreator.create(AbstractWTContainerCreator.java:159)
    at wt.inf.container.StandardWTContainerService.create(StandardWTContainerService.java:854)
    at wt.inf.container.StandardWTContainerService.create(StandardWTContainerService.java:836)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
    at com.sun.proxy.$Proxy55.create(Unknown Source)
    at com.ptc.netmarkets.project.processor.CreatePROPLProjectFormProcessor.doOperation(CreatePROPLProjectFormProcessor.java:251)
    at com.ptc.core.components.forms.DefaultFormProcessorController.executeDoOperation(DefaultFormProcessorController.java:538)
    at com.ptc.core.components.forms.DefaultFormProcessorController.performExecuteDoOperationAndPostProcess(DefaultFormProcessorController.java:342)
    at com.ptc.core.components.forms.DefaultFormProcessorController.execute(DefaultFormProcessorController.java:263)
    at com.ptc.core.components.forms.FormDispatcher.callControllerExecute(FormDispatcher.java:146)
    at com.ptc.core.components.forms.FormDispatcher.callFormProcessorController(FormDispatcher.java:116)
    at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:93)
    ... 62 more
Caused by: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process.
Nested exception is: java.lang.NullPointerException
    at wt.org.WTUser.getEMail(WTUser.java:683)
    at com.ptc.projectmanagement.msproject.MspImporter.resetWtUserMap(MspImporter.java:245)
    at com.ptc.projectmanagement.msproject.MspImporter.checkAndPrepareActivitiesForImport(MspImporter.java:815)
    at com.ptc.projectmanagement.msproject.MspImporter.checkAndPrepareForImport(MspImporter.java:2255)
    at com.ptc.projectmanagement.msproject.MspImporter.importPlan(MspImporter.java:323)
    at com.ptc.projectmanagement.msproject.StandardMspService.importPlan(StandardMspService.java:167)
    at com.ptc.projectmanagement.msproject.StandardMspService.importPlan(StandardMspService.java:133)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
    at com.sun.proxy.$Proxy286.importPlan(Unknown Source)
    at com.ptc.projectmanagement.ix.PlanIxHandler.createObject(PlanIxHandler.java:239)
    at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34)
    at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElement(ClassExporterImporterTemplate.java:472)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:514)
    at wt.ixb.publicforapps.Importer.importElements(Importer.java:1608)
    at wt.ixb.publicforapps.Importer.importElement(Importer.java:1554)
    at wt.projmgmt.ix.ProjectConfigIxHandler.importValidPlan(ProjectConfigIxHandler.java:815)
    at wt.projmgmt.ix.ProjectConfigIxHandler.createObject(ProjectConfigIxHandler.java:331)
    at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34)
    at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672)
    at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:521)
    at wt.ixb.publicforapps.Importer.importElements(Importer.java:1608)
    at wt.ixb.publicforapps.Importer.importElement(Importer.java:1554)
    at wt.ixb.publicforapps.Importer.doRealImport(Importer.java:1353)
    at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:572)
    at wt.inf.template.StandardContainerTemplateService.importBusinessXML(StandardContainerTemplateService.java:380)
    ... 80 more
Caused by: java.lang.NullPointerException
This is a printer-friendly version of Article 400941 and may be out of date. For the latest version click CS400941