Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1837

Groovy console broken with NPE on Mac OS X

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1-beta-1
    • 1.1-beta-1
    • groovy-jdk
    • None

    Description

      The error:

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:131)
      at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:160)
      Caused by: java.lang.NullPointerException
      at javax.swing.JMenuItem$MenuItemPropertyChangeListener.propertyChange(JMenuItem.java:400)
      at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
      at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
      at javax.swing.AbstractAction.firePropertyChange(AbstractAction.java:178)
      at javax.swing.AbstractAction.putValue(AbstractAction.java:113)
      at groovy.swing.SwingBuilder.handleWidgetAttributes(SwingBuilder.java:377)
      at groovy.swing.SwingBuilder.createNode(SwingBuilder.java:346)
      at groovy.swing.SwingBuilder.createNode(SwingBuilder.java:296)
      at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:118)
      at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:95)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:604)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:488)
      at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:73)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:596)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:505)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:488)
      at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:73)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:596)

      Attachments

        Activity

          People

            shemnon Daniel Ferrin
            graemerocher Graeme Rocher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: