Log Message to Syslog Assertion - UI crashes the Policy Manager

Document ID : KB000094705
Last Modified Date : 10/05/2018
Show Technical Document Details
Issue:
While configuring the Log message to syslog assertion. When all info is added to the assertion based on the arcsight documentation provided by CA  policy manager is crashing. The error reported is " Array out of bound"

Error seen in error logs

Build Info:
    CA API Gateway 9.2.00 build 6905, built 20161214001509 by teamcity at apim-teamcityagent4

System Properties:
    java.version: 1.8.0_102
    java.specification.version: 1.8
    os.name: Windows 7
    os.arch: x86

Memory Usage:
    66,264,048 bytes: the amount of free memory in the Java Virtual Machine.
    176,353,280 bytes: the total amount of memory in the Java virtual machine.

Stack Trace:
    java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.Vector.elementData(Vector.java:734)
    at java.util.Vector.elementAt(Vector.java:477)
    at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:648)
    at javax.swing.JTable.getValueAt(JTable.java:2717)
    at com.l7tech.external.assertions.logmessagetosyslog.console.a.mouseMoved(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:330)
Environment:
Gateway 9.2
Cause:
policy manager gets out of index error when the table is scrolled down to the very bottom and mouse cursor move up into the table area from the bottom.

This caused the cursor movement listener to calculate the current row that the cursor is on by dividing the current Y position with row height. For some reason, the result of the calculation is more than the row count (hardcoded to 20 in this case) and returned -1 to indicate an error. As a result the calling method can't find -1 row and throw out of index exception.
Resolution:
Please request for latest assertion via CA Support
Additional Information:
This issue is tested CA API Gateway 9.2.