java.lang.RuntimeException: Error when executing the GrepTask

GitHub | GoogleCodeExporter | 1 year ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    com.jcraft.jsch.JSchException: Auth fail

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.RuntimeException: Error when executing the GrepTask
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 11#160697794

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.RuntimeException: Error when executing the GrepTask
  4. 0
    samebug tip
    Ant scp task has an attribute called trust. If set to false (default) the host you connect to has to be set in the knownhosts file (you might have to create it) Another way is to explicitly set "trust = true". Check the documentation: https://goo.gl/G5680x

  1. jf-ast 2 times, last 4 months ago
  2. jstrayer 3 times, last 5 months ago
  3. abrazeneb 1 times, last 9 months ago
97 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.jcraft.jsch.JSchException

    Auth fail

    at com.jcraft.jsch.Session.connect()
  2. JSch
    Session.connect
    1. com.jcraft.jsch.Session.connect(Session.java:491)
    2. com.jcraft.jsch.Session.connect(Session.java:162)
    2 frames
  3. org.grep4j.core
    SessionFactory.makeObject
    1. org.grep4j.core.command.linux.SessionFactory.makeObject(SessionFactory.java:37)
    2. org.grep4j.core.command.linux.SessionFactory.makeObject(SessionFactory.java:15)
    2 frames
  4. Commons Pool
    StackKeyedObjectPool.borrowObject
    1. org.apache.commons.pool.impl.StackKeyedObjectPool.borrowObject(StackKeyedObjectPool.java:165)
    1 frame
  5. 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
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(Unknown Source)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    3. java.util.concurrent.FutureTask.run(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    6. java.lang.Thread.run(Unknown Source)
    6 frames