No save or settings screen

34 views
Skip to first unread message

dirkdejager

unread,
Oct 15, 2009, 5:14:32 AM10/15/09
to JDarkRoom
Hi,

Just to say v14 is great, I can use it so long as I enter the text
file I wish to edit on the command line, but whenever I try and access
the save or setting screens (by pressing F1,F3 or F6), I get a blank
screen with no available options. The help screen (F5) works fine. I
am using Linux Debian squeeze/sid 2.6.30-1-686 (Unstable) with Java
build 1.6.0_05-b13.

Also, I am not sure if the errors are connected, but if I do open a
NEW text file (No exception when using a previous file) from the
command line (java -jar JDarkroom.jar random.txt) , and try and save
it by pressing F2, it throws this exception, but still saves the file:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jdarkroom.ui.JDFrame.saveFile(JDFrame.java:1155)
at jdarkroom.ui.JDFrame.handleKeyEvent(JDFrame.java:726)
at jdarkroom.ui.JDFrame.access$600(JDFrame.java:78)
at jdarkroom.ui.JDFrame$4.keyPressed(JDFrame.java:606)
at java.awt.Component.processKeyEvent(Component.java:5999)
at javax.swing.JComponent.processKeyEvent(JComponent.java:
2799)
at jdarkroom.ui.JDFrame$3.processKeyEvent(JDFrame.java:563)
at java.awt.Component.processEvent(Component.java:5818)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.KeyboardFocusManager.redispatchEvent
(KeyboardFocusManager.java:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent
(DefaultKeyboardFocusManager.java:697)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent
(DefaultKeyboardFocusManager.java:962)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions
(DefaultKeyboardFocusManager.java:834)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent
(DefaultKeyboardFocusManager.java:661)
at java.awt.Component.dispatchEventImpl(Component.java:4285)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:
121)
Reply all
Reply to author
Forward
0 new messages