| Bug #557 | Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsExcept | ||
|---|---|---|---|
| Submitted: | 31 May 2003 9:15 | Modified: | 31 May 2003 9:24 | 
| Reporter: | Marcelo Esperandio | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / J | Severity: | S1 (Critical) | 
| Version: | 3.1.0 | OS: | Windows (Windows 2000) | 
| Assigned to: | CPU Architecture: | Any | |
   [31 May 2003 9:24]
   Mark Matthews        
  This is a known error which has been fixed for quite some time. You can test the latest (non-released) version of Connector/J 3.1 from the nightly snapshots at http://mmmysql.sourceforge.net/snapshots/dev/
   [27 Jun 2008 9:56]
   nguyen tien dan        
  To solve this problem, you should down a new version og mysql-java-connector at http://www.java2s.com/Code/Jar/JDBC-Drivers/Downloadmysqlconnectorjava513rcbinjar.htm Thanks


Description: Hi, This error occurs in runtime when I'm execute a simple query: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 40 versions: MySQL version 4.1.0 alpha Connector/J 3.1.0 alpha This runtime error doesn't occurs when I replace Connector/J for version 3.0.8-stable. Thanks Marcelo Esperandio Java´s Programmer Umuarama - PR - Brazil mesperandio@bol.com.br How to repeat: java.sql.Connection conn; Class.forName("com.mysql.jdbc.Driver").newInstance(); conn = DriverManager.getConnection(strConn); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(sql); // program's stop