Griffon
  1. Griffon
  2. GRIFFON-518

Sample app GroovyEdit fails to run

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: samples
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Attempting to run GroovyEdit leads to the following exception

      2012-06-10 20:34:46,882 [main] ERROR griffon.util.GriffonExceptionHandler - Uncaught Exception
      java.lang.NullPointerException: Cannot get property 'document' on null object
      	at groovyedit.GroovyEditModel$_closure1.doCall(GroovyEditModel.groovy:22)
      	at $Proxy4.propertyChange(Unknown Source)
      	at org.codehaus.griffon.runtime.core.AbstractGriffonModel.firePropertyChange(AbstractGriffonModel.java:72)
      	at groovyedit.GroovyEditModel.setMvcId(GroovyEditModel.groovy)
      	at org.codehaus.griffon.runtime.core.DefaultMVCGroupManager.fillReferencedProperties(DefaultMVCGroupManager.java:253)
      	at org.codehaus.griffon.runtime.core.DefaultMVCGroupManager.buildMVCGroup(DefaultMVCGroupManager.java:143)
      	at org.codehaus.griffon.runtime.core.AbstractMVCGroupManager.createMVCGroup(AbstractMVCGroupManager.java:238)
      	at org.codehaus.griffon.runtime.core.AbstractMVCGroupManager.createMVCGroup(AbstractMVCGroupManager.java:186)
      	at org.codehaus.griffon.runtime.core.AbstractGriffonApplication.createMVCGroup(AbstractGriffonApplication.java:474)
      	at org.codehaus.griffon.runtime.core.AbstractGriffonApplication.startup(AbstractGriffonApplication.java:313)
      	at griffon.swing.AbstractSwingGriffonApplication.realize(AbstractSwingGriffonApplication.java:78)
      	at griffon.swing.AbstractSwingGriffonApplication.run(AbstractSwingGriffonApplication.java:132)
      	at griffon.swing.SwingApplication.main(SwingApplication.java:36)
      

        Activity

        Show
        Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/0fdc154981d4343c14d50fd92ce74e4d7a188893

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: