java.io.FileNotFoundException: C:\Documents and Settings\myuser\.hudson\trayapp\preferences (The system cannot find the path specified)

Jenkins JIRA | hmonteiro | 7 years ago
  1. 0

    When starting the Tray App, it crashes with an "Application Error" Window. Application Error: 1)Launch file: --- copy/paste --- <?xml version="1.0" encoding="UTF-8"?><jnlp codebase="http://192.168.1.1:8082/hudson/plugin/hudsontrayapp/"><information><title>Hudson Tray Application</title><vendor>David Hayes</vendor><offline-allowed/></information><security><all-permissions/></security><resources><jar href="HudsonTrayApp.jar" main="true" download="eager"/><j2se version="1.6+" initial-heap-size="32m" max-heap-size="32m"/><j2se version="1.5" initial-heap-size="32m" max-heap-size="32m"><resources><extension name="jdic" href="jdic"/></resources></j2se><j2se version="1.4" initial-heap-size="32m" max-heap-size="32m"><resources><extension name="jdic" href="jdic"/></resources></j2se></resources><application-desc main-class="org.hudson.trayapp.HudsonTrayApp"><argument>server=http://192.168.1.1:8082/hudson/</argument></application-desc></jnlp> --- end copy/paste --- 2)Exception: --- copy/paste --- java.lang.NullPointerException at org.hudson.trayapp.gui.tray.TrayIconImplementation.displayException(TrayIconImplementation.java:36) at org.hudson.trayapp.model.Server.isHudsonBuild173orGreater(Server.java:294) at org.hudson.trayapp.model.Server.update(Server.java:70) at org.hudson.trayapp.model.Server.<init>(Server.java:45) at org.hudson.trayapp.model.Model.addServer(Model.java:65) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:75) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) --- end copy/paste --- 3)Console: --- copy/paste --- java.io.FileNotFoundException: C:\Documents and Settings\myuser\.hudson\trayapp\preferences (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:65) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) #### Java Web Start Error: #### null --- end copy/paste --- NOTE: Hudson configuration doesn't allow jobs to be viewed by anonymous users. So you have to login in order to view anything at all. Following the link present in XML dump (logged in), the output is: --- copy/paste --- Status Code: 404 Exception: Stacktrace: (none) -------------------------------------------------------------------------------- Generated by Winstone Servlet Engine v0.9.10 at Tue Feb 09 11:14:23 WET 2010 --- end copy/paste --- Another issue I noticed, that could have to do with this problem is, although I'm not loged in hudson, the "Launch Tray App" link in the left menu still appears, but the image is not loaded. Following the image link access is denied because I'm not authenticated to load it.

    Jenkins JIRA | 7 years ago | hmonteiro
    java.io.FileNotFoundException: C:\Documents and Settings\myuser\.hudson\trayapp\preferences (The system cannot find the path specified)
  2. 0

    When starting the Tray App, it crashes with an "Application Error" Window. Application Error: 1)Launch file: --- copy/paste --- <?xml version="1.0" encoding="UTF-8"?><jnlp codebase="http://192.168.1.1:8082/hudson/plugin/hudsontrayapp/"><information><title>Hudson Tray Application</title><vendor>David Hayes</vendor><offline-allowed/></information><security><all-permissions/></security><resources><jar href="HudsonTrayApp.jar" main="true" download="eager"/><j2se version="1.6+" initial-heap-size="32m" max-heap-size="32m"/><j2se version="1.5" initial-heap-size="32m" max-heap-size="32m"><resources><extension name="jdic" href="jdic"/></resources></j2se><j2se version="1.4" initial-heap-size="32m" max-heap-size="32m"><resources><extension name="jdic" href="jdic"/></resources></j2se></resources><application-desc main-class="org.hudson.trayapp.HudsonTrayApp"><argument>server=http://192.168.1.1:8082/hudson/</argument></application-desc></jnlp> --- end copy/paste --- 2)Exception: --- copy/paste --- java.lang.NullPointerException at org.hudson.trayapp.gui.tray.TrayIconImplementation.displayException(TrayIconImplementation.java:36) at org.hudson.trayapp.model.Server.isHudsonBuild173orGreater(Server.java:294) at org.hudson.trayapp.model.Server.update(Server.java:70) at org.hudson.trayapp.model.Server.<init>(Server.java:45) at org.hudson.trayapp.model.Model.addServer(Model.java:65) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:75) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) --- end copy/paste --- 3)Console: --- copy/paste --- java.io.FileNotFoundException: C:\Documents and Settings\myuser\.hudson\trayapp\preferences (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:65) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) #### Java Web Start Error: #### null --- end copy/paste --- NOTE: Hudson configuration doesn't allow jobs to be viewed by anonymous users. So you have to login in order to view anything at all. Following the link present in XML dump (logged in), the output is: --- copy/paste --- Status Code: 404 Exception: Stacktrace: (none) -------------------------------------------------------------------------------- Generated by Winstone Servlet Engine v0.9.10 at Tue Feb 09 11:14:23 WET 2010 --- end copy/paste --- Another issue I noticed, that could have to do with this problem is, although I'm not loged in hudson, the "Launch Tray App" link in the left menu still appears, but the image is not loaded. Following the image link access is denied because I'm not authenticated to load it.

    Jenkins JIRA | 7 years ago | hmonteiro
    java.io.FileNotFoundException: C:\Documents and Settings\myuser\.hudson\trayapp\preferences (The system cannot find the path specified)
  3. 0

    I have installed the plugin and trying to use launch the application from windows and I am getting the following exception. --------------------------------------------------- java.io.FileNotFoundException: C:\Documents and Settings\schamarthi\.hudson\trayapp\preferences (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:65) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.NoClassDefFoundError: org/jdesktop/jdic/tray/TrayIcon at org.hudson.trayapp.gui.tray.JDICTrayIcon.<init>(JDICTrayIcon.java:22) at org.hudson.trayapp.gui.Tray.<init>(Tray.java:50) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:82) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) #### Java Web Start Error: #### null

    Jenkins JIRA | 8 years ago | chamarts
    java.io.FileNotFoundException: C:\Documents and Settings\schamarthi\.hudson\trayapp\preferences (Access is denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have installed the plugin and trying to use launch the application from windows and I am getting the following exception. --------------------------------------------------- java.io.FileNotFoundException: C:\Documents and Settings\schamarthi\.hudson\trayapp\preferences (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:65) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.NoClassDefFoundError: org/jdesktop/jdic/tray/TrayIcon at org.hudson.trayapp.gui.tray.JDICTrayIcon.<init>(JDICTrayIcon.java:22) at org.hudson.trayapp.gui.Tray.<init>(Tray.java:50) at org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:82) at org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47) at org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) #### Java Web Start Error: #### null

    Jenkins JIRA | 8 years ago | chamarts
    java.io.FileNotFoundException: C:\Documents and Settings\schamarthi\.hudson\trayapp\preferences (Access is denied)
  6. 0

    JMeter - User - File Upload failure

    nabble.com | 6 months ago
    java.io.FileNotFoundException: file1.doc (The system cannot find the file specified)

  1. gehel 2 times, last 1 week ago
  2. Kialandei 100 times, last 1 week ago
  3. Reich 1 times, last 2 weeks ago
  4. bluebunnty 1 times, last 2 weeks ago
  5. Aria Pahlavan 1 times, last 2 weeks ago
43 more registered users
52 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. java.io.FileNotFoundException

    C:\Documents and Settings\myuser\.hudson\trayapp\preferences (The system cannot find the path specified)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(Unknown Source)
    3. java.io.FileInputStream.<init>(Unknown Source)
    3 frames
  3. org.hudson.trayapp
    HudsonTrayApp.main
    1. org.hudson.trayapp.HudsonTrayApp.<init>(HudsonTrayApp.java:65)
    2. org.hudson.trayapp.HudsonTrayApp.getHudsonTrayAppInstance(HudsonTrayApp.java:47)
    3. org.hudson.trayapp.HudsonTrayApp.main(HudsonTrayApp.java:39)
    3 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  5. com.sun.javaws
    Launcher.run
    1. com.sun.javaws.Launcher.executeApplication(Unknown Source)
    2. com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    3. com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    4. com.sun.javaws.Launcher.run(Unknown Source)
    4 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame