Article - CS178975

Import from Spreadsheet does not import as "The type 'WCTYPE|wt.part.WTPart|CustPart|CustPart' cannot be imported into the same system.” in Windchill PDMLink

Modified: 25-Jun-2021   


Applies To

  • Windchill PDMLink 10.2 M010

Description

  • Import from Spreadsheet does not import as The type 'WCTYPE|wt.part.WTPart|CustPart|CustPart' cannot be imported into the same system.
Uploading Excel file on Windchill server from primary content of the import job...
 
Sheet 1 "CustPart-Sheet":
Sheet type is "PART"
Sheet type is "PART"
 
Resorting the sheets ...
 
Sheet 1 "CustPart-Sheet":
TYPE: TYPE: ERROR
LINE: 
DESCRIPTION: DESCRIPTION: 
The type 'WCTYPE|wt.part.WTPart|com.ptc.wnc_serv_001.CustPart|com.ptc.wnc_serv_001.CustPart' cannot be imported into this system. Its name 'com.ptc.wnc_serv_001.CustPartnet' has been used by other type 'WCTYPE|wt.part.WTPart|com.ptc.wnc_serv_001.CustPart'
(wt.ixb.publicforhandlers.ixbResource/type_name_unique_violation) wt.ixb.publicforhandlers.LogHelper$IxbException: 
The type 'WCTYPE|wt.part.WTPart|com.ptc.wnc_serv_001.CustPart|com.ptc.wnc_serv_001.CustPart' cannot be imported into this system. Its name 'com.ptc.wnc_serv_001.CustPartnet' has been used by other type 'WCTYPE|wt.part.WTPart|com.ptc.wnc_serv_001.CustPart'
at wt.ixb.publicforhandlers.LogHelper.userError(LogHelper.java:230)
at wt.ixb.handlers.forattributes.ExpImpForTypeDefinitionAttr.isTypeExisting(ExpImpForTypeDefinitionAttr.java:386)
at wt.ixb.handlers.forattributes.ExpImpForTypeDefinitionAttr.getAdjustedExternalTypeId(ExpImpForTypeDefinitionAttr.java:1075)
at wt.ixb.publicforhandlers.IxbHndHelper.verifyAndGetAdjustedExternalType(IxbHndHelper.java:935)
at wt.ixb.publicforhandlers.IxbHndHelper.isLCTemplateSupported(IxbHndHelper.java:5528)
at wt.ixb.handlers.forattributes.ExpImpForLifecycleAttr.checkLifeCycleTemplateConflict(ExpImpForLifecycleAttr.java:423)
at wt.ixb.handlers.forattributes.ExpImpForLifecycleAttr.isLifeCycleNameContainConflict(ExpImpForLifecycleAttr.java:337)
at wt.ixb.handlers.forattributes.ExpImpForLifecycleAttr.commonCheckConflictForAttribute(ExpImpForLifecycleAttr.java:171)
at wt.ixb.handlers.forattributes.ExpImpForLifecycleAttr.commonCheckConflictForAttribute(ExpImpForLifecycleAttr.java:241)
at wt.ixb.handlers.forattributes.ExpImpForLifecycleAttr.checkConflictForAttribute(ExpImpForLifecycleAttr.java:136)
at wt.ixb.publicforhandlers.IxbHndHelper.checkConflictForAttribute(IxbHndHelper.java:907)
at wt.ixb.handlers.forclasses.ExpImpForWTPart.checkWTPartConflicts(ExpImpForWTPart.java:178)
at wt.ixb.handlers.forclasses.ExpImpForWTPart.checkConflicts(ExpImpForWTPart.java:131)
at wt.ixb.actor.ActorTemplate.checkConflicts(ActorTemplate.java:412)
at wt.ixb.actor.ActorTemplateForPersistable._checkConflicts(ActorTemplateForPersistable.java:298)
at wt.ixb.publicforhandlers.ExpImpForVersionedObject._checkConflicts(ExpImpForVersionedObject.java:174)
at wt.ixb.publicforapps.Importer.checkConflicts(Importer.java:1372)
at wt.ixb.publicforapps.Importer.doCheckConflicts(Importer.java:1266)
at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:580)
at wt.ixb.publicforapps.Importer.finishImport(Importer.java:1007)
at com.ptc.windchill.ixb.importer.part.PartSheetImporter.importSheetElements(PartSheetImporter.java:174)
at com.ptc.windchill.ixb.importer.StandardImportService.importInChunk(StandardImportService.java:1229)
at com.ptc.windchill.ixb.importer.StandardImportService.doSameTypeSheetImport(StandardImportService.java:1184)
at com.ptc.windchill.ixb.importer.StandardImportService.doPreviewOrImport(StandardImportService.java:884)
at com.ptc.windchill.ixb.importer.StandardImportService.importSpreadsheet(StandardImportService.java:209)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at wt.queue.QueueEntry.execute(QueueEntry.java:224)
at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:285)
at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:901)
at wt.queue.PollingQueueThread.run(PollingQueueThread.java:115)
TYPE: : ERROR
LINE: : 8
DESCRIPTION: : Import failed...
wt.util.WTException: Import failed...
IMPORT RESULT : FAILED
This is a printer-friendly version of Article 178975 and may be out of date. For the latest version click CS178975