Griffon
  1. Griffon
  2. GRIFFON-473

Event handlers defined in griffon-app/conf/Events.groovy lead to exceptions

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.9.5-rc2
    • Fix Version/s: 0.9.5
    • Component/s: rt
    • Labels:
      None
    • Number of attachments :
      0

      Description

      If the file griffon-app/conf/Events.groovy is present then the application will throw exceptions when attempting to deliver events

      2012-03-10 14:18:38,047 ERROR  GriffonExceptionHandler - Uncaught Exception
      groovy.lang.MissingPropertyException: No such property: onLog4jConfigStart for class: groovy.lang.Binding
      	at org.codehaus.griffon.runtime.core.EventRouter.fireEvent(EventRouter.java:273)
      	at org.codehaus.griffon.runtime.core.EventRouter.access$400(EventRouter.java:53)
      	at org.codehaus.griffon.runtime.core.EventRouter$2.run(EventRouter.java:239)
      	at org.codehaus.griffon.runtime.core.EventRouter.publish(EventRouter.java:132)
      	at org.codehaus.griffon.runtime.core.AbstractGriffonApplication.event(AbstractGriffonApplication.java:336)
      	at org.codehaus.griffon.runtime.util.GriffonApplicationHelper.readAndSetConfiguration(GriffonApplicationHelper.java:153)
      	at org.codehaus.griffon.runtime.util.GriffonApplicationHelper.prepare(GriffonApplicationHelper.java:125)
      	at org.codehaus.griffon.runtime.core.AbstractGriffonApplication.initialize(AbstractGriffonApplication.java:209)
      	at griffon.swing.AbstractSwingGriffonApplication.bootstrap(AbstractSwingGriffonApplication.java:74)
      	at griffon.swing.AbstractSwingGriffonApplication.run(AbstractSwingGriffonApplication.java:131)
      	at griffon.swing.SwingApplication.main(SwingApplication.java:36)
      

        Activity

        Show
        Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/cf9e3f73cd9eb3491f277fa331b815c3d4d26964
        Andres Almiray made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.9.5 [ 18365 ]
        Resolution Fixed [ 1 ]
        Andres Almiray made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: