Article - CS165088

Creating a workspace fails with error "String index out of range: -1" in Windchill PDMLink

Modified: 17-Jun-2014   


Applies To

  • Windchill PMDLink 10.1 M020, 10.2 M010

Description

Creating a workspace fails with error String index out of range:  -1

ERROR  com.ptc.windchill.uwgm.proesrv.cache.ContainerRequestCacheAdapter contextadmin - ContainerRequestCacheAdapter.validateContainer :: Can't find container by OID: OR Test
(wt.fc.fcResource/18) wt.util.WTException: Malformed URL: "OR XXX". Format must be: "classname:idValue"
Nested exception is: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1937)
    at wt.fc.ObjectIdentifier.initialize(ObjectIdentifier.java:400)
    at wt.fc.ObjectIdentifier.<init>(ObjectIdentifier.java:538)
    at wt.fc.ReferenceFactory.getReference(ReferenceFactory.java:251)
   hread.run(TaskThread.java:77)
This is a printer-friendly version of Article 165088 and may be out of date. For the latest version click CS165088