Skip to content

NoSuchMethodError while running JGlobus #178

@hsapkota

Description

@hsapkota

Hi, I was trying to run transfer between stampede2 to comet and was able to run transfer using globus-url-copy but when I try JGlobus implementation of transfer, I get the following error.
[WARNING] java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; at org.globus.gsi.gssapi.GlobusGSSContextImpl.initSecContext (GlobusGSSContextImpl.java:970) at org.globus.ftp.extended.GridFTPControlChannel.authenticate (GridFTPControlChannel.java:209) at org.globus.ftp.extended.GridFTPControlChannel.authenticate (GridFTPControlChannel.java:140) at transfer_protocol.module.ChannelModule$ControlChannel.<init> (ChannelModule.java:243) at transfer_protocol.module.ChannelModule$ChannelPair.<init> (ChannelModule.java:446) at transfer_protocol.module.FTPClient.<init> (FTPClient.java:38) at transfer_protocol.module.GridFTPClient.process (GridFTPClient.java:173) at transfer_protocol.module.GridFTPClient.run (GridFTPClient.java:210) at java.lang.Thread.run (Thread.java:748)
When I search on the internet about ByteBuffer method not found issue, many people were saying it was the issue with jdk version and I tried using jdk 1.8 and still results the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions