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 Nino Martinez, 1 year ago
Deployment tried with both 'packaging' and/or 'extension' being empty! One of these values is mandatory!
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)	at org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.upload(AbstractArtifactPlexusResource.java:356)	at org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:366)	at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:250)	at org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:70)	at org.restlet.resource.Resource.post(Resource.java:688)	at org.restlet.resource.Resource.handlePost(Resource.java:537)	at org.restlet.Finder.handle(Finder.java:357)	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:36)	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.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 com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)	at org.restlet.Component.handle(Component.java:676)	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 org.sonatype.nexus.restlet1x.internal.RestletServlet.service(RestletServlet.java:90)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)	at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288)	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278)	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)	at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)	at com.sonatype.nexus.analytics.internal.RestRequestCollector.doFilter(RestRequestCollector.java:81)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)	at org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90)	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)	at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70)	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)	at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)	at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)	at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)	at org.eclipse.jetty.server.Server.handle(Server.java:370)	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)	at java.lang.Thread.run(Thread.java:745)