After deploying OM Web Viewer build 240 (dvw_12_1_6_240_LUW.) on WebSphere Base 9.0.5.17, during login I got the error : java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0"
WebSphere 9
Web Viewer 12.1
Oracle Java
It was caused by an outdated oracle JDBC driver.
The error disappeared after upgrading to a more recent version of the driver.