java.util.concurrent.ExecutionException: java.lang.RuntimeException: Error when executing the GrepTask

GitHub | GoogleCodeExporter | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting this exception when the total time for search is longer . (i.e) grepping through 8 server and 24 files each

    GitHub | 1 year ago | GoogleCodeExporter
    java.util.concurrent.ExecutionException: java.lang.RuntimeException: Error when executing the GrepTask

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Pool not open

      at org.apache.commons.pool.BaseKeyedObjectPool.assertOpen()
    2. Commons Pool
      StackKeyedObjectPool.borrowObject
      1. org.apache.commons.pool.BaseKeyedObjectPool.assertOpen(BaseKeyedObjectPool.java:160)
      2. org.apache.commons.pool.impl.StackKeyedObjectPool.borrowObject(StackKeyedObjectPool.java:148)
      2 frames
    3. org.grep4j.core
      CommandExecutorTask.call
      1. org.grep4j.core.command.linux.JschCommandExecutor.execute(JschCommandExecutor.java:37)
      2. org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:35)
      3. org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:19)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      4. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      5. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      8. java.lang.Thread.run(Thread.java:619)
      8 frames