-2
在Windows 10上啓動sqldeveloper,然後嘗試連接到12c數據庫後,我們收到以下java錯誤堆棧跟蹤。sqldeveloper - java.nio.BufferUnderflowException
此問題時,想的SQLDeveloper版本4.2或17.2
任何想法是什麼時候?
最佳 汞柱
java.nio.BufferUnderflowException
at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:151)
at java.nio.ByteBuffer.get(ByteBuffer.java:715)
at oracle.net.ns.NIOAcceptPacket.readPayloadBuffer(NIOAcceptPacket.java:167)
at oracle.net.ns.NIOPacket.readNIOPacket(NIOPacket.java:282)
at oracle.net.ns.NSProtocolNIO.negotiateConnection(NSProtocolNIO.java:118)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:317)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1438)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:518)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:688)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:39)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691)
at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:229)
at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnectionImpl(RaptorConnectionCreator.java:392)
at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(RaptorConnectionCreator.java:118)
at oracle.dbtools.raptor.dialogs.conn.ConnectionPrompt.promptForPassword(ConnectionPrompt.java:67)
at oracle.jdevimpl.db.adapter.DatabaseProviderHelper$PasswordPrompter.promptForPassword(DatabaseProviderHelper.java:422)
at oracle.jdevimpl.db.DBConnAddin$2.promptForPassword(DBConnAddin.java:98)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:434)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:365)
at oracle.jdevimpl.db.adapter.CAConnectionCreator.createConnectionImpl(CAConnectionCreator.java:68)
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:837)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:281)
at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1201)
at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1187)
at oracle.dbtools.raptor.navigator.db.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:146)
at oracle.dbtools.raptor.navigator.db.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:41)
at oracle.dbtools.raptor.navigator.db.BaseConnectionNode.getConnection(BaseConnectionNode.java:46)
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:193)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:629)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
只是一個問題 - 是關於12.2。或12.1。 Oracle數據庫的版本?我想我在某處看到,最新的jdbc適用於12.1,但不確定,可能是由於這個問題。如果情況並非如此,那麼它就是關於Sql Developer的。嘗試再次下載並檢查下載的內容,重新安裝,如果一切都失敗,請嘗試更低的版本。我與sqlDev 4.2有許多連接問題。在Windows 10上,它基本上歸結爲實際與Windows 10相關的問題。 – g00dy
可能是當前版本可能有一些錯誤,請嘗試下載以前的版本 –
歡迎使用堆棧溢出! 請參考[遊覽](/遊覽),環顧四周,閱讀[幫助中心](/幫助),特別是[如何提出一個好問題?](/ help/how-to-問)和[我可以在這裏詢問什麼主題?](/ help/on-topic)。 ** - **您可能需要在[oracle網站](https://login.oracle.com/mysso/signon.jsp)上創建一個帳戶,然後在[SQL Developer Community](https:/ /community.oracle.com/community/database/developer-tools/sql_developer) –