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

IndexInfoRequestHandler NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      When you get the index info for an index with fields not in the schema, you get an NPE. Here is the culprit:
      [51] FieldType fieldType = schema.getFieldTypeNoEx(fieldName);
      [52] fieldInfo.put("type", fieldType.getTypeName());

      Attachments

        1. SOLR-157-IndexInfoNPE.patch
          3 kB
          Ryan McKinley

        Activity

          People

            ehatcher Erik Hatcher
            ryantxu Ryan McKinley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: