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

Fix NPE during creating snapshot and clean up code

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: replication (java)
    • Labels:
      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
          9 kB
          Shalin Shekhar Mangar
        2. SOLR-1141.patch
          3 kB
          Shalin Shekhar Mangar
        3. SOLR-1141.patch
          0.8 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              noble.paul Noble Paul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: