java.lang.NullPointerException

Sonatype JIRA | Marvin Herman Froeder | 8 years ago
  1. 0

    Looks like nexus is trying to index shadow repos. Run Nexus642SynchShadowTaskTest to taste it. Got the following exception: 2009-05-06 15:33:16 ERROR [al/repositories] - o.s.n.r.NexusApplic~ - Unhandled exception or error intercepted java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.setRepositoryIndexContextSearchable(DefaultIndexerManager.java:337) at org.sonatype.nexus.DefaultNexus.createRepository(DefaultNexus.java:304) at org.sonatype.nexus.rest.repositories.RepositoryListPlexusResource.post(RepositoryListPlexusResource.java:88) at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:281) 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.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: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.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:173) 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:320) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) 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)

    Sonatype JIRA | 8 years ago | Marvin Herman Froeder
    java.lang.NullPointerException
  2. 0

    Looks like nexus is trying to index shadow repos. Run Nexus642SynchShadowTaskTest to taste it. Got the following exception: 2009-05-06 15:33:16 ERROR [al/repositories] - o.s.n.r.NexusApplic~ - Unhandled exception or error intercepted java.lang.NullPointerException at org.sonatype.nexus.index.DefaultIndexerManager.setRepositoryIndexContextSearchable(DefaultIndexerManager.java:337) at org.sonatype.nexus.DefaultNexus.createRepository(DefaultNexus.java:304) at org.sonatype.nexus.rest.repositories.RepositoryListPlexusResource.post(RepositoryListPlexusResource.java:88) at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:281) 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.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: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.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:173) 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:320) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) 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)

    Sonatype JIRA | 8 years ago | Marvin Herman Froeder
    java.lang.NullPointerException
  3. 0

    I got this exception by trying to setup nexus to point at my local repo...i defined an override storage location of file://d:/mavenrepo jvm 1 | 2008-07-09 20:49:27,029 INFO [org.sonatype.nexus.proxy.registry.RepositoryRegistry:default] - Added repository ID=local (contentClass=maven2) jvm 1 | 2008-07-09 20:49:27,031 INFO [org.sonatype.nexus.configuration.NexusConfiguration:default] - Applyi ng Nexus Configuration... jvm 1 | Jul 9, 2008 8:49:27 PM com.noelios.restlet.StatusFilter getStatus jvm 1 | SEVERE: Unhandled exception or error intercepted jvm 1 | java.lang.NullPointerException jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.setRepositoryIndexContextSearchable(DefaultI ndexerManager.java:324) jvm 1 | at org.sonatype.nexus.DefaultNexus.createRepository(DefaultNexus.java:438) jvm 1 | at org.sonatype.nexus.rest.repositories.RepositoryListResourceHandler.post(RepositoryListResou rceHandler.java:224) jvm 1 | at org.restlet.resource.Resource.handlePost(Resource.java:484) jvm 1 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandle r.java:348) jvm 1 | at org.restlet.Finder.handle(Finder.java:297) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Guard.accept(Guard.java:83) jvm 1 | at org.restlet.Guard.doHandle(Guard.java:198) jvm 1 | at org.sonatype.nexus.rest.NexusAuthenticationGuard.doHandle(NexusAuthenticationGuard.java:100 ) jvm 1 | at org.sonatype.nexus.rest.NexusWriteAccessAuthenticationGuard.doHandle(NexusWriteAccessAuthen ticationGuard.java:60) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Router.handle(Router.java:445) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Guard.accept(Guard.java:83) jvm 1 | at org.restlet.Guard.doHandle(Guard.java:198) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Router.handle(Router.java:445) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) jvm 1 | at org.restlet.Application.handle(Application.java:294) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Router.handle(Router.java:445) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Router.handle(Router.java:445) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at org.restlet.Filter.doHandle(Filter.java:105) jvm 1 | at org.restlet.Filter.handle(Filter.java:135) jvm 1 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) jvm 1 | at org.restlet.Component.handle(Component.java:231) jvm 1 | at org.restlet.Server.handle(Server.java:282)

    Sonatype JIRA | 8 years ago | Brian Fox
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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 org.sonatype.nexus.index.DefaultIndexerManager.setRepositoryIndexContextSearchable()
    2. Sonatype Nexus Indexer
      DefaultIndexerManager.setRepositoryIndexContextSearchable
      1. org.sonatype.nexus.index.DefaultIndexerManager.setRepositoryIndexContextSearchable(DefaultIndexerManager.java:337)
      1 frame
    3. ${project.groupId}:${project.artifactId}
      DefaultNexus.createRepository
      1. org.sonatype.nexus.DefaultNexus.createRepository(DefaultNexus.java:304)
      1 frame
    4. Nexus Core
      RepositoryListPlexusResource.post
      1. org.sonatype.nexus.rest.repositories.RepositoryListPlexusResource.post(RepositoryListPlexusResource.java:88)
      1 frame
    5. ${project.groupId}:${project.artifactId}
      RestletResource.acceptRepresentation
      1. org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:281)
      1 frame
    6. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.post(Resource.java:688)
      2. org.restlet.resource.Resource.handlePost(Resource.java:537)
      2 frames
    7. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:357)
      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)
      10. org.restlet.Filter.doHandle(Filter.java:150)
      10 frames
    8. ${project.groupId}:${project.artifactId}
      RetargetableRestlet.doHandle
      1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
      1 frame
    9. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Filter.doHandle(Filter.java:150)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Filter.doHandle(Filter.java:150)
      6 frames
    10. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      1 frame
    11. 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
    12. 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
    13. org.restlet
      Application.handle
      1. org.restlet.Application.handle(Application.java:341)
      1 frame
    14. org.restlet.ext
      WadlApplication.handle
      1. org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
      1 frame
    15. org.restlet
      Filter.handle
      1. org.restlet.Filter.doHandle(Filter.java:150)
      2. org.restlet.Filter.handle(Filter.java:195)
      3. org.restlet.Router.handle(Router.java:504)
      4. org.restlet.Filter.doHandle(Filter.java:150)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Router.handle(Router.java:504)
      7. org.restlet.Filter.doHandle(Filter.java:150)
      8. org.restlet.Filter.handle(Filter.java:195)
      8 frames
    16. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      1 frame
    17. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:673)
      2. org.restlet.Server.handle(Server.java:331)
      2 frames
    18. 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
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    20. 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
    21. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:173)
      1 frame
    22. 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:320)
      10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      11. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
      12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
      13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
      14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      15 frames
    23. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      1 frame