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 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
    via by chamarts,
  • 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
    via by chamarts,
  • 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.
    via by hmonteiro,
  • 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.
    via by hmonteiro,
  • JMeter - User - File Upload failure
    via by Unknown author,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    krisztian.puska
    54 times, last one,
    179 more bugmates