3 messages in com.mysql.lists.javaRe: mm.mysql array index out of bound...| From | Sent On | Attachments |
|---|---|---|
| Sterling Moses | 14 Nov 1999 07:52 | |
| Mark Matthews | 14 Nov 1999 09:49 | |
| Sterling Moses | 14 Nov 1999 09:54 |
| Subject: | Re: mm.mysql array index out of bounds java 1.2![]() |
|---|---|
| From: | Mark Matthews (mmat...@worldserver.com) |
| Date: | 11/14/1999 09:49:48 AM |
| List: | com.mysql.lists.java |
Which version of mm.mysql are you using? 2.0pre had some problems with this, but 2.0pre2 does not.
-Mark
On Sun, 14 Nov 1999, Sterling Moses wrote:
Greetings,
Let me first say that I have tried to use the email-list request features to find this answer. The software would only return headers and not actual message text.
I hope someone else has run into this in the past, any help would be appreciated.
I receive this Exception when trying to connect to my database. This is the same code that works under java 1.1. I upgraded to java 1.2 and upgraded the Mysql mm drivers as well. I am using:
JBuilder 3 JDK 1.2 for Intel and Linux (blackdown) (Same problems on both)
#java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 58184 # at org.gjt.mm.mysql.Connection.execSQL(Compiled Code) # at org.gjt.mm.mysql.Connection.execSQL(Compiled Code) # at org.gjt.mm.mysql.Statement.executeQuery(Compiled Code) # at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Compiled Code) # at jserve.standard.SiteManager.getSitesFromDB(Compiled Code) # at jserve.standard.SiteManager.<init>(Compiled Code) # at jserve.mailer.Main.run(Main.java:57)
I put a stackdump in the mm.mysql driver and this is what it returns:
#java.lang.ArrayIndexOutOfBoundsException: 58184 # at org.gjt.mm.mysql.MysqlIO._$271594(Compiled Code) # at org.gjt.mm.mysql.MysqlIO._$271573(Compiled Code) # at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Compiled Code) # at org.gjt.mm.mysql.MysqlIO.sqlQuery(Compiled Code) # at org.gjt.mm.mysql.Connection.execSQL(Compiled Code) # at org.gjt.mm.mysql.Connection.execSQL(Compiled Code) # at org.gjt.mm.mysql.Statement.executeQuery(Compiled Code) # at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Compiled Code) # at jserve.standard.SiteManager.getSitesFromDB(Compiled Code) # at jserve.standard.SiteManager.<init>(Compiled Code) # at jserve.mailer.Main.run(Main.java:57)
Any help would be greatly appreciated.
Sterling Moses Preferred Auto Warranty http://www.preferredautowarranty.com
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail java...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail java...@lists.mysql.com instead.




