org.restlet.resource.ResourceException: Deployment tried with both 'packaging' and/or 'extension' being empty! One of these values is mandatory!

Sonatype JIRA | Nino Martinez | 2 years ago
  1. 0

    Every time we try to upload it fails. We have tried several different browsers and it always fails. POM definition are generated, see screenshot. This is no matter if it's a smal file or large. Stack trace; 2015-03-20 10:42:46,568+0100 DEBUG [qtp1307916597-59] nmw org.sonatype.nexus.rest.artifact.ArtifactContentPlexusResource - Got error while uploading artifact org.restlet.resource.ResourceException: Deployment tried with both 'packaging' and/or 'extension' being empty! One of these values is mandatory! at org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.getResourceStoreRequest(AbstractArtifactPlexusResource.java:88) ~[nexus-restlet1x-plugin-2.11.1-01/:na] at org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.upload(AbstractArtifactPlexusResource.java:356) ~[nexus-restlet1x-plugin-2.11.1-01/:na] at org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:366) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:250) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:70) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.resource.Resource.post(Resource.java:688) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.resource.Resource.handlePost(Resource.java:537) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Finder.handle(Finder.java:357) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:36) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [nexus-restlet1x-plugin-2.11.1-01/:na] at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Application.handle(Application.java:341) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.11.1-01/:na] at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Component.handle(Component.java:676) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.restlet.Server.handle(Server.java:331) [nexus-restlet1x-plugin-2.11.1-01/:na] at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [nexus-restlet1x-plugin-2.11.1-01/:na] at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [nexus-restlet1x-plugin-2.11.1-01/:na] at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [nexus-restlet1x-plugin-2.11.1-01/:na] at org.sonatype.nexus.restlet1x.internal.RestletServlet.service(RestletServlet.java:90) [nexus-restlet1x-plugin-2.11.1-01/:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet-3.0.0.v201112011016.jar:na] at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [guice-servlet-3.1.10.jar:3.1.10] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [shiro-web-1.2.3.jar:1.2.3] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] at com.sonatype.nexus.analytics.internal.RestRequestCollector.doFilter(RestRequestCollector.java:81) [nexus-analytics-plugin-2.11.1-01/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.3.jar:1.2.3] at org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90) [nexus-core-2.11.1-01.jar:2.11.1-01] at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.3.jar:1.2.3] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76) [metrics-web-2.2.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69) [nexus-core-2.11.1-01.jar:2.11.1-01] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71) [nexus-core-2.11.1-01.jar:2.11.1-01] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70) [nexus-core-2.11.1-01.jar:2.11.1-01] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56) [nexus-core-2.11.1-01.jar:2.11.1-01] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206) [guice-servlet-3.1.10.jar:3.1.10] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200) [metrics-jetty-2.2.0.jar:na] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]

    Sonatype JIRA | 2 years ago | Nino Martinez
    org.restlet.resource.ResourceException: Deployment tried with both 'packaging' and/or 'extension' being empty! One of these values is mandatory!
  2. 0

    Copied from email: You should jump over to the nexus dev list. It looks like you your not logged in, or don't have access to that repo, (and this plugin is not returning a 403 as it should) Line 128 should include a catch for NoSuchRepositoryAccessException then set the status to a 403 On Dec 30, 2009, at 7:25 PM, Thomas Dudziak wrote: Hi, we installed the nexus-archetype-plugin (trunk as stated in https://docs.sonatype.org/display/Nexus/Nexus+Archetype+Plugin) into a Nexus professional instance (1.4.1), but only the Admin user is able to see the feed. Every other user gets a 500 response with a message like: ResourceStore of type Repository with id='public' not found! and in the log there is this stacktrace: 2009-12-31 00:23:11 ERROR [tp-919099148-34] - o.s.n.e.r.ErrorRepo~ - Detected Error in Nexus org.restlet.resource.ResourceException: ResourceStore of type Repository with id='public' not found! at org.sonatype.nexus.plugins.mac.api.MacRepositoryPlexusResource.get(MacRepositoryPlexusResource.java:130) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) Caused by: org.sonatype.nexus.rest.NoSuchRepositoryAccessException: ResourceStore of type Repository with id='public' not found! at org.sonatype.nexus.rest.ProtectedRepositoryRegistry.checkAccessToRepository(ProtectedRepositoryRegistry.java:131) at org.sonatype.nexus.rest.ProtectedRepositoryRegistry.getRepository(ProtectedRepositoryRegistry.java:57) at org.sonatype.nexus.plugins.mac.api.MacRepositoryPlexusResource.get(MacRepositoryPlexusResource.java:94) ... 69 more Is there a specific privilege that I need to give the users (incl. anonymous) so that they can access the plugin ? Tom

    Sonatype JIRA | 7 years ago | Brian Demers
    org.restlet.resource.ResourceException: ResourceStore of type Repository with id='public' not found!
  3. 0

    Copied from email: You should jump over to the nexus dev list. It looks like you your not logged in, or don't have access to that repo, (and this plugin is not returning a 403 as it should) Line 128 should include a catch for NoSuchRepositoryAccessException then set the status to a 403 On Dec 30, 2009, at 7:25 PM, Thomas Dudziak wrote: Hi, we installed the nexus-archetype-plugin (trunk as stated in https://docs.sonatype.org/display/Nexus/Nexus+Archetype+Plugin) into a Nexus professional instance (1.4.1), but only the Admin user is able to see the feed. Every other user gets a 500 response with a message like: ResourceStore of type Repository with id='public' not found! and in the log there is this stacktrace: 2009-12-31 00:23:11 ERROR [tp-919099148-34] - o.s.n.e.r.ErrorRepo~ - Detected Error in Nexus org.restlet.resource.ResourceException: ResourceStore of type Repository with id='public' not found! at org.sonatype.nexus.plugins.mac.api.MacRepositoryPlexusResource.get(MacRepositoryPlexusResource.java:130) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:263) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) Caused by: org.sonatype.nexus.rest.NoSuchRepositoryAccessException: ResourceStore of type Repository with id='public' not found! at org.sonatype.nexus.rest.ProtectedRepositoryRegistry.checkAccessToRepository(ProtectedRepositoryRegistry.java:131) at org.sonatype.nexus.rest.ProtectedRepositoryRegistry.getRepository(ProtectedRepositoryRegistry.java:57) at org.sonatype.nexus.plugins.mac.api.MacRepositoryPlexusResource.get(MacRepositoryPlexusResource.java:94) ... 69 more Is there a specific privilege that I need to give the users (incl. anonymous) so that they can access the plugin ? Tom

    Sonatype JIRA | 7 years ago | Brian Demers
    org.restlet.resource.ResourceException: ResourceStore of type Repository with id='public' not found!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Here is the log: {noformat} jvm 2 | 2010-11-28 08:00:58 ERROR - o.s.n.s.f.a.NexusSe~ - Unable to lookup component jvm 2 | org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException jvm 2 | role: org.sonatype.plexus.appevents.ApplicationEventMulticaster jvm 2 | roleHint: jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:238) jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:226) jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:220) jvm 2 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.postAuthcEvent(NexusHttpAuthenticationFilter.java:260) jvm 2 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.executeAnonymousLogin(NexusHttpAuthenticationFilter.java:220) jvm 2 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.onAccessDenied(NexusHttpAuthenticationFilter.java:144) jvm 2 | at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145) jvm 2 | at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175) jvm 2 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) jvm 2 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 2 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) jvm 2 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) jvm 2 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 2 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) jvm 2 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) jvm 2 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) jvm 2 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) jvm 2 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) jvm 2 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) jvm 2 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) jvm 2 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) jvm 2 | at org.mortbay.jetty.Server.handle(Server.java:326) jvm 2 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) jvm 2 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) jvm 2 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) jvm 2 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) jvm 2 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) jvm 2 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) jvm 2 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) jvm 2 | Caused by: java.util.NoSuchElementException jvm 2 | at java.util.AbstractList$Itr.next(AbstractList.java:350) jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) jvm 2 | ... 28 more {noformat} also found log related to mac plugin: {noformat} 2010-11-28 07:10:30 ERROR [p-11915355-4119] - o.s.n.r.ContentPlex~ - Got exception during processing request "GET http://oss.sonatype.org/content/repositories/public/archetype-catalog.xml": Could not generate content: 2010-11-28 07:10:30 ERROR [p-11915355-4119] - o.s.n.e.r.DefaultEr~ - Detected Error in Nexus org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.handleException(AbstractResourceStoreContentPlexusResource.java:730) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:150) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) ... ... Caused by: org.sonatype.nexus.proxy.LocalStorageException: Could not generate content: at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:734) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:521) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:184) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:132) ... 72 more Caused by: java.util.NoSuchElementException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1098) at java.util.TreeMap$KeyIterator.next(TreeMap.java:1154) at org.sonatype.nexus.plugins.mac.DefaultMacPlugin.listArchetypes(DefaultMacPlugin.java:55) at org.sonatype.nexus.plugins.mac.DefaultMacPlugin.listArcherypesAsCatalog(DefaultMacPlugin.java:76) at org.sonatype.nexus.plugins.mac.ArchetypeContentGenerator.generateContent(ArchetypeContentGenerator.java:43) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:730) ... 75 more {noformat} There are also thousands lines of logs like this: Someone is keeping accessing a inexistent staging repo and causing these ERROR log: {noformat} 2010-11-28 07:27:57 ERROR [p-11915355-4135] - o.s.n.r.r.Repositor~ - Got exception during processing request "GET http://oss.sonatype.org/service/local/repositories/ukcomrobust-it-049/content/": ResourceStore of type Repository with id='ukcomrobust-it-049' not found! 2010-11-28 07:27:57 ERROR [p-11915355-4135] - o.s.n.r.r.Repositor~ - Got exception during processing request "GET http://oss.sonatype.org/service/local/repositories/ukcomrobust-it-049/content/": ResourceStore of type Repository with id='ukcomrobust-it-049' not found! {noformat}

    Sonatype JIRA | 6 years ago | Juven Xu
    org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request
  6. 0

    Here is the log: {noformat} jvm 2 | 2010-11-28 08:00:58 ERROR - o.s.n.s.f.a.NexusSe~ - Unable to lookup component jvm 2 | org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException jvm 2 | role: org.sonatype.plexus.appevents.ApplicationEventMulticaster jvm 2 | roleHint: jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:238) jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:226) jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:220) jvm 2 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.postAuthcEvent(NexusHttpAuthenticationFilter.java:260) jvm 2 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.executeAnonymousLogin(NexusHttpAuthenticationFilter.java:220) jvm 2 | at org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.onAccessDenied(NexusHttpAuthenticationFilter.java:144) jvm 2 | at org.jsecurity.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:145) jvm 2 | at org.jsecurity.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:175) jvm 2 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:129) jvm 2 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 2 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) jvm 2 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) jvm 2 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) jvm 2 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) jvm 2 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) jvm 2 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) jvm 2 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) jvm 2 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) jvm 2 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) jvm 2 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) jvm 2 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) jvm 2 | at org.mortbay.jetty.Server.handle(Server.java:326) jvm 2 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) jvm 2 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) jvm 2 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) jvm 2 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) jvm 2 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) jvm 2 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) jvm 2 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) jvm 2 | Caused by: java.util.NoSuchElementException jvm 2 | at java.util.AbstractList$Itr.next(AbstractList.java:350) jvm 2 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) jvm 2 | ... 28 more {noformat} also found log related to mac plugin: {noformat} 2010-11-28 07:10:30 ERROR [p-11915355-4119] - o.s.n.r.ContentPlex~ - Got exception during processing request "GET http://oss.sonatype.org/content/repositories/public/archetype-catalog.xml": Could not generate content: 2010-11-28 07:10:30 ERROR [p-11915355-4119] - o.s.n.e.r.DefaultEr~ - Detected Error in Nexus org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.handleException(AbstractResourceStoreContentPlexusResource.java:730) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:150) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) ... ... Caused by: org.sonatype.nexus.proxy.LocalStorageException: Could not generate content: at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:734) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:521) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:184) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:132) ... 72 more Caused by: java.util.NoSuchElementException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1098) at java.util.TreeMap$KeyIterator.next(TreeMap.java:1154) at org.sonatype.nexus.plugins.mac.DefaultMacPlugin.listArchetypes(DefaultMacPlugin.java:55) at org.sonatype.nexus.plugins.mac.DefaultMacPlugin.listArcherypesAsCatalog(DefaultMacPlugin.java:76) at org.sonatype.nexus.plugins.mac.ArchetypeContentGenerator.generateContent(ArchetypeContentGenerator.java:43) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:730) ... 75 more {noformat} There are also thousands lines of logs like this: Someone is keeping accessing a inexistent staging repo and causing these ERROR log: {noformat} 2010-11-28 07:27:57 ERROR [p-11915355-4135] - o.s.n.r.r.Repositor~ - Got exception during processing request "GET http://oss.sonatype.org/service/local/repositories/ukcomrobust-it-049/content/": ResourceStore of type Repository with id='ukcomrobust-it-049' not found! 2010-11-28 07:27:57 ERROR [p-11915355-4135] - o.s.n.r.r.Repositor~ - Got exception during processing request "GET http://oss.sonatype.org/service/local/repositories/ukcomrobust-it-049/content/": ResourceStore of type Repository with id='ukcomrobust-it-049' not found! {noformat}

    Sonatype JIRA | 6 years ago | Juven Xu
    org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.restlet.resource.ResourceException

      Deployment tried with both 'packaging' and/or 'extension' being empty! One of these values is mandatory!

      at org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.getResourceStoreRequest()
    2. Nexus Core
      AbstractArtifactPlexusResource.upload
      1. org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.getResourceStoreRequest(AbstractArtifactPlexusResource.java:88)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.upload(AbstractArtifactPlexusResource.java:356)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2 frames
    3. ${project.groupId}:${project.artifactId}
      RestletResource.acceptRepresentation
      1. org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:366)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:250)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2 frames
    4. Nexus Core
      NexusRestletResource.acceptRepresentation
      1. org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:70)[nexus-restlet1x-plugin-2.11.1-01/:na]
      1 frame
    5. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.post(Resource.java:688)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.restlet.resource.Resource.handlePost(Resource.java:537)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2 frames
    6. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:357)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      3. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      4. org.restlet.Router.handle(Router.java:504)[nexus-restlet1x-plugin-2.11.1-01/:na]
      5. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      6. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      7. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      7 frames
    7. ${project.groupId}:${project.artifactId}
      RetargetableRestlet.doHandle
      1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:36)[nexus-restlet1x-plugin-2.11.1-01/:na]
      1 frame
    8. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      3. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      4. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      5. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      6. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      6 frames
    9. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)[nexus-restlet1x-plugin-2.11.1-01/:na]
      1 frame
    10. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      3. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      3 frames
    11. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2 frames
    12. org.restlet
      Router.handle
      1. org.restlet.Application.handle(Application.java:341)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      3. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      4. org.restlet.Router.handle(Router.java:504)[nexus-restlet1x-plugin-2.11.1-01/:na]
      5. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.11.1-01/:na]
      6. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.11.1-01/:na]
      7. org.restlet.Router.handle(Router.java:504)[nexus-restlet1x-plugin-2.11.1-01/:na]
      7 frames
    13. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[nexus-restlet1x-plugin-2.11.1-01/:na]
      1 frame
    14. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:676)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. org.restlet.Server.handle(Server.java:331)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2 frames
    15. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)[nexus-restlet1x-plugin-2.11.1-01/:na]
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)[nexus-restlet1x-plugin-2.11.1-01/:na]
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)[nexus-restlet1x-plugin-2.11.1-01/:na]
      3 frames
    16. org.sonatype.nexus
      RestletServlet.service
      1. org.sonatype.nexus.restlet1x.internal.RestletServlet.service(RestletServlet.java:90)[nexus-restlet1x-plugin-2.11.1-01/:na]
      1 frame
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)[javax.servlet-3.0.0.v201112011016.jar:na]
      1 frame
    18. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278)[guice-servlet-3.1.10.jar:3.1.10]
      3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)[guice-servlet-3.1.10.jar:3.1.10]
      4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)[guice-servlet-3.1.10.jar:3.1.10]
      5. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)[guice-servlet-3.1.10.jar:3.1.10]
      5 frames
    19. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)[shiro-web-1.2.3.jar:1.2.3]
      1 frame
    20. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    21. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    22. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    23. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    24. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    25. com.sonatype.nexus
      RestRequestCollector.doFilter
      1. com.sonatype.nexus.analytics.internal.RestRequestCollector.doFilter(RestRequestCollector.java:81)[nexus-analytics-plugin-2.11.1-01/:na]
      1 frame
    26. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    27. Shiro
      AbstractShiroFilter.executeChain
      1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[shiro-web-1.2.3.jar:1.2.3]
      2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
      3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
      4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
      6. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
      7. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
      8. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      9. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
      10. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
      11. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
      12. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      13. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
      14. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[shiro-web-1.2.3.jar:1.2.3]
      14 frames
    28. ${project.groupId}:${project.artifactId}
      SecurityFilter.executeChain
      1. org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    29. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[shiro-web-1.2.3.jar:1.2.3]
      2. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
      3. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
      4. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[shiro-core-1.2.3.jar:1.2.3]
      5. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[shiro-web-1.2.3.jar:1.2.3]
      6. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      6 frames
    30. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    31. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    32. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    33. com.yammer.metrics
      WebappMetricsFilter.doFilter
      1. com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76)[metrics-web-2.2.0.jar:na]
      1 frame
    34. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    35. ${project.groupId}:${project.artifactId}
      CommonHeadersFilter.doFilter
      1. org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    36. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    37. ${project.groupId}:${project.artifactId}
      ErrorPageFilter.doFilter
      1. org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    38. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    39. ${project.groupId}:${project.artifactId}
      BaseUrlHolderFilter.doFilter
      1. org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    40. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    41. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterPipeline.dispatch
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      2. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56)[nexus-core-2.11.1-01.jar:2.11.1-01]
      2 frames
    42. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)[guice-servlet-3.1.10.jar:3.1.10]
      3. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)[guice-servlet-3.1.10.jar:3.1.10]
      4. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)[guice-servlet-3.1.10.jar:3.1.10]
      4 frames
    43. Jetty
      HandlerWrapper.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[jetty-security-8.1.11.v20130520.jar:8.1.11.v20130520]
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      11 frames
    44. Metrics Jetty Support
      InstrumentedHandler.handle
      1. com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200)[metrics-jetty-2.2.0.jar:na]
      1 frame
    45. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      3. org.eclipse.jetty.server.Server.handle(Server.java:370)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      4. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      5. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      6. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      7. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520]
      8. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520]
      9. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      9 frames
    46. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)[jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520]
      2 frames
    47. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      2 frames
    48. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_75]
      1 frame