Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: java.lang.UnsatisfiedLinkError: could not load FFI provider org.mandas.docker.client.shaded.jnr.ffi.provider.jffi.Provider #90

Closed
tony-- opened this issue Nov 15, 2019 · 1 comment

Comments

@tony--
Copy link

tony-- commented Nov 15, 2019

STILL INVESTIGATING ON MY SIDE

Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT

Description

As suggested here
Shaded jar is not working as expected.

How to reproduce

DockerClient dc;
Version v;
Builder builder = DefaultDockerClient.fromEnv();
builder = builder.readTimeoutMillis(500); 
dc = builder.build();
v = dc.version();

What do you expect

The call to dc.version() returns a value

What happened instead

The call to dc.version() throws an exception:
org.mandas.docker.client.exceptions.DockerException: java.util.concurrent.ExecutionException: org.mandas.docker.client.shaded.javax.ws.rs.ProcessingException: java.lang.UnsatisfiedLinkError: could not load FFI provider org.mandas.docker.client.shaded.jnr.ffi.provider.jffi.Provider

Software:

  • docker version:
    Client:
    Version: 18.09.7
    API version: 1.39
    Go version: go1.10.1
    Git commit: 2d0083d
    Built: Fri Aug 16 14:20:06 2019
    OS/Arch: linux/amd64
    Experimental: false

Server:
Engine:
Version: 18.09.7
API version: 1.39 (minimum version 1.12)
Go version: go1.10.1
Git commit: 2d0083d
Built: Wed Aug 14 19:41:23 2019
OS/Arch: linux/amd64
Experimental: false

  • Spotify's docker-client version: 2.0.1
@tony--
Copy link
Author

tony-- commented Nov 15, 2019

Looks similar to this: spotify/docker-client#1134

@tony-- tony-- changed the title java.lang.UnsatisfiedLinkError: could not load FFI provider org.mandas.docker.client.shaded.jnr.ffi.provider.jffi.Provider WIP: java.lang.UnsatisfiedLinkError: could not load FFI provider org.mandas.docker.client.shaded.jnr.ffi.provider.jffi.Provider Nov 16, 2019
@tony-- tony-- closed this as completed Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant