Article - CS231861

Check in of CAD Documents fails with the error "Malformed URL: "(ContainerX20)". Format must be: "classname:idValue"" in Windchill PDMLink

Modified: 21-Feb-2022   


Applies To

  • Windchill PDMLink 10.2 to 12.0
  • Creo Parametric 1.0 to 3.0
  • Creo Elements/Direct Drafting 20.2

Description

  • Unable to Check in Specific CAD Documents 
  • Check in fails with the error:
com.ptc.windchill.uwgm.proesrv.cache.UploadInstructionCacheAdapter username - UploadInstructionCacheAdapter.validateContainer :: 
(wt.fc.fcResource/18) wt.util.WTException: Malformed URL: "(ContainerX20)". Format must be: "classname:idValue" 
Nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1911)
    at wt.fc.ObjectIdentifier.initialize(ObjectIdentifier.java:400)
    at wt.fc.ObjectIdentifier.<init>(ObjectIdentifier.java:538)
    at wt.fc.ReferenceFactory.getReference(ReferenceFactory.java:251)

com.ptc.windchill.uwgm.proesrv.cache.UploadInstructionCacheAdapter username - Error in getSecureChapteredUploadDescriptor 
(wt.fc.fcResource/18) wt.util.WTException: Malformed URL: "(ContainerX20)". Format must be: "classname:idValue" 
Nested exception is: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 14
    at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
    at java.base/java.lang.String.substring(String.java:1874)
    at wt.fc.ObjectIdentifier.initialize(ObjectIdentifier.java:400)
    at wt.fc.ObjectIdentifier.<init>(ObjectIdentifier.java:538)
    at wt.fc.ReferenceFactory.getReference(ReferenceFactory.java:251)
This is a printer-friendly version of Article 231861 and may be out of date. For the latest version click CS231861