JGBE will not operate when the local user does not have permission to write to certain folders
GoogleCodeExporter opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Start JGBE on a computer that has it's C:\Users\username directory locked
2. Attempt to enter keybinds
3. Attempt to open a ROM
What is the expected output? What do you see instead?
Keybind config screen opens as expected. Upon finishing configuration, the
user is alerted that their keybinds could not be saved. When clicking the
"Load File" button, there is a short pause before the file selection window
opens. Upon selecting the ROM, the emulator spits out the error shown under
"additional information" below. There is no setting to change the directory
that JGBE uses, nor is there any warning to the user about what is happening.
What version of the product are you using? On what operating system?
v752-b1 on Windows 7
Please provide any additional information below.
Type of error: "java.lang.NullPointerException"
Stacktrace:
swinggui.updateSaveStateOrder(swinggui.java:1808)
swinggui.tryToLoadROM(swinggui.java:1830)
swinggui.actionPerformed(swinggui.java:1190)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(Unknown Source)
javax.swing.SwingUtilities.notifyAction(Unknown Source)
javax.swing.JComponent.processKeyBinding(Unknown Source)
javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)
javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)
javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)
javax.swing.JMenuBar.processKeyBinding(Unknown Source)
javax.swing.KeyboardManager.fireBinding(Unknown Source)
javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
javax.swing.JComponent.processKeyBindings(Unknown Source)
javax.swing.JComponent.processKeyEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$200(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)
Original issue reported on code.google.com by pihe...@gmail.com
on 21 May 2015 at 3:45