8000 Dockstore CLI missing a Java class · Issue #5183 · dockstore/dockstore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
8000
Skip to content
Dockstore CLI missing a Java class #5183
Closed
@coverbeck

Description

@coverbeck

Describe the bug
If you try to invoke an AWS WES endpoint using the CLI and the default AWS auth, you get a NoClassDefFound error.

To Reproduce
Steps to reproduce the behavior:

  1. Configure AWS AGC, following instructions here.
  2. When you get to the part that says dockstore workflow wes service-info, you see the following:
Exception in thread "main" java.lang.NoClassDefFoundError: software/amazon/awssdk/profiles/ProfileFile
	at software.amazon.awssdk.auth.credentials.ProfileCredentialsProvider$BuilderImpl.<init>(ProfileCredentialsProvider.java:180)
	at software.amazon.awssdk.auth.credentials.ProfileCredentialsProvider.builder(ProfileCredentialsProvider.java:121)
	at io.dockstore.client.cli.nested.AbstractEntryClient.aggregateWesRequestData(AbstractEntryClient.java:1321)
	at io.dockstore.client.cli.nested.AbstractEntryClient.processWesCommands(AbstractEntryClient.java:1232)
	at io.dockstore.client.cli.nested.AbstractEntryClient.processEntryCommands(AbstractEntryClient.java:326)
	at io.dockstore.client.cli.Client.run(Client.java:737)
	at io.dockstore.client.cli.Client.main(Client.java:633)
Caused by: java.lang.ClassNotFoundException: software.amazon.awssdk.profiles.ProfileFile
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	... 7 more

Expected behavior
It should work

┆Issue is synchronized with this Jira Story
┆friendlyId: DOCK-2265
┆sprint: Backlog
┆taskType: Story

Metadata

Metadata

Assignees

Labels

bugclireviewmerged but pending a third party look at whether it makes sense/is working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0