Skip to content

Exception is thrown while connecting to tarantool instance #215

Closed
@highpower

Description

@highpower

Exception in thread "Tarantool connector" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
at org.tarantool.protocol.ProtoUtils.connect(ProtoUtils.java:183)
at org.tarantool.TarantoolClientImpl.connect(TarantoolClientImpl.java:199)
at org.tarantool.TarantoolClientImpl.reconnect(TarantoolClientImpl.java:184)
at org.tarantool.TarantoolClientImpl$1.run(TarantoolClientImpl.java:97)
at java.lang.Thread.run(Thread.java:748)

Both connector library and my program are built by the same compiler on macos.

o-obolenskiy:nosqltest o.obolenskiy$ java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions