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

DataImportHandler uses configuration without checking for existence of required attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.4
    • None
    • Tomcat 6, jdk 6u10

    Description

      The DataImportHandler's XPathEntityProcessor throws a NullPointerException when it tries to process a row from an XML data source during a "full-import", both in the dataimport.jsp debugger and when started as a normal request. The null pointer is thrown when a <field> tag in the <fields><field ... /> ... </fields> section of data-config.xml has no "column" attribute.

      Example:

      <field name="entity_id" ... /> which should have been <field column="entity_id" .../>

      Attachments

        1. SOLR-841.patch
          0.9 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            mhenson Michael Henson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: