[
https://issues.apache.org/jira/browse/SOLR-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645977#action_12645977
]
Noble Paul commented on SOLR-841:
---------------------------------
on any field 'column' is a required attribute. name is optional. If name is
absent it is assumed to be same as column
> 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.