SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 20541: Error processing task.java.lang.IndexOutOfBoundsException when creating a filter in SAS® OpRisk VaR

DetailsHotfixAboutRate It
When creating a filter in SAS OpRisk VaR, the following error message might appear in the Application Log if there are more than 500 items contained in the Event Risk Category Criteria tree:

SEVERE: dd-mmm-yyyy hh:mm:ss: Error processing
task.java.lang.IndexOutOfBoundsException: Index: ###, Size: ### at
java.util.ArrayList.RangeCheck(Unknown Source) at
java.util.ArrayList.get(Unknown Source) at
com.sas.oprisk.var.datavalue.AbstractDataCriteria.appendHierarchyItems(A
bstractDataCriteria.java:448) at
com.sas.oprisk.var.datavalue.internal.InternalDataCriteria.getWhereClaus
e(InternalDataCriteria.java:200) at
com.sas.oprisk.var.datavalue.AbstractDataCriteria.getWhereStatement(Abst
ractDataCriteria.java:81) at
com.sas.oprisk.var.datavalue.AbstractDataCriteria.getSelectInternal(Abst
ractDataCriteria.java:146) at
com.sas.oprisk.var.datavalue.AbstractDataCriteria.getSelectStatement(Abs
tractDataCriteria.java:189) at
com.sas.oprisk.var3.ui.filter.InternalDataViewView.getWhere(InternalData
ViewView.java:123) at
com.sas.oprisk.var3.ui.filter.DataViewLossEventPanel.setData(DataViewLos
sEventPanel.java:155) at
com.sas.oprisk.var3.ui.filter.AbstractDataViewPanel.setUiValuesFromDataO
bject(AbstractDataViewPanel.java:106) at
com.sas.oprisk.var3.ui.filter.AbstractDataViewPanel.criteriaChanged(Abst
ractDataViewPanel.java:89) at
com.sas.oprisk.var3.ui.filter.AbstractDataCriteriaPanel.notifyLossDispla
ys(AbstractDataCriteriaPanel.java:392) at
com.sas.oprisk.var3.ui.filter.AbstractDataCriteriaPanel.pressedApply(Abs
tractDataCriteriaPanel.java:398) at
com.sas.oprisk.var3.ui.filter.AbstractDataCriteriaPanel$6.execute(Abstra
ctDataCriteriaPanel.java:823) at
com.sas.oprisk.var.core.worker.Worker.run(Worker.java:91) at
java.lang.Thread.run(Unknown Source)

where 'dd-mmm-yyyy hh:mm:ss' is the date and time that the filter was created and '###' is the number of items in the Event Risk Category Criteria tree.

The workaround for this issue is to limit the number of items that are contained in the Event Risk Category Criteria tree to 500.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS OpRisk VaR ServerMicrosoft Windows XP Professional3.2.14.19.2 TS2M0
Microsoft Windows 2000 Professional3.2.1
Microsoft Windows 2000 Server3.2.1
64-bit Enabled AIX3.2.14.19.2 TS2M0
64-bit Enabled Solaris3.2.14.19.2 TS2M0
Microsoft Windows 2000 Datacenter Server3.2.1
Microsoft Windows 2000 Advanced Server3.2.1
Solaris3.2.14.19.2 TS2M0
AIX3.2.14.19.2 TS2M0
* 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.