steveonjava / widgetfx

Automatically exported from code.google.com/p/widgetfx
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

java.io.FileNotFoundException: C:\Users\samir\Start Menu\Programs\Startup\WidgetFX.lnk #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable the java console output
2. Start Widget from website www.widget.org
3. The exceptino will be appear on Windows Vista , because directory
is not default on Vista

What is the expected output? What do you see instead?
Configuration directory location is: "C:\Users\samir\.WidgetFX"
14/07/2009 15:31:47 org.widgetfx.install.InstallUtil copyStartupFile
SEVERE: null
java.io.FileNotFoundException: C:\Users\samir\Start
Menu\Programs\Startup\WidgetFX.lnk (O sistema não pode encontrar o caminho
especificado)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.widgetfx.install.InstallUtil.copyStartupFile(InstallUtil.java:63)
    at org.widgetfx.ui.DockDialog$_SBECL.onChange(DockDialog.fx:137)
    at com.sun.javafx.runtime.location.BooleanVariable.notifyListeners(Unknown
Source)
    at com.sun.javafx.runtime.location.BooleanVariable.replaceValue(Unknown
Source)
    at com.sun.javafx.runtime.location.BooleanVariable.setAsBoolean(Unknown
Source)
    at
org.widgetfx.ui.DockDialog.set$org$widgetfx$ui$DockDialog$launchOnStartup(DockDi
alog.fx:135)
    at org.widgetfx.ui.DockDialog.applyDefaults$(DockDialog.fx:135)
    at org.widgetfx.ui.DockDialog.createInstance(DockDialog.fx:67)
    at org.widgetfx.Main.javafx$run$(Main.fx:49)
    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.javafx.runtime.provider.GUIRuntimeProvider$1.run(Unknown Source)
    at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Resource not cached
Resource not cached
Resource not cached
Starting WidgetFX server on port 34900
********************************************

What version of the product are you using? On what operating system?
Widget 1.2 , Windows Vista SP 3

Please provide any additional information below.
Java Web Start 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Users\samir

Original issue reported on code.google.com by samiriss...@gmail.com on 14 Jul 2009 at 6:46

GoogleCodeExporter commented 9 years ago
I've merged this issue into a new one that consolidates all the Launch on 
Startup issues.

Original comment by ke...@widgetfx.org on 29 Jul 2009 at 5:08