lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-841) DataImportHandler uses configuration without checking for existence of required attributes
Date Thu, 11 Dec 2008 09:37:44 GMT

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

Shalin Shekhar Mangar updated SOLR-841:
---------------------------------------

    Attachment: SOLR-841.patch

With this patch, DataImportHandler throws an exception if a field does not have a column attribute.

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


Mime
View raw message