SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44717: Performance monitoring reports give a "java.lang.StringIndexOutOfBoundsException.." error

DetailsHotfixAboutRate It

When you execute a performance monitoring report in SAS® Model Manager, you might get the following java error:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(Unknown Source)
    com.sas.analytics.app.mds.actions.dialog.ExecuteScorePerformanceAction.process
(ExecuteScorePerformanceAction.java:228)
    com.sas.analytics.app.mds.actions.dialog.ExecuteScorePerformanceAction.initDialogAction
(ExecuteScorePerformanceAction.java:124)
    com.sas.analytics.avp.actions.dialog.DialogAction.performExecute(DialogAction.java:84)
    com.sas.analytics.avp.actions.AppAction.doPerformExecute(AppAction.java:59)
    com.sas.analytics.avp.actions.AppAction.execute(AppAction.java:101)
    com.sas.analytics.avp.actions.AppAction.actionPerformed(AppAction.java:54)
...

The java exception occurs because the library that contains the performance monitoring data sets was set up in SAS Management Console with the option "Library is Pre-assigned" checked.

To work around the error, clear the "Library is Pre-Assigned" box in SAS Management Console.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Model ManagerMicrosoft® Windows® for x643.14.19.3 TS1M09.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition3.14.19.3 TS1M09.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition3.14.19.3 TS1M09.3 TS1M2
Microsoft Windows Server 2003 Standard Edition3.14.19.3 TS1M09.3 TS1M2
Microsoft Windows Server 2003 for x643.14.19.3 TS1M09.3 TS1M2
Microsoft Windows Server 20083.14.19.3 TS1M09.3 TS1M2
Microsoft Windows Server 2008 for x643.14.19.3 TS1M09.3 TS1M2
Microsoft Windows XP Professional3.14.19.3 TS1M09.3 TS1M2
Windows 7 Enterprise 32 bit3.14.19.3 TS1M09.3 TS1M2
Windows 7 Enterprise x643.14.19.3 TS1M09.3 TS1M2
Windows 7 Home Premium 32 bit3.14.19.3 TS1M09.3 TS1M2
Windows 7 Home Premium x643.14.19.3 TS1M09.3 TS1M2
Windows 7 Professional 32 bit3.14.19.3 TS1M09.3 TS1M2
Windows 7 Professional x643.14.19.3 TS1M09.3 TS1M2
Windows 7 Ultimate 32 bit3.14.19.3 TS1M09.3 TS1M2
Windows 7 Ultimate x643.14.19.3 TS1M09.3 TS1M2
Windows Vista3.14.19.3 TS1M09.3 TS1M2
Windows Vista for x643.14.19.3 TS1M09.3 TS1M2
64-bit Enabled AIX3.14.19.3 TS1M09.3 TS1M2
64-bit Enabled Solaris3.14.19.3 TS1M09.3 TS1M2
HP-UX IPF3.14.19.3 TS1M09.3 TS1M2
Linux for x643.14.19.3 TS1M09.3 TS1M2
Solaris for x643.14.19.3 TS1M09.3 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.