Details
-
Type: Bug
-
Status: To-Do (View Workflow)
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: IGBfx
-
Labels:None
-
Story Points:0.25
-
Sprint:Sprint 38
Description
When I try to Reset Preferences in IGBfx, IGB is not exiting and I am getting the exception below:
2016-10-10 12:31:19,092 | INFO | plication Thread | OtherPreferences | 98 - org.lorainelab.igb.preferences.otheroptions - 0.0.1 | Reset preferences requested.
2016-10-10 12:31:19,094 | ERROR | plication Thread | PropertiesStorage | 97 - org.lorainelab.igb.preferences - 0.0.1 | The filename, directory name, or volume label syntax is incorrect
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)[:1.8.0_77]
at java.io.WinNTFileSystem.canonicalize(Unknown Source)[:1.8.0_77]
at java.io.File.getCanonicalPath(Unknown Source)[:1.8.0_77]
at java.io.File.getCanonicalFile(Unknown Source)[:1.8.0_77]
at com.google.common.io.Files.createParentDirs(Files.java:465)[65:com.google.guava:19.0.0]
at org.lorainelab.igb.preferences.PropertiesStorage.toPropertiesFile(PropertiesStorage.java:249)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.PropertiesStorage.load(PropertiesStorage.java:152)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.NbPreferences.properties(NbPreferences.java:264)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.NbPreferences.clearProperties(NbPreferences.java:296)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.NbPreferences.removeNode(NbPreferences.java:289)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.PreferenceUtils.clearAllPreferences(PreferenceUtils.java:42)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.otheroptions.OtherPreferences.lambda$null$11(OtherPreferences.java:41)[98:org.lorainelab.igb.preferences.otheroptions:0.0.1]
at java.util.Optional.ifPresent(Unknown Source)[:1.8.0_77]
at org.lorainelab.igb.preferences.otheroptions.OtherPreferences.lambda$null$12(OtherPreferences.java:39)[98:org.lorainelab.igb.preferences.otheroptions:0.0.1]
at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)[jfxrt.jar:]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_77]
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)[jfxrt.jar:]
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)[jfxrt.jar:]
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)[jfxrt.jar:]
at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)[jfxrt.jar:]
at java.lang.Thread.run(Unknown Source)[:1.8.0_77]
2016-10-10 12:31:19,095 | ERROR | plication Thread | NbPreferences | 97 - org.lorainelab.igb.preferences - 0.0.1 | C:\Users\Wilbur Wright\AppData\Roaming\IGB_FX\9.0\preferences\C:\Users\Wilbur Wright\AppData\Roaming\IGB_FX\9.0\preferences.properties (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: C:\Users\Wilbur Wright\AppData\Roaming\IGB_FX\9.0\preferences\C:\Users\Wilbur Wright\AppData\Roaming\IGB_FX\9.0\preferences.properties (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileInputStream.open0(Native Method)[:1.8.0_77]
at java.io.FileInputStream.open(Unknown Source)[:1.8.0_77]
at java.io.FileInputStream.<init>(Unknown Source)[:1.8.0_77]
at org.lorainelab.igb.preferences.PropertiesStorage.load(PropertiesStorage.java:155)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.NbPreferences.properties(NbPreferences.java:264)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.NbPreferences.clearProperties(NbPreferences.java:296)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.NbPreferences.removeNode(NbPreferences.java:289)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.PreferenceUtils.clearAllPreferences(PreferenceUtils.java:42)[97:org.lorainelab.igb.preferences:0.0.1]
at org.lorainelab.igb.preferences.otheroptions.OtherPreferences.lambda$null$11(OtherPreferences.java:41)[98:org.lorainelab.igb.preferences.otheroptions:0.0.1]
at java.util.Optional.ifPresent(Unknown Source)[:1.8.0_77]
at org.lorainelab.igb.preferences.otheroptions.OtherPreferences.lambda$null$12(OtherPreferences.java:39)[98:org.lorainelab.igb.preferences.otheroptions:0.0.1]
at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)[jfxrt.jar:]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_77]
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)[jfxrt.jar:]
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)[jfxrt.jar:]
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)[jfxrt.jar:]
at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)[jfxrt.jar:]
at java.lang.Thread.run(Unknown Source)[:1.8.0_77]
Exception in thread "JavaFX Application Thread" java.lang.UnsupportedOperationException: Can't remove the root!
at java.util.prefs.AbstractPreferences.removeNode(Unknown Source)
at org.lorainelab.igb.preferences.NbPreferences.removeNode(NbPreferences.java:290)
at org.lorainelab.igb.preferences.PreferenceUtils.clearAllPreferences(PreferenceUtils.java:42)
at org.lorainelab.igb.preferences.otheroptions.OtherPreferences.lambda$null$11(OtherPreferences.java:41)
at java.util.Optional.ifPresent(Unknown Source)
at org.lorainelab.igb.preferences.otheroptions.OtherPreferences.lambda$null$12(OtherPreferences.java:39)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
at java.lang.Thread.run(Unknown Source)