java.lang.RuntimeException: Error when executing the GrepTask

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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

Solutions on the web

via GitHub by GoogleCodeExporter
, 1 year ago
Error when executing the GrepTask
via GitHub by GoogleCodeExporter
, 1 year ago
Error when executing the GrepTask
com.jcraft.jsch.JSchException: Auth cancel
at com.jcraft.jsch.Session.connect(Session.java:490)
at com.jcraft.jsch.Session.connect(Session.java:162)
at org.grep4j.core.command.linux.SessionFactory.makeObject(SessionFactory.java:37)
at org.grep4j.core.command.linux.SessionFactory.makeObject(SessionFactory.java:15)
at org.grep4j.core.command.linux.JschCommandExecutor.execute(JschCommandExecutor.java:37)
at org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:35)
at org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:19)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

2 times, 1 month ago
10 times, 11 months ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.