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

add doc without uniqueKey field causes NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2
    • None
    • None

    Description

      as mentioned in email by otis...

      SimplePostTool: WARNING: Unexpected response from Solr: '<result
      status="1">java.lang.NullPointerException
      at org.apache.solr.schema.FieldType.storedToIndexed(FieldType.java:248)
      at org.apache.solr.update.UpdateHandler.getIndexedId(UpdateHandler.java:134)
      at
      org.apache.solr.update.DirectUpdateHandler2.overwriteBoth(DirectUpdateHandler2.java:380)
      ...

      Attachments

        1. SOLR-172-uniqueKey-NPE.patch
          11 kB
          Ryan McKinley
        2. SOLR-172-uniqueKey-NPE.patch
          11 kB
          Ryan McKinley

        Issue Links

          Activity

            People

              klaasm Mike Klaas
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: