Re: ArrayIndexOutOfBounds Execption when using DriverManager.getConnection()
Posted by: Sarah Horne
Date: July 06, 2005 09:05PM

I am using WIN XP, Java JDK 1.5.0_03, mysql-connector-java-3.1.8 with mysql-connector-java-3.1.8-bin.jar included in the classpath and MySQL server version 4.1

The full stack looks like:

Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 26
java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 26
at com.mysql.jdbc.Connection.execSQL(Connection.java:1913)
at com.mysql.jdbc.Connection.execSQL(Connection.java:1842)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1064)
at com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:979)
at com.mysql.jdbc.Connection.connectionInit(Connection.java:905)
at com.mysql.jdbc.Driver.connect(Driver.java:311)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at test2.init(test2.java:29)
at sun.applet.AppletPanel.run(AppletPanel.java:374)
at java.lang.Thread.run(Thread.java:595)

(where test2 is the applet file name).

Thank you for your assistance.

Regards

Sarah Horne

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.