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

add doc without uniqueKey field causes NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: