Audit Trail error

0
I have added the latest version of audit trail module (version 2.0.3) to my application and am getting this error. I have turned off the project security. An error has occurred while handling the request. [User 'Anonymous_a3aa6092-4010-4b45-a1c8-ad4278b9a039' with roles 'Administrator'] Stack Trace: lg: lg: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: The given member name 'AuditTrail.Log_Person' has no corresponding member in this object of type 'EmployeeManagement.Employee' at Administration.ACr_BCo_Per (JavaAction : 'Call 'CreateLogRecordOfObject'') at {"after":[],"before":[{},{}],"action":{"type":"CommitAction"},"type":"EventExtendedAction"} at EmployeeManagement.SaveEmpAccount (Change : 'Change 'Employee' (PersonName)') Advanced stacktrace: at EmployeeManagement.SaveEmpAccount (Change : 'Change 'Employee' (PersonName)') Advanced stacktrace: at mt.a(SourceFile:187) Caused by: com.mendix.core.CoreRuntimeException: lg: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: The given member name 'AuditTrail.Log_Person' has no corresponding member in this object of type 'EmployeeManagement.Employee' at Administration.ACr_BCo_Per (JavaAction : 'Call 'CreateLogRecordOfObject'') at {"after":[],"before":[{},{}],"action":{"type":"CommitAction"},"type":"EventExtendedAction"} at EmployeeManagement.SaveEmpAccount (Change : 'Change 'Employee' (PersonName)') Advanced stacktrace: at hC.a(SourceFile:184) Caused by: lg: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: The given member name 'AuditTrail.Log_Person' has no corresponding member in this object of type 'EmployeeManagement.Employee' at Administration.ACr_BCo_Per (JavaAction : 'Call 'CreateLogRecordOfObject'') at {"after":[],"before":[{},{}],"action":{"type":"CommitAction"},"type":"EventExtendedAction"} at EmployeeManagement.SaveEmpAccount (Change : 'Change 'Employee' (PersonName)') Advanced stacktrace: at mt.a(SourceFile:187) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: The given member name 'AuditTrail.Log_Person' has no corresponding member in this object of type 'EmployeeManagement.Employee' at com.mendix.core.Core.execute(SourceFile:232) Caused by: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: The given member name 'AuditTrail.Log_Person' has no corresponding member in this object of type 'EmployeeManagement.Employee' at hC.b(SourceFile:218) Caused by: java.lang.IllegalArgumentException: The given member name 'AuditTrail.Log_Person' has no corresponding member in this object of type 'EmployeeManagement.Employee' at ii.a(SourceFile:310) at ii.getMember(SourceFile:45) at audittrail.log.CreateLogObject.CreateAuditLogItems(CreateLogObject.java:132) at audittrail.log.CreateLogObject.CreateAuditLogItems(CreateLogObject.java:74) at audittrail.actions.CreateLogRecordOfObject.executeAction(CreateLogRecordOfObject.java:35) at audittrail.actions.CreateLogRecordOfObject.executeAction(CreateLogRecordOfObject.java:19) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.execute(SourceFile:226) at ln.a(SourceFile:69) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.executeSync(SourceFile:203) at hJ.a(SourceFile:94) at hJ.f(SourceFile:69) at hJ.a(SourceFile:33) at hG.execute(SourceFile:95) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:211) at hC.a(SourceFile:175) at com.mendix.core.Core.commit(SourceFile:542) at com.mendix.core.Core.commit(SourceFile:519) at lJ.a(SourceFile:71) at lG.a(SourceFile:34) at lG.a(SourceFile:54) at mt.a(SourceFile:77) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.execute(SourceFile:226) at gn.execute(SourceFile:186) at jd.a(SourceFile:319) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:170) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:161) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:160) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:156) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192) Here the person class is a superclass of employee class and i m using the associations method.
asked
1 answers
0

The given member name 'AuditTrail.Log_Person' has no corresponding member in this object of type 'EmployeeManagement.Employee'.

You need to set a person entity or a entity with a generalization from a person

answered