Article - CS68421
Loading Cognos reports fails with error "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" in Windchill PDMLink
Modified: 03-Feb-2017
Applies To
- Windchill PDMLink 9.1 to 11.0
Description
- Updating schema model with windchill com.ptc.windchill.enterprise.report.ReportHelper modelupdate fails
- Loading reports into Cognos with ant -f /installer/wnc/wbr_actions.xml fails
- Loading reports with command windchill com.ptc.windchill.cognos.CognosProxy loadreports fails
- Error message in log file:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at com.ptc.windchill.cognos.CognosFacade.upgradeReportSpecification(CognosFacade.java:2652)
at com.ptc.windchill.cognos.CognosFacade.createOrUpdateCognosReports(CognosFacade.java:2601)
at com.ptc.windchill.cognos.CognosFacade.createOrUpdateCognosReports(CognosFacade.java:2559)
at com.ptc.windchill.cognos.CognosFacade.loadCognosReports(CognosFacade.java:2511)
at com.ptc.windchill.cognos.CognosFacade.loadCognosReports(CognosFacade.java:2483)
at com.ptc.windchill.cognos.CognosFacade.main(CognosFacade.java:2386)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.ptc.windchill.cognos.CognosProxy.main(CognosProxy.java:63)
This is a printer-friendly version of Article 68421 and may be out of date. For the latest version click CS68421