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

Event Listeners called before request handlers are informed of SolrCore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3
    • search
    • None

    Description

      http://www.nabble.com/Nullpointer-when-using-QuerySenderListener-to16201207.html

      Thijs noticed NullPointerException from SearchHandler on startup when trying to configure some firstSearcher events using QuerySenderListener.

      The problem is the events are getting triggered as soon as the firstSearcher is opened, but the SOlrCore isn't finished being initialized, so inform(SolrCore) hasn't been called on all the Handlers (and some handlers aren't fully initialized and ready to process requests yet.

      We need to more the firstSearcher event handling after inform has been called on all SolrCoreAware objects.

      Attachments

        1. SOLR-509-fix.patch
          4 kB
          Yonik Seeley
        2. SOLR-509-fix.patch
          2 kB
          Yonik Seeley
        3. SOLR-509.patch
          3 kB
          Grant Ingersoll
        4. SOLR-509.patch
          2 kB
          Koji Sekiguchi

        Activity

          People

            yseeley@gmail.com Yonik Seeley
            hossman Chris M. Hostetter
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: