You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Luca Cinquini (JIRA)" <ji...@apache.org> on 2013/06/19 20:18:20 UTC

[jira] [Resolved] (OODT-634) SolrCatalog throws Null Pointer Exception when no product is found

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

Luca Cinquini resolved OODT-634.
--------------------------------

    Resolution: Fixed

Fixed by properly returning null, as expected by the XmlRpcFileManager class.
                
> SolrCatalog throws Null Pointer Exception when no product is found
> ------------------------------------------------------------------
>
>                 Key: OODT-634
>                 URL: https://issues.apache.org/jira/browse/OODT-634
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.5
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.6
>
>
> The current implementation of SolrCatalog fails to return "null" if the desired product is not found in the catalog, rather it throws a NPE that propagates through the XML RPC client-server request. This makes checks on uniqueness by the crawler fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira