java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I run {{jenkins.war}} and create a JNLP slave. I click _Launch_ and download the {{slave-agent.jnlp}} file. From a shell, I run {{javaws slave-agent.jnlp}}. (Starting it from the browser does not work in my case, perhaps due to the browser not finding the right version of {{javaws}}.) The slave agent starts up fine and is connected. Now I restart Jenkins. Suddenly the regular slave window closed, to be replaced by a Web Start dialog bq. Unable to launch the application. The (wrapped) exception is as follows: {code:none} java.io.FileNotFoundException: /tmp/javawogPqsh (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) {code} I am not sure what this means; the JNLP process was already launched before, so it should not be trying to launch it again, just make a new connection. Perhaps the slave agent (this is Remoting 2.47) is attempting to restart the entire JVM? Via {{UnixSlaveRestarter}}? The same problem occurs if I use {code:none} javaws http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} without using the browser, so it is not simply a problem of the browser discarding a temporary file. But {code:none} java -jar slave.jar -jnlpUrl http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} works fine: the agent retries the connection after ten seconds as expected.
    via by Jesse Glick,
  • I run {{jenkins.war}} and create a JNLP slave. I click _Launch_ and download the {{slave-agent.jnlp}} file. From a shell, I run {{javaws slave-agent.jnlp}}. (Starting it from the browser does not work in my case, perhaps due to the browser not finding the right version of {{javaws}}.) The slave agent starts up fine and is connected. Now I restart Jenkins. Suddenly the regular slave window closed, to be replaced by a Web Start dialog bq. Unable to launch the application. The (wrapped) exception is as follows: {code:none} java.io.FileNotFoundException: /tmp/javawogPqsh (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) {code} I am not sure what this means; the JNLP process was already launched before, so it should not be trying to launch it again, just make a new connection. Perhaps the slave agent (this is Remoting 2.47) is attempting to restart the entire JVM? Via {{UnixSlaveRestarter}}? The same problem occurs if I use {code:none} javaws http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} without using the browser, so it is not simply a problem of the browser discarding a temporary file. But {code:none} java -jar slave.jar -jnlpUrl http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} works fine: the agent retries the connection after ten seconds as expected.
    via by Jesse Glick,
  • I start the slave agent with downloaded jnlp file and javaws, because I am running iOS automation and that is a must. The problem is that the slave agent disconnects from the master several times a day, and sometimes during the test was running. This is extremely problematic and makes our pipeline very unstable. The error log is almost the same with Issue JENKINS-25490, but I can be sure that this is neither a duplicate of that nor Issue JENKINS-24272, because in 1.599 those should have already been fixed. Besides, my master was not restarting. The slave just dropped. Here is the log at the slave agent {code} CouldNotLoadArgumentException[ Could not load file/URL specified: /tmp/javawJ3YZLo] at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Wrapped Exception: java.io.FileNotFoundException: /var/tmp/javawbNh76b (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) {code}
    via by JY Hsu,
  • I start the slave agent with downloaded jnlp file and javaws, because I am running iOS automation and that is a must. The problem is that the slave agent disconnects from the master several times a day, and sometimes during the test was running. This is extremely problematic and makes our pipeline very unstable. The error log is almost the same with Issue JENKINS-25490, but I can be sure that this is neither a duplicate of that nor Issue JENKINS-24272, because in 1.599 those should have already been fixed. Besides, my master was not restarting. The slave just dropped. Here is the log at the slave agent {code} CouldNotLoadArgumentException[ Could not load file/URL specified: /tmp/javawJ3YZLo] at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Wrapped Exception: java.io.FileNotFoundException: /var/tmp/javawbNh76b (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) {code}
    via by JY Hsu,
  • Since the former major LTS release I experience a kinda problematic problem with our Jenkins instance. Whenever the master is stopped (shutdown) with active connections to slaves, the JLNP client on the slaves stops working with the message: "Unable to launch the application". This was not the case before, so the client application was still running and reconnected once the master was back online. With the current behavior I have to step through all the >60 slave nodes, and start the JLNP client manually. Steps: 1. Download Jenkins 1.580.1 and run it 2. Setup a dumb slave via Java Web Start 3. Connect the slave via the same machine 4. Stop the master After step 4 the JLNP client should stay open, waiting for the master being online again. But it fails with the above message and the following stack: {code} Exception: CouldNotLoadArgumentException[ Could not load file/URL specified: /tmp/javawJ3YZLo] at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:744) Wrapped Exception: java.io.FileNotFoundException: /tmp/javawJ3YZLo (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:744) {code}
    via by Henrik Skupin,
    • java.io.FileNotFoundException: /tmp/javawogPqsh (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main.access$000(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    MichaelMichael
    1 times, last one,
    ChristopherChristopher
    5 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    rprp
    1 times, last one,
    180 more bugmates