Carrot2

RejectedExecutionException when running all document source tests in a batch

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.0
  • Fix Version/s: 3.0
  • Component/s: Document Sources
  • Labels:
    None

Description

The following exception is thrown when running all tests in a batch (also on daily builds: http://builds.carrot2.org/browse/C3INPUTS-DAILY-220). When running separate tests, everything is fine.

org.carrot2.core.ProcessingException
at org.carrot2.source.MultipageSearchEngine.runQuery(Unknown Source)
at org.carrot2.source.MultipageSearchEngine.process(Unknown Source)
at org.carrot2.source.microsoft.MicrosoftLiveDocumentSource.process(Unknown Source)
at org.carrot2.core.ControllerUtils.performProcessing(Unknown Source)
at org.carrot2.core.ControllerUtils.performProcessing(Unknown Source)
at org.carrot2.core.ControllerUtils.performProcessing(Unknown Source)
at org.carrot2.core.SimpleController.process(Unknown Source)
at org.carrot2.core.SimpleController.process(Unknown Source)
at org.carrot2.core.test.DocumentSourceTestBase.runQuery(Unknown Source)
at org.carrot2.core.test.DocumentSourceTestBase.runQuery(Unknown Source)
at org.carrot2.core.test.DocumentSourceTestBase.runQuery(Unknown Source)
at org.carrot2.core.test.QueryableDocumentSourceTestBase.runAndCheckNoResultsQuery(Unknown Source)
at org.carrot2.core.test.MultipageDocumentSourceTestBase.__CLR2_3_2kryoaz2kl(Unknown Source)
at org.carrot2.core.test.MultipageDocumentSourceTestBase.testSpeculativeMode(Unknown Source)
at org.junitext.internal.runners.AnnotationHandlingTestClassMethodsRunner$1.run(Unknown Source)
Caused by: java.util.concurrent.RejectedExecutionException
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1759)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
at java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:200)

Issue Links

Activity

Hide
Dawid Weiss added a comment -

Fixed in trunk.

Show
Dawid Weiss added a comment - Fixed in trunk.
Hide
Dawid Weiss added a comment -

Related to prematurely closed executors. No longer applicable after the refactoring.

Show
Dawid Weiss added a comment - Related to prematurely closed executors. No longer applicable after the refactoring.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: