Forum Stats

  • 3,734,278 Users
  • 2,246,936 Discussions
  • 7,857,217 Comments

Discussions

SQL Developer 20.4 New Connection java.lang.ArrayIndexOutOfBoundsException Error

User_N3TSV
User_N3TSV Member Posts: 2 Green Ribbon
edited Mar 15, 2021 6:45PM in SQL Developer

Hello,

I downloaded SQL Developer to verify that I can connect to an Oracle database using a set of credentials. This is all I need to do with the database; I am not trying to code anything. I tried to create a new database connection, but got this error: Status: Failure-Test failed: java.lang.ArrayIndexOutOfBoundsException.

I've seen people solve this be reinstalling the jdbc driver, but how am I supposed to know which version to use based on the error? I currently have ojdbc8.jar

java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException

at oracle.security.o3logon.a.a(Unknown Source)

at oracle.security.o3logon.b.g(Unknown Source)

at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(Unknown Source)

at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTHWithO3Logon(T4CTTIoauthenticate.java:1682)

at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1224)

at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1173)

at oracle.jdbc.driver.T4CConnection.authenticateUserForLogon(T4CConnection.java:1030)

at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:646)

at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:1032)

at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:90)

at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:681)

at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:602)

at oracle.dbtools.connections.db.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:174)

at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnectionImpl(RaptorConnectionCreator.java:400)

at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(RaptorConnectionCreator.java:119)

at oracle.dbtools.raptor.dialogs.conn.ConnectionPrompt$DefaultPrompter.promptForPassword(ConnectionPrompt.java:154)

at oracle.dbtools.connections.db.PasswordPrompter.promptForPassword(PasswordPrompter.java:15)

at oracle.dbtools.raptor.dialogs.conn.ConnectionPrompt.promptForPassword(ConnectionPrompt.java:202)

at oracle.dbtools.connections.db.DatabaseProvider.getConnection(DatabaseProvider.java:354)

at oracle.dbtools.connections.db.DatabaseProvider.getConnection(DatabaseProvider.java:337)

at oracle.jdevimpl.db.adapter.CAConnectionCreator.createConnectionImpl(CAConnectionCreator.java:52)

at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:838)

at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:282)

at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:656)

at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:284)

at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1180)

at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1166)

at oracle.dbtools.raptor.navigator.db.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:83)

at oracle.dbtools.raptor.navigator.db.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:38)

at oracle.dbtools.raptor.navigator.db.BaseConnectionNode.getConnection(BaseConnectionNode.java:91)

at oracle.dbtools.raptor.navigator.db.impl.DatabaseTreeNode.getObjectFactory(DatabaseTreeNode.java:90)

at oracle.dbtools.raptor.navigator.db.impl.DatabaseTreeNode$LoadTask.doWork(DatabaseTreeNode.java:145)

at oracle.dbtools.raptor.navigator.db.impl.DatabaseTreeNode$LoadTask.doWork(DatabaseTreeNode.java:119)

at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:199)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:702)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.ArrayIndexOutOfBoundsException

at java.lang.System.arraycopy(Native Method)

... 41 more


Any help would be appreciated!

Answers

Sign In or Register to comment.