org.sonatype.nexus.repository.metadata.MetadataHandlerException: java.lang.NullPointerException

Sonatype JIRA | Kristine O'Connor | 8 years ago
  1. 0

    With a vanilla instance of Nexus, update the server config information, then select Repositories in the Administration section of the left nav menu => Select Maven Central repo so that the details are displayed => Select Configuration tab => Update the download remote indexes to true and save => I reviewed the log file and the following errors were logged: 2009-02-10 13:36:49 INFO [qtp0-6 ] - o.s.n.c.a.NexusConf~:default - Applying Nexus Configuration... 2009-02-10 13:36:49 INFO [qtp0-6 ] - o.s.n.t.Timeline:default - Stopping Timeline... 2009-02-10 13:36:49 INFO [qtp0-6 ] - o.s.n.t.Timeline:default - Starting Timeline... 2009-02-10 13:37:47 ERROR [qtp0-8 ] - o.s.p.r.r.PlexusRes~:Reposit~ - Unable to retrieve metadata, returning no items org.sonatype.nexus.repository.metadata.MetadataHandlerException: java.lang.NullPointerException at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:80) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:38) at org.sonatype.nexus.proxy.repository.metadata.DefaultNexusRepositoryMetadataHandler.readRepositoryMetadata(DefaultNexusRepositoryMetadataHandler.java:46) at org.sonatype.nexus.rest.mirrors.RepositoryPredefinedMirrorListPlexusResource.get(RepositoryPredefinedMirrorListPlexusResource.java:62) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:244) at org.restlet.resource.Resource.getRepresentation(Resource.java:303) at org.restlet.resource.Resource.handleGet(Resource.java:465) 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.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:45) 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 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:884) 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:1124) 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.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:76) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) 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:766) 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:324) 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:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) Caused by: java.lang.NullPointerException at java.lang.String.replace(Unknown Source) at org.sonatype.nexus.proxy.repository.metadata.NexusRepositoryMetadataContentGenerator.generateContent(NexusRepositoryMetadataContentGenerator.java:40) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:779) at org.sonatype.nexus.proxy.repository.metadata.NexusRawTransport.readRawData(NexusRawTransport.java:54) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:47) ... 73 more 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.p.r.Repositor~:default - Updated repository ID='central' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenProxyRepository') 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.c.a.NexusConf~:default - Applying Nexus Configuration... 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.t.Timeline:default - Stopping Timeline... 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.t.Timeline:default - Starting Timeline... 2009-02-10 13:37:53 ERROR [qtp0-5 ] - o.s.p.r.r.PlexusRes~:Reposit~ - Unable to retrieve metadata, returning no items org.sonatype.nexus.repository.metadata.MetadataHandlerException: java.lang.NullPointerException at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:80) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:38) at org.sonatype.nexus.proxy.repository.metadata.DefaultNexusRepositoryMetadataHandler.readRepositoryMetadata(DefaultNexusRepositoryMetadataHandler.java:46) at org.sonatype.nexus.rest.mirrors.RepositoryPredefinedMirrorListPlexusResource.get(RepositoryPredefinedMirrorListPlexusResource.java:62) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:244) at org.restlet.resource.Resource.getRepresentation(Resource.java:303) at org.restlet.resource.Resource.handleGet(Resource.java:465) 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.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:45) 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 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:884) 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:1124) 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.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:76) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) 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:766) 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:324) 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:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) Caused by: java.lang.NullPointerException at java.lang.String.replace(Unknown Source) at org.sonatype.nexus.proxy.repository.metadata.NexusRepositoryMetadataContentGenerator.generateContent(NexusRepositoryMetadataContentGenerator.java:40) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:779) at org.sonatype.nexus.proxy.repository.metadata.NexusRawTransport.readRawData(NexusRawTransport.java:54) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:47) ... 73 more 2009-02-10 13:37:53 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository Maven Central : Process started on Tue Feb 10 13:37:53 MST 2009, not yet finished.

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.repository.metadata.MetadataHandlerException: java.lang.NullPointerException
  2. 0

    With a vanilla instance of Nexus, update the server config information, then select Repositories in the Administration section of the left nav menu => Select Maven Central repo so that the details are displayed => Select Configuration tab => Update the download remote indexes to true and save => I reviewed the log file and the following errors were logged: 2009-02-10 13:36:49 INFO [qtp0-6 ] - o.s.n.c.a.NexusConf~:default - Applying Nexus Configuration... 2009-02-10 13:36:49 INFO [qtp0-6 ] - o.s.n.t.Timeline:default - Stopping Timeline... 2009-02-10 13:36:49 INFO [qtp0-6 ] - o.s.n.t.Timeline:default - Starting Timeline... 2009-02-10 13:37:47 ERROR [qtp0-8 ] - o.s.p.r.r.PlexusRes~:Reposit~ - Unable to retrieve metadata, returning no items org.sonatype.nexus.repository.metadata.MetadataHandlerException: java.lang.NullPointerException at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:80) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:38) at org.sonatype.nexus.proxy.repository.metadata.DefaultNexusRepositoryMetadataHandler.readRepositoryMetadata(DefaultNexusRepositoryMetadataHandler.java:46) at org.sonatype.nexus.rest.mirrors.RepositoryPredefinedMirrorListPlexusResource.get(RepositoryPredefinedMirrorListPlexusResource.java:62) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:244) at org.restlet.resource.Resource.getRepresentation(Resource.java:303) at org.restlet.resource.Resource.handleGet(Resource.java:465) 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.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:45) 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 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:884) 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:1124) 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.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:76) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) 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:766) 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:324) 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:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) Caused by: java.lang.NullPointerException at java.lang.String.replace(Unknown Source) at org.sonatype.nexus.proxy.repository.metadata.NexusRepositoryMetadataContentGenerator.generateContent(NexusRepositoryMetadataContentGenerator.java:40) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:779) at org.sonatype.nexus.proxy.repository.metadata.NexusRawTransport.readRawData(NexusRawTransport.java:54) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:47) ... 73 more 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.p.r.Repositor~:default - Updated repository ID='central' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenProxyRepository') 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.c.a.NexusConf~:default - Applying Nexus Configuration... 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.t.Timeline:default - Stopping Timeline... 2009-02-10 13:37:52 INFO [qtp0-0 ] - o.s.n.t.Timeline:default - Starting Timeline... 2009-02-10 13:37:53 ERROR [qtp0-5 ] - o.s.p.r.r.PlexusRes~:Reposit~ - Unable to retrieve metadata, returning no items org.sonatype.nexus.repository.metadata.MetadataHandlerException: java.lang.NullPointerException at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:80) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:38) at org.sonatype.nexus.proxy.repository.metadata.DefaultNexusRepositoryMetadataHandler.readRepositoryMetadata(DefaultNexusRepositoryMetadataHandler.java:46) at org.sonatype.nexus.rest.mirrors.RepositoryPredefinedMirrorListPlexusResource.get(RepositoryPredefinedMirrorListPlexusResource.java:62) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:244) at org.restlet.resource.Resource.getRepresentation(Resource.java:303) at org.restlet.resource.Resource.handleGet(Resource.java:465) 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.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:45) 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 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:884) 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:1124) 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.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:76) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) 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:766) 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:324) 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:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) Caused by: java.lang.NullPointerException at java.lang.String.replace(Unknown Source) at org.sonatype.nexus.proxy.repository.metadata.NexusRepositoryMetadataContentGenerator.generateContent(NexusRepositoryMetadataContentGenerator.java:40) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:779) at org.sonatype.nexus.proxy.repository.metadata.NexusRawTransport.readRawData(NexusRawTransport.java:54) at org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:47) ... 73 more 2009-02-10 13:37:53 INFO [pool-1-thread-1] - o.s.n.f.FeedRecorder:default - Reindexing repository Maven Central : Process started on Tue Feb 10 13:37:53 MST 2009, not yet finished.

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.repository.metadata.MetadataHandlerException: java.lang.NullPointerException
  3. 0

    Player City NPE

    GitHub | 2 years ago | WizardCM
    org.bukkit.event.EventException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error /f show

    GitHub | 2 years ago | LooToS
    org.bukkit.command.CommandException: Unhandled exception executing command 'f' in plugin Factions v1.6.9.5-U0.1.12
  6. 0

    Server crash upon death

    GitHub | 2 years ago | Exorian
    org.bukkit.event.EventException
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. java.lang.NullPointerException

    No message provided

    at java.lang.String.replace()
  2. Java RT
    String.replace
    1. java.lang.String.replace(Unknown Source)
    1 frame
  3. org.sonatype.nexus
    NexusRepositoryMetadataContentGenerator.generateContent
    1. org.sonatype.nexus.proxy.repository.metadata.NexusRepositoryMetadataContentGenerator.generateContent(NexusRepositoryMetadataContentGenerator.java:40)
    1 frame
  4. ${project.groupId}:${project.artifactId}
    AbstractRepository.retrieveItem
    1. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:779)
    1 frame
  5. org.sonatype.nexus
    NexusRawTransport.readRawData
    1. org.sonatype.nexus.proxy.repository.metadata.NexusRawTransport.readRawData(NexusRawTransport.java:54)
    1 frame
  6. ${project.groupId}:${project.artifactId}
    DefaultRepositoryMetadataHandler.readRepositoryMetadata
    1. org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:47)
    2. org.sonatype.nexus.repository.metadata.DefaultRepositoryMetadataHandler.readRepositoryMetadata(DefaultRepositoryMetadataHandler.java:38)
    2 frames
  7. org.sonatype.nexus
    DefaultNexusRepositoryMetadataHandler.readRepositoryMetadata
    1. org.sonatype.nexus.proxy.repository.metadata.DefaultNexusRepositoryMetadataHandler.readRepositoryMetadata(DefaultNexusRepositoryMetadataHandler.java:46)
    1 frame
  8. Nexus Core
    RepositoryPredefinedMirrorListPlexusResource.get
    1. org.sonatype.nexus.rest.mirrors.RepositoryPredefinedMirrorListPlexusResource.get(RepositoryPredefinedMirrorListPlexusResource.java:62)
    1 frame
  9. ${project.groupId}:${project.artifactId}
    RestletResource.represent
    1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:244)
    1 frame
  10. org.restlet.resource
    Resource.handleGet
    1. org.restlet.resource.Resource.getRepresentation(Resource.java:303)
    2. org.restlet.resource.Resource.handleGet(Resource.java:465)
    2 frames
  11. org.restlet
    Filter.handle
    1. org.restlet.Finder.handle(Finder.java:353)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    4. org.restlet.Router.handle(Router.java:504)
    5. org.restlet.Filter.doHandle(Filter.java:150)
    6. org.restlet.Filter.handle(Filter.java:195)
    7. org.restlet.Router.handle(Router.java:504)
    8. org.restlet.Filter.doHandle(Filter.java:150)
    9. org.restlet.Filter.handle(Filter.java:195)
    9 frames
  12. ${project.groupId}:${project.artifactId}
    RetargetableRestlet.handle
    1. org.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:45)
    1 frame
  13. org.restlet
    Filter.doHandle
    1. org.restlet.Filter.doHandle(Filter.java:150)
    2. org.restlet.Filter.handle(Filter.java:195)
    3. org.restlet.Filter.doHandle(Filter.java:150)
    4. org.restlet.Filter.handle(Filter.java:195)
    5. org.restlet.Filter.doHandle(Filter.java:150)
    5 frames
  14. com.noelios.restlet
    StatusFilter.doHandle
    1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
    1 frame
  15. org.restlet
    Filter.handle
    1. org.restlet.Filter.handle(Filter.java:195)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    3 frames
  16. com.noelios.restlet
    ApplicationHelper.handle
    1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
    2 frames
  17. org.restlet
    Filter.handle
    1. org.restlet.Application.handle(Application.java:341)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    4. org.restlet.Router.handle(Router.java:504)
    5. org.restlet.Filter.doHandle(Filter.java:150)
    6. org.restlet.Filter.handle(Filter.java:195)
    7. org.restlet.Router.handle(Router.java:504)
    8. org.restlet.Filter.doHandle(Filter.java:150)
    9. org.restlet.Filter.handle(Filter.java:195)
    9 frames
  18. com.noelios.restlet
    ChainHelper.handle
    1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    1 frame
  19. org.restlet
    Server.handle
    1. org.restlet.Component.handle(Component.java:673)
    2. org.restlet.Server.handle(Server.java:331)
    2 frames
  20. com.noelios.restlet
    ServerServlet.service
    1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
    2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
    3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:884)
    3 frames
  21. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  22. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
    2 frames
  23. org.jsecurity.web
    JSecurityFilter.doFilterInternal
    1. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
    2. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
    3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    6. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
    7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    10 frames
  24. Nexus Core
    NexusJSecurityFilter.doFilterInternal
    1. org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:76)
    1 frame
  25. org.jsecurity.web
    OncePerRequestFilter.doFilter
    1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    1 frame
  26. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    9. org.mortbay.jetty.Server.handle(Server.java:324)
    10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
    13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
    14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
    15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    15 frames
  27. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
    1 frame