Article - CS289199

In Mapped Context zip is getting failed with the error due to missing obj in mapped context in Windchill PDMLink

Modified: 30-Jan-2020   


Applies To

  • Windchill PDMLink 11.0 F000 to M030-CPS09
  • Windchill PDMLink 11.1 F000 to F000-CPS05

Description

  • In Mapped Context zip is getting failed with the error due to missing obj in mapped context
  • Error which may be observed in Windchill Method Server log:
ERROR [RDImportExecutorQueue.PollingThread] com.ptc.windchill.rd.service.AbstractReceivedDeliveryService Administrator - Error during processing missing objectsjava.lang.IllegalArgumentException: null cache key
Nested exception is: java.lang.IllegalArgumentException: null cache key
wt.util.WTException: java.lang.IllegalArgumentException: null cache key
Nested exception is: java.lang.IllegalArgumentException: null cache key
   at wt.util.Cache.getHashCode(Cache.java:388)
   at wt.cache.ICache.get(ICache.java:150)
   at java.util.Collections$UnmodifiableMap.get(Collections.java:1454)
   at wt.cache.ChangeLocalMap.get(ChangeLocalMap.java:168)
   at wt.cache.DirtyMap.get(DirtyMap.java:554)
   at wt.inf.container.ContainerPathCache.getByPath(ContainerPathCache.java:155)
   at wt.inf.container.StandardWTContainerService.getByPath(StandardWTContainerService.java:750)
   at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
   at com.sun.proxy.$Proxy35.getByPath(Unknown Source)
   at com.ptc.windchill.replication.server.imp.processing.utils.MissingObjectsImportUtils.getNotMasterObjectFromDB(MissingObjectsImportUtils.java:153)
   at com.ptc.windchill.replication.server.imp.processing.utils.MissingObjectsImportUtils.getSourceObjectFromDB(MissingObjectsImportUtils.java:95)
   at com.ptc.windchill.replication.server.imp.processing.NotImportedObjectsProcessor.processObjectFromDB(NotImportedObjectsProcessor.java:568)
   at com.ptc.windchill.replication.server.imp.processing.NotImportedObjectsProcessor.processRelatedObject(NotImportedObjectsProcessor.java:528)
   at com.ptc.windchill.replication.server.imp.processing.NotImportedObjectsProcessor.processLinkEntry(NotImportedObjectsProcessor.java:453)
   at com.ptc.windchill.replication.server.imp.processing.NotImportedObjectsProcessor.processNotImportedObjects(NotImportedObjectsProcessor.java:200)
   at com.ptc.windchill.replication.server.imp.processing.NotImportedObjectsProcessor.processZipFileEntries(NotImportedObjectsProcessor.java:135)
   at com.ptc.windchill.replication.server.imp.processing.NotImportedObjectsProcessor.processZipFile(NotImportedObjectsProcessor.java:110)
   at com.ptc.windchill.replication.server.imp.processing.MissingObjectsProcessor.processMissingObjects(MissingObjectsProcessor.java:74)
  • Steps to reproduce:
1. Create a Cad Document in a context, say CadDocA in Context A.
2. Create a Part, a Document and a Reference Document in another context, (Ex- PartB, Doc01, RefDoc01 in ContextB) .
3. Create Variance VR_N for CadDocA and add PartB, RefDoc01 and Doc01as Affected Objects.
4. Create Replication package and add only ContextA to Replication Package.
5. Lock the package and create the delivery.
6. Right click on delivery and choose option "Zip package for Delivery".
7. Download the zip on local system.
8. Navigate to target system, and Create a context, say ContextC.
9. Upload the zip file to the ContextC.
10. After providing the proper Context mapping, import it in Mapped Context option. Error "Import failed for "Received Delivery - 00000000XX". See attached log for more details."
This is a printer-friendly version of Article 289199 and may be out of date. For the latest version click CS289199