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

Fix NPE during creating snapshot and clean up code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • replication (java)
    • None

    Description

      If there is no new document added since the last snapshot is created, the request solr/replication?command=snapshoot
      a NPE is thrown

       
      
      <?xml version="1.0" encoding="UTF-8"?> 
      <response> 
      <lst name="responseHeader">
      <int name="status">0</int>
      <int name="QTime">8</int>
      </lst>
      <str name="exception">java.lang.NullPointerException:java.lang.NullPointerException</str> 
      </response> 
      

      mail thread: http://markmail.org/thread/kthwzs7kgd3ino5t

      Attachments

        1. SOLR-1141.patch
          0.8 kB
          Shalin Shekhar Mangar
        2. SOLR-1141.patch
          3 kB
          Shalin Shekhar Mangar
        3. SOLR-1141.patch
          9 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            noble.paul Noble Paul
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: