Article - CS73911

"String index out of range: -1" error when "Cancel" button is used during "Change Material Supplier Type" action in FlexPLM 9.2

Modified: 06-Sep-2012   


Applies To

  • FlexPLM 9.2 M010

Description

  • String index out of range: -1 error when Cancel button is used during Change Material Supplier Type action
  • Tomcat log shows:
    • java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(String.java:1937)
      at wt.fc.ObjectIdentifier.initialize(ObjectIdentifier.java:630)
      at wt.fc.ObjectIdentifier.<init>(ObjectIdentifier.java:713)
      at wt.fc.ReferenceFactory.getReference(ReferenceFactory.java:321)
      at com.lcs.wc.foundation.LCSQuery.referenceToObject(LCSQuery.java:341)
      at com.lcs.wc.foundation.LCSQuery.findObjectById(LCSQuery.java:302)
      at com.lcs.wc.foundation.LCSQuery.findObjectById(LCSQuery.java:269)
      at rg.apache.jsp.rfa.jsp.materialSupplier.MaterialSupplierController_jsp._jspService(MaterialSupplierController_jsp.java:228)

This is a printer-friendly version of Article 73911 and may be out of date. For the latest version click CS73911