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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: