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

Lewis John McGibbney closed NUTCH-2852.
---------------------------------------

> Method invokes System.exit(...) 9 bugs
> --------------------------------------
>
>                 Key: NUTCH-2852
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2852
>             Project: Nutch
>          Issue Type: Sub-task
>    Affects Versions: 1.18
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Major
>             Fix For: 1.20
>
>
> org.apache.nutch.indexer.IndexingFiltersChecker since first historized release
> In class org.apache.nutch.indexer.IndexingFiltersChecker
> In method org.apache.nutch.indexer.IndexingFiltersChecker.run(String[])
> At IndexingFiltersChecker.java:[line 96]
> Another occurrence at IndexingFiltersChecker.java:[line 129]
> org.apache.nutch.indexer.IndexingFiltersChecker.run(String[]) invokes 
> System.exit(...), which shuts down the entire virtual machine
> Invoking System.exit shuts down the entire Java virtual machine. This should 
> only been done when it is appropriate. Such calls make it hard or impossible 
> for your code to be invoked by other code. Consider throwing a 
> RuntimeException instead.
> Also occurs in
>    org.apache.nutch.net.URLFilterChecker since first historized release
>    org.apache.nutch.net.URLNormalizerChecker since first historized release
>    org.apache.nutch.parse.ParseSegment since first historized release
>    org.apache.nutch.parse.ParserChecker since first historized release
>    org.apache.nutch.service.NutchServer since first historized release
>    org.apache.nutch.tools.CommonCrawlDataDumper since first historized release
>    org.apache.nutch.tools.DmozParser since first historized release
>    org.apache.nutch.util.AbstractChecker since first historized release 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to