org.sonatype.nexus.repository.IllegalOperationException: Repository does not allow updating assets.

Hot problem!
This exception has a lot of traffic. You can help 12 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Tamás Cservenák, 1 year ago
Repository does not allow updating assets.
org.sonatype.nexus.repository.IllegalOperationException: Repository does not allow updating assets.
at org.sonatype.nexus.repository.storage.StorageTxImpl.setBlob(StorageTxImpl.java:431)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.sonatype.nexus.common.stateguard.SimpleMethodInvocation.proceed(SimpleMethodInvocation.java:53)
at org.sonatype.nexus.common.stateguard.StateGuardAspect$1.invoke(StateGuardAspect.java:65)
at com.sun.proxy.$Proxy160.setBlob(Unknown Source)
at org.sonatype.nexus.repository.raw.internal.RawContentFacetImpl.put(RawContentFacetImpl.java:149)
at org.sonatype.nexus.repository.raw.internal.RawContentHandler.handle(RawContentHandler.java:73)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:89)
at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:46)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:89)
at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:89)
at org.sonatype.nexus.repository.partial.PartialFetchHandler.handle(PartialFetchHandler.java:60)
at org.sonatype.nexus.repository.view.Context.proceed(Context.java:89)
at org.sonatype.nexus.repository.view.Context.start(Context.java:112)
at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:58)
at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:45)
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:177)
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:164)
at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.