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

uniqueNugetDeploy throws error for artifactory 7.15.3 #372

Open
dakimaz opened this issue Mar 2, 2021 · 1 comment
Open

uniqueNugetDeploy throws error for artifactory 7.15.3 #372

dakimaz opened this issue Mar 2, 2021 · 1 comment

Comments

@dakimaz
Copy link

dakimaz commented Mar 2, 2021

When updating from Artifactory 6.23 to 7.15 uniqueNugetDeploy stopped working. Porting the changes from this repo didn't resolve the issue and the plugin throws the following error:

Caused by: java.lang.reflect.InvocationTargetException: null
	at jdk.internal.reflect.GeneratedMethodAccessor438.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.artifactory.addon.plugin.GroovyRunnerImpl.executePluginAction(GroovyRunnerImpl.java:380)
	... 130 common frames omitted
Caused by: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.jfrog.repomd.nuget.rest.handler.NuGetLocalRepoHandler(org.artifactory.addon.nuget.repomd.NuGetArtifactoryService, FakeUriInfo, null)

It looks like the constructor of NugetLocalRepoHandler has changed, but this documentation is not publically available.

@dakimaz dakimaz changed the title uniqueNugetDeploy throws error for artifactory 7.15 uniqueNugetDeploy throws error for artifactory 7.15.3 Mar 3, 2021
@dakimaz
Copy link
Author

dakimaz commented Mar 3, 2021

Just tested on version 7.12.8. The plugin doesn't work here either.
Also we had to add
@Grab(group='com.sun.jersey', module='jersey-core', version='1.19.4')
to the top of the file otherwise this didn't work:
import com.sun.jersey.core.util.MultivaluedMapImpl

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