org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request

Sonatype JIRA | Pablo Garcia | 2 years ago
  1. 0

    The GUI shows the following message: "Problem parsing error response: SyntaxError: Unexpected token < 500 - Internal Server Error. The server encountered an unexpected condition which prevented it from fulfilling the request" When this happens, we cannot perform searches or operate with repositories through the GUI. In opposite, artifact resolution (/content/groups/<group>/...) works. This is what the stacktrace shows: 2014-11-25 04:12:22,676-0500 ERROR [qtp1253120216-37301] anonymous org.sonatype.nexus.rest.NexusRestletResource - org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request 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:838) ~[nexus-restlet1x-plugin-2.10.0-02/:na] at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:198) ~[nexus-restlet1x-plugin-2.10.0-02/:na] at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233) ~[nexus-restlet1x-plugin-2.10.0-02/:na] at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39) ~[nexus-restlet1x-plugin-2.10.0-02/:na] at org.restlet.resource.Resource.getRepresentation(Resource.java:302) [nexus-restlet1x-plugin-2.10.0-02/:na] at org.restlet.resource.Resource.handleGet(Resource.java:464) [nexus-restlet1x-plugin-2.10.0-02/:na] at org.restlet.Finder.handle(Finder.java:353) [nexus-restlet1x-plugin-2.10.0-02/:na] at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.10.0-02/:na] at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.10.0-02/:na] ... Caused by: java.lang.NullPointerException: null at org.apache.maven.index.context.DefaultIndexingContext.acquireIndexSearcher(DefaultIndexingContext.java:498) ~[na:na] at org.sonatype.nexus.index.LockingIndexingContext.acquireIndexSearcher(LockingIndexingContext.java:137) ~[na:na] at org.apache.maven.index.context.NexusIndexMultiReader.acquire(NexusIndexMultiReader.java:56) ~[na:na] at org.apache.maven.index.context.NexusIndexMultiSearcher.<init>(NexusIndexMultiSearcher.java:32) ~[na:na] at org.apache.maven.index.DefaultSearchEngine.searchIteratorPaged(DefaultSearchEngine.java:276) ~[na:na] at org.apache.maven.index.DefaultSearchEngine.forceSearchIteratorPaged(DefaultSearchEngine.java:264) ~[na:na] at org.apache.maven.index.DefaultIndexer.searchIterator(DefaultIndexer.java:157) ~[na:na] at org.apache.maven.index.DefaultNexusIndexer.searchIterator(DefaultNexusIndexer.java:383) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.searchIterator(DefaultIndexerManager.java:2111) ~[na:na] at org.sonatype.nexus.index.DefaultIndexerManager.searchArtifactSha1ChecksumIterator(DefaultIndexerManager.java:2058) ~[na:na] at org.sonatype.nexus.rest.index.artifact.InfoArtifactViewProvider.retrieveView(InfoArtifactViewProvider.java:103) ~[na:na] at org.sonatype.nexus.rest.AbstractArtifactViewProvider.retrieveView(AbstractArtifactViewProvider.java:118) ~[nexus-restlet1x-plugin-2.10.0-02/:na] at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.renderDescribeItem(AbstractResourceStoreContentPlexusResource.java:583) ~[nexus-restlet1x-plugin-2.10.0-02/:na] at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.renderItem(AbstractResourceStoreContentPlexusResource.java:367) ~[nexus-restlet1x-plugin-2.10.0-02/:na] at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:186) ~[nexus-restlet1x-plugin-2.10.0-02/:na] ... 113 common frames omitted

    Sonatype JIRA | 2 years ago | Pablo Garcia
    org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request
  2. 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
  3. 0

    A local Nexus OSS instance will no longer deliver a specific POM artifact proxied from a remote (Nexus Professional 1.4.1) repository, reporting an internal error (HTTP status code 500). The artifact was unchanged since December 2009. I've tried deleting the artifact through the UI (which produces a dialog with a similar 500) and have also physically removed the file from the filesystem. I've also redeployed the artifact to the remote repository (as it was a -SNAPSHOT) and have even recreated the proxy repository pointing to a new local directory, but the error continues to appear. The stack trace follows. I see it's similar to the one reported in NEXUS-2534, but it's appearing in a later release than the one where that issue is reported fixed. 2010-03-23 12:38:52 ERROR [@qtp-15453627-4] - o.s.p.r.r.ManagedPl~:content - java.lang.NullPointerException at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3020) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1738) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1479) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:137) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:130) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:109) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:94) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:44) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:49) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:861) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.doGetAttributes(DefaultAttributeStorage.java:300) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.getAttributes(DefaultAttributeStorage.java:179) at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.fetchAttributes(DefaultAttributesHandler.java:138) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:327) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:361) at org.sonatype.nexus.proxy.repository.AbstractRepository.doRetrieveItem(AbstractRepository.java:1213) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:636) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:617) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:366) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:725) at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doRetrieveItems(AbstractGroupRepository.java:344) at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:161) at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:124) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:725) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:532) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:175) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:134) 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.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.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:2 30) 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) 2010-03-23 12:38:52 ERROR [@qtp-15453627-4] - o.s.n.e.r.ErrorRepo~ - 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:755) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:152) 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.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.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)

    Sonatype JIRA | 7 years ago | Peter Janes
    org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request
  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

    A local Nexus OSS instance will no longer deliver a specific POM artifact proxied from a remote (Nexus Professional 1.4.1) repository, reporting an internal error (HTTP status code 500). The artifact was unchanged since December 2009. I've tried deleting the artifact through the UI (which produces a dialog with a similar 500) and have also physically removed the file from the filesystem. I've also redeployed the artifact to the remote repository (as it was a -SNAPSHOT) and have even recreated the proxy repository pointing to a new local directory, but the error continues to appear. The stack trace follows. I see it's similar to the one reported in NEXUS-2534, but it's appearing in a later release than the one where that issue is reported fixed. 2010-03-23 12:38:52 ERROR [@qtp-15453627-4] - o.s.p.r.r.ManagedPl~:content - java.lang.NullPointerException at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3020) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1738) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1479) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:137) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:130) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:109) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:94) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:44) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:49) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:861) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.doGetAttributes(DefaultAttributeStorage.java:300) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.getAttributes(DefaultAttributeStorage.java:179) at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.fetchAttributes(DefaultAttributesHandler.java:138) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:327) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:361) at org.sonatype.nexus.proxy.repository.AbstractRepository.doRetrieveItem(AbstractRepository.java:1213) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:636) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:617) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:366) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:725) at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doRetrieveItems(AbstractGroupRepository.java:344) at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:161) at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:124) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:725) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:532) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:175) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:134) 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.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.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:2 30) 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) 2010-03-23 12:38:52 ERROR [@qtp-15453627-4] - o.s.n.e.r.ErrorRepo~ - 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:755) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:152) 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.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.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)

    Sonatype JIRA | 7 years ago | Peter Janes
    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

      The server encountered an unexpected condition which prevented it from fulfilling the request

      at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.handleException()
    2. Nexus Core
      AbstractResourceStoreContentPlexusResource.get
      1. org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.handleException(AbstractResourceStoreContentPlexusResource.java:838)[nexus-restlet1x-plugin-2.10.0-02/:na]
      2. org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:198)[nexus-restlet1x-plugin-2.10.0-02/:na]
      2 frames
    3. ${project.groupId}:${project.artifactId}
      RestletResource.represent
      1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:233)[nexus-restlet1x-plugin-2.10.0-02/:na]
      1 frame
    4. Nexus Core
      NexusRestletResource.represent
      1. org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:39)[nexus-restlet1x-plugin-2.10.0-02/:na]
      1 frame
    5. org.restlet.resource
      Resource.handleGet
      1. org.restlet.resource.Resource.getRepresentation(Resource.java:302)[nexus-restlet1x-plugin-2.10.0-02/:na]
      2. org.restlet.resource.Resource.handleGet(Resource.java:464)[nexus-restlet1x-plugin-2.10.0-02/:na]
      2 frames
    6. org.restlet
      Filter.handle
      1. org.restlet.Finder.handle(Finder.java:353)[nexus-restlet1x-plugin-2.10.0-02/:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[nexus-restlet1x-plugin-2.10.0-02/:na]
      3. org.restlet.Filter.handle(Filter.java:195)[nexus-restlet1x-plugin-2.10.0-02/:na]
      3 frames