[
https://issues.apache.org/jira/browse/ANY23-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hans Brende resolved ANY23-188.
-------------------------------
Resolution: Cannot Reproduce
> NPE when ICBMExtractor#getDescription()#getExtractorLabel() called
> -------------------------------------------------------------------
>
> Key: ANY23-188
> URL: https://issues.apache.org/jira/browse/ANY23-188
> Project: Apache Any23
> Issue Type: Bug
> Components: core
> Affects Versions: 0.9.0
> Reporter: Lewis John McGibbney
> Priority: Major
> Fix For: 2.3
>
>
> You can reproduce this
> If you call the following code
> List<Extractor> extractors = eReport.getMatchingExtractors();
>
> if (extractors.isEmpty()) {
> System.out.print("\nValid Extractors: None.");
> } else {
> System.out.print("\nValid Extractors: " + extractors.size());
> for (org.apache.any23.extractor.Extractor<?> extractor : extractors) {
> extractor.getDescription().getExtractorName());
> extractor.getDescription().getExtractorLabel());
> ...
> It will throw a NPE for ICBMExtractor.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)