连接oracle数据库的一个报错
遇到下面报错将clase12的驱动包换成ojdbc14。问题解决,具体原因待下一步排查。
java.lang.ArrayIndexOutOfBoundsException: 7
at oracle.security.o3logon.C1.r(C1)
at oracle.security.o3logon.C1.l(C1)
at oracle.security.o3logon.C0.c(C0)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
at oracle.jdbc.ttc7.O3log. <init> (O3log.java:290)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
at oracle.jdbc.driver.OracleConnection. <init> (OracleConnection.java:252)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.oracle.test.OracleConnect.getConnection(OracleConnect.java:33)
at com.oracle.test.OracleConnect.storeProcedure(OracleConnect.java:48)
at com.oracle.test.OracleConnect.main(OracleConnect.java:76)
java.lang.NullPointerException
at com.oracle.test.OracleConnect.storeProcedure(OracleConnect.java:50)
at com.oracle.test.OracleConnect.main(OracleConnect.java:76)