You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/12/11 10:41:44 UTC

[jira] Resolved: (SOLR-841) DataImportHandler uses configuration without checking for existence of required attributes

     [ https://issues.apache.org/jira/browse/SOLR-841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-841.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4
         Assignee: Shalin Shekhar Mangar

Committed revision 725635.

Thanks for reporting this Michael!

> 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
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-841.patch
>
>
> 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.