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

  1. ,

    Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.

  2. ,

    Use the relative path when providing the location of the file. Place the file in the project folder and access it according to the hierarchy. If you want to access a file outside the project folder, provide the absolute path.

Solutions on the web

via Jenkins JIRA by Marcus Better, 1 year ago
com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory)
via Jenkins JIRA by Marcus Better, 2 years ago
com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory)
com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection.<init>(SshConnection.java:77) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.connect(GerritHandler.java:234) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler.run(GerritHandler.java:160)Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) at com.jcraft.jsch.JSch.addIdentity(JSch.java:206) at com.jcraft.jsch.JSch.addIdentity(JSch.java:200) at com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection.<init>(SshConnection.java:69) ... 2 moreCaused by: java.io.FileNotFoundException: /home/marcus/.ssh/id_rsa (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at java.io.FileInputStream.<init>(FileInputStream.java:96) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) ... 5 more