Grails Runtime Exception with Audit Logging Plugin

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-05-20T09:57:20Z Indexed on 2010/05/20 10:00 UTC
Read the original article Hit count: 284

Filed under:

I've deployed my app to tomcat running on EC2 via Cloud Foundry. The application uses the Grails Audit Logging Plugin

I'm getting the following runtime error:

Error 500: Executing action [save] of controller [com.questern.aoms.CompanyController] caused exception: groovy.lang.MissingPropertyException: No such property: errors for class: org.codehaus.groovy.grails.plugins.orm.auditable.AuditLogEvent 
Servlet: grails 
URI: /aoms/grails/company/save.dispatch 
Exception Message: No such property: errors for class: org.codehaus.groovy.grails.plugins.orm.auditable.AuditLogEvent 
Caused by: No such property: errors for class: org.codehaus.groovy.grails.plugins.orm.auditable.AuditLogEvent 
Class: CompanyController 
At Line: [30] 

The exception is:

groovy.lang.MissingPropertyException: No such property: errors for class: org.codehaus.groovy.grails.plugins.orm.auditable.AuditLogEvent 

    at $Proxy10.saveOrUpdate(Unknown Source) 

    at com.questern.aoms.CompanyController$_closure4.doCall(CompanyController.groovy:30) 

    at com.questern.aoms.CompanyController$_closure4.doCall(CompanyController.groovy) 

I have added the import statement to the controller CompanyController, but to no avail.

import org.codehaus.groovy.grails.plugins.orm.auditable.AuditLogEvent 

I checked the war file and the AuditLogEvent is include in:

aoms-0.1.war\WEB-INF\classes\org\codehaus\groovy\grails\plugins\orm\auditable\ 

Any suggestions as to what the problem could be?

© Stack Overflow or respective owner

Related posts about grails