Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
With the latest build I found the groovyConsole
broken. When entering the first character, I get
the stacktrace below.
Chances are, other SwingBuilder examples are also
broken...
Mittie
org.codehaus.groovy.runtime.InvokerInvocationException:
groovy.lang.GroovyRuntimeException: Cannot set property on null
object
at
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.j
ava:668)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:345)
at groovy.lang.Closure.call(Closure.java:176)
at groovy.lang.Closure.call(Closure.java:189)
at
org.codehaus.groovy.runtime.ClosureListener.invoke(ClosureListener.java:61)
at $Proxy1.undoableEditHappened(Unknown Source)
at
javax.swing.text.AbstractDocument.fireUndoableEditUpdate(AbstractDocument.ja
va:269)
at
javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:7
54)
at
javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:706)
at
javax.swing.text.PlainDocument.insertString(PlainDocument.java:114)
at
javax.swing.text.AbstractDocument.replace(AbstractDocument.java:668)
at
javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1072)
at
javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(Defa
ultEditorKit.java:839)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2473)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
at java.awt.Component.processEvent(Component.java:4909)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713
)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusMa
nager.java:627)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocu
sManager.java:831)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocu
sManager.java:741)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManag
er.java:592)
at java.awt.Component.dispatchEventImpl(Component.java:3506)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)