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

Does not work with nexus 3.31 and later #3

Open
bryder opened this issue Aug 20, 2021 · 0 comments
Open

Does not work with nexus 3.31 and later #3

bryder opened this issue Aug 20, 2021 · 0 comments

Comments

@bryder
Copy link

bryder commented Aug 20, 2021

It may not work with earlier versions but I've only tested on the two below.

I have tested it 3.31.1-01 and on 3.32.0-03

To reproduce it:

  • create a new repository
  • curl /archive-contents

I get a 500 Server Error from the web interface and this exception is thrown.

2021-08-19 19:04:23,814+0000 ERROR [qtp1384358502-396]  *SYSTEM org.sonatype.nexus.internal.web.ErrorPageServlet - Unexpected exception
java.lang.NoSuchMethodError: org.sonatype.nexus.repository.storage.StorageFacet.createTempBlob(Ljava/io/InputStream;Ljava/lang/Iterable;)Lorg/sonatype/nexus/repository/storage/TempBlob;
	at org.sonatype.nexus.repository.elpa.internal.ElpaProxyFacetImpl.putContents(ElpaProxyFacetImpl.java:216)
	at org.sonatype.nexus.repository.elpa.internal.ElpaProxyFacetImpl.store(ElpaProxyFacetImpl.java:88)
	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.doGet(ProxyFacetSupport.java:285)
	at org.sonatype.nexus.repository.proxy.ProxyFacetSupport.lambda$1(ProxyFacetSupport.java:259)

I will be posting a fix for it once I've tested it against 3.33 - the fix seems to work for the two versions I've tested.

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