lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Henson (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-841) DataImportHandler uses configuration without checking for existence of required attributes
Date Sat, 08 Nov 2008 12:04:44 GMT
DataImportHandler uses configuration without checking for existence of required attributes
------------------------------------------------------------------------------------------

                 Key: SOLR-841
                 URL: https://issues.apache.org/jira/browse/SOLR-841
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
    Affects Versions: 1.4
         Environment: Tomcat 6, jdk 6u10
            Reporter: Michael Henson
            Priority: Minor


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" .../>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message