Bug ID 2397785: TCL error "Invalid index 0 in class" thrown in ltm log for external data group

Last Modified: Sep 02, 2026

Affected Product(s):
BIG-IP LTM(all modules)

Fixed In:
21.1.0.2, 17.5.1.9, 17.1.3.5

Opened: Jul 16, 2026

Severity: 2-Critical

Symptoms

TCL error "Invalid index 0 in class" thrown in /var/log/ltm for external data group

Impact

iRule execution will fail

Conditions

- virtual server with iRule - iRule using the class command with the element option class element -value 0 <external_dg>

Workaround

None

Fix Information

Added code for proper boundary check for class item

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips