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 2012/11/02 00:20:12 UTC

[jira] [Created] (OODT-530) MetExtractorProductCrawler gives NPE when wired with more than one preconditions

Luca Cinquini created OODT-530:
----------------------------------

             Summary: MetExtractorProductCrawler gives NPE when wired with more than one preconditions
                 Key: OODT-530
                 URL: https://issues.apache.org/jira/browse/OODT-530
             Project: OODT
          Issue Type: Bug
          Components: crawler
    Affects Versions: 0.4
            Reporter: Luca Cinquini
             Fix For: 0.5


When the MetExtractorProductCrawler is configured with more than one pre-conditions, the Spring framework cannot initialize the bean because the List is null, resulting in NPE

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

[jira] [Resolved] (OODT-530) MetExtractorProductCrawler gives NPE when wired with more than one preconditions

Posted by "Luca Cinquini (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Cinquini resolved OODT-530.
--------------------------------

    Resolution: Fixed
      Assignee: Luca Cinquini

This problem can be fixed by simply initializing the list:


 private List<String> preCondIds = new ArrayList<String>();

                
> MetExtractorProductCrawler gives NPE when wired with more than one preconditions
> --------------------------------------------------------------------------------
>
>                 Key: OODT-530
>                 URL: https://issues.apache.org/jira/browse/OODT-530
>             Project: OODT
>          Issue Type: Bug
>          Components: crawler
>    Affects Versions: 0.4
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.5
>
>
> When the MetExtractorProductCrawler is configured with more than one pre-conditions, the Spring framework cannot initialize the bean because the List is null, resulting in NPE

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