Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16730

NPE in SystemInfoHandler for inter-node requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.2
    • main (10.0), 9.3, 9.2.1
    • None
    • None

    Description

      This will happen when you are using PKIAuthenticationPlugin for internal requests and you use RuleBasedAuthorizationPlugin.

      java.lang.NullPointerException
              at org.apache.solr.handler.admin.SystemInfoHandler.getSecurityInfo(SystemInfoHandler.java:347)
              at org.apache.solr.handler.admin.SystemInfoHandler.handleRequestBody(SystemInfoHandler.java:155)
              at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:224)
              at org.apache.solr.handler.admin.InfoHandler.handle(InfoHandler.java:94)
              at org.apache.solr.handler.admin.InfoHandler.handleRequestBody(InfoHandler.java:82)
              at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:224)
              at org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:929)
              at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:877)
              at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:548)
              at org.apache.solr.servlet.SolrDispatchFilter.dispatch(SolrDispatchFilter.java:252)
              at org.apache.solr.servlet.SolrDispatchFilter.lambda$doFilter$0(SolrDispatchFilter.java:220)
              at org.apache.solr.servlet.ServletUtils.traceHttpRequestExecution2(ServletUtils.java:257)
              at org.apache.solr.servlet.ServletUtils.rateLimitRequest(ServletUtils.java:227)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:215)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:197)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:210)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1383)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
              at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
              at org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:228)
              at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
      

      Attachments

        Issue Links

          Activity

            People

              tflobbe Tomas Eduardo Fernandez Lobbe
              tflobbe Tomas Eduardo Fernandez Lobbe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m