By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

java.lang.ArrayIndexOutOfBoundsException when i want connect me to Oracle 9i

P: n/a
CM
Hi,

when i want connect me in my BD with a JSP (with this simple code),
this exception is throw.

Thank's for ur help
Mathieu

CODE of my JSP
---------------------
.... blah ....
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@139 .165.123.198:1521:fultrans
","fultrans","g4g8888v");

.... blah ....
EXCEPTION
----------------
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.jdbc.util.CryptDES.scrunch(CryptDES.java)
at oracle.jdbc.util.CryptDES.des_dec(CryptDES.java)
at oracle.jdbc.util.WorkBench.decrypt(WorkBench.java)
at oracle.jdbc.ttc7.O3log.(O3log.java)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.j ava)
at oracle.jdbc.driver.OracleConnection.(OracleConnect ion.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInsta nce(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriv er.java)
at java.sql.DriverManager.getConnection(DriverManager .java:512)
at java.sql.DriverManager.getConnection(DriverManager .java:171)
at
org.apache.jsp.SelectPersUtilSsSaisie_jsp._jspServ ice(SelectPersUtilSsSaisie
_jsp.java:55)
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <c1********@aix4.segi.ulg.ac.be>, CM says...

Hi,

when i want connect me in my BD with a JSP (with this simple code),
this exception is throw.

Thank's for ur help
Mathieu

CODE of my JSP
---------------------
... blah ....
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@13 9.165.123.198:1521:fultrans
","fultrans","g4g8888v");

... blah ....
EXCEPTION
----------------
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.jdbc.util.CryptDES.scrunch(CryptDES.java)
at oracle.jdbc.util.CryptDES.des_dec(CryptDES.java)
at oracle.jdbc.util.WorkBench.decrypt(WorkBench.java)
at oracle.jdbc.ttc7.O3log.(O3log.java)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.j ava)
at oracle.jdbc.driver.OracleConnection.(OracleConnect ion.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInsta nce(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriv er.java)
at java.sql.DriverManager.getConnection(DriverManager .java:512)
at java.sql.DriverManager.getConnection(DriverManager .java:171)
at
org.apache.jsp.SelectPersUtilSsSaisie_jsp._jspSer vice(SelectPersUtilSsSaisie
_jsp.java:55)

Sounds like a bug to me. I don't see how your code could cause this error. I
would get the latest version of the Oracle client code for your version
(whatever it is) and try the connection again. If you have the latest and you
have a support contract, I would contact Oracle Support for the help.

Rick

Rick Wessman
Oracle Corporation
The opinions expressed above are mine and do not necessarily reflect
those of Oracle Corporation.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.