You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2006/10/13 15:58:42 UTC
[jira] Commented: (HARMONY-1867) [swing][jEdit] NPE in
BasicRootPaneUI$DefaultButtonAction after pressing "Enter" in jEdit
[ http://issues.apache.org/jira/browse/HARMONY-1867?page=comments#action_12442031 ]
Alexey Petrenko commented on HARMONY-1867:
------------------------------------------
I've found a fix but could not minimize test case yet...
> [swing][jEdit] NPE in BasicRootPaneUI$DefaultButtonAction after pressing "Enter" in jEdit
> -----------------------------------------------------------------------------------------
>
> Key: HARMONY-1867
> URL: http://issues.apache.org/jira/browse/HARMONY-1867
> Project: Harmony
> Issue Type: Bug
> Components: Classlib, App-Oriented Bug Reports
> Environment: jEdit 4.2 final
> Reporter: Alexey Petrenko
>
> Steps to reproduce:
> Run jEdit and press "Enter" button in text editing area. The following exceptions will be thrown:
> [error] AWT-EventDispatchThread: java.lang.NullPointerException
> [error] AWT-EventDispatchThread: at javax.swing.plaf.basic.BasicRootPaneUI$DefaultButtonAction.isEnabled(BasicRootPaneUI.java:70)
> [error] AWT-EventDispatchThread: at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:457)
> [error] AWT-EventDispatchThread: at javax.swing.JComponent.processKeyBinding(JComponent.java:588)
> [error] AWT-EventDispatchThread: at javax.swing.JComponent.processKeyBindings(JComponent.java:783)
> [error] AWT-EventDispatchThread: at javax.swing.JComponent.processKeyEvent(JComponent.java:765)
> [error] AWT-EventDispatchThread: at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(JEditTextArea.java:4960)
> [error] AWT-EventDispatchThread: at java.awt.Component.processEvent(Component.java:3630)
> [error] AWT-EventDispatchThread: at java.awt.Container.processEvent(Container.java:1275)
> [error] AWT-EventDispatchThread: at java.awt.Component.dispatchEvent(Component.java:3542)
> [error] AWT-EventDispatchThread: at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:284)
> [error] AWT-EventDispatchThread: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:374)
> [error] AWT-EventDispatchThread: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:94)
> [error] AWT-EventDispatchThread: at java.awt.Component.dispatchEvent(Component.java:3518)
> [error] AWT-EventDispatchThread: at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:139)
> [error] AWT-EventDispatchThread: at java.awt.EventQueue.dispatchEvent(EventQueue.java:144)
> [error] AWT-EventDispatchThread: at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:69)
> [error] AWT-EventDispatchThread: at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> [error] AWT-EventDispatchThread: java.lang.NullPointerException
> [error] AWT-EventDispatchThread: at javax.swing.plaf.basic.BasicRootPaneUI$DefaultButtonAction.isEnabled(BasicRootPaneUI.java:70)
> [error] AWT-EventDispatchThread: at javax.swing.plaf.basic.BasicRootPaneUI$DefaultButtonAction.actionPerformed(BasicRootPaneUI.java:74)
> [error] AWT-EventDispatchThread: at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:472)
> [error] AWT-EventDispatchThread: at javax.swing.JComponent.processKeyBinding(JComponent.java:588)
> [error] AWT-EventDispatchThread: at javax.swing.JComponent.processKeyBindings(JComponent.java:783)
> [error] AWT-EventDispatchThread: at javax.swing.JComponent.processKeyEvent(JComponent.java:765)
> [error] AWT-EventDispatchThread: at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(JEditTextArea.java:4960)
> [error] AWT-EventDispatchThread: at java.awt.Component.processEvent(Component.java:3630)
> [error] AWT-EventDispatchThread: at java.awt.Container.processEvent(Container.java:1275)
> [error] AWT-EventDispatchThread: at java.awt.Component.dispatchEvent(Component.java:3542)
> [error] AWT-EventDispatchThread: at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:284)
> [error] AWT-EventDispatchThread: at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:374)
> [error] AWT-EventDispatchThread: at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:94)
> [error] AWT-EventDispatchThread: at java.awt.Component.dispatchEvent(Component.java:3518)
> [error] AWT-EventDispatchThread: at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:139)
> [error] AWT-EventDispatchThread: at java.awt.EventQueue.dispatchEvent(EventQueue.java:144)
> [error] AWT-EventDispatchThread: at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:69)
> [error] AWT-EventDispatchThread: at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira