3 Replies Latest reply on Mar 1, 2013 1:16 PM by Mark Addleman

    Getting java.lang.ArrayIndexOutOfBoundsException in executeUpdate()

    Mark Addleman Master

      We're getting

      java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

              at org.teiid.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:218)

      very intermittently.  We don't have a test case yet but from a quick reading on the code, I think updateCounts[] should be marked as volatile.  We're making that change locally and testing that out but I thought I'd post it here for some feedback/guidance.