Ошибка в соединении SQLdeveloper для SybaseIQ - PullRequest
0 голосов
/ 27 января 2019

У меня SQL Developer Version 17.4.1.054.0712.Я скачал драйвер jTDS 1.3.1 для Sybase.

Я настроил базу данных Sybase сейчас в SQLDeveloper и проверил соединения, и это успешно.

Но когда я пытаюсь подключиться,выдает следующее сообщение об ошибке.

java.lang.NullPointerException
    at oracle.javatools.db.jdbc.JdbcDDLDatabase.registerBuilders(JdbcDDLDatabase.java:443)
    at oracle.javatools.db.AbstractDatabase.<init>(AbstractDatabase.java:127)
    at oracle.javatools.db.AbstractDatabase.<init>(AbstractDatabase.java:79)
    at oracle.javatools.db.ddl.DDLDatabase.<init>(DDLDatabase.java:60)
    at oracle.javatools.db.jdbc.JdbcDDLDatabase.<init>(JdbcDDLDatabase.java:61)
    at oracle.javatools.db.sybase.AdaptiveServerDatabaseImpl.<init>(AdaptiveServerDatabaseImpl.java:21)
    at oracle.javatools.db.sybase.anywhere.AdaptiveServerAnywhereDatabaseImpl.<init>(AdaptiveServerAnywhereDatabaseImpl.java:18)
    at oracle.javatools.db.sybase.AdaptiveServerDatabaseFactory.createDatabaseImpl(AdaptiveServerDatabaseFactory.java:33)
    at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:316)
    at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:286)
    at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:837)
    at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:283)
    at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1229)
    at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1215)
    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: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)
    Suppressed: java.sql.SQLException: TDS Protocol error: Invalid packet type 0xc
        at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2392)
        at net.sourceforge.jtds.jdbc.TdsCore.getNextRow(TdsCore.java:777)
        at net.sourceforge.jtds.jdbc.JtdsResultSet.next(JtdsResultSet.java:596)
        at net.sourceforge.jtds.jdbc.JtdsResultSet.close(JtdsResultSet.java:488)
        at oracle.javatools.db.jdbc.JdbcDDLDatabase.registerBuilders(JdbcDDLDatabase.java:467)
        ... 27 more
    Caused by: net.sourceforge.jtds.jdbc.ProtocolException: Invalid packet type 0xc
        at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2381)
        ... 31 more

Пожалуйста, помогите мне решить ее.

Sqldeveloper Version : 17.4.1.054.0712
jTDS Version : 1.3.1
Sybase IQ Version : SAP IQ/16.0.110.2805
...