Menu

#1257 [HHQ-1980] Email action fails with no such property error

Bug
open
None
9
2012-10-09
2008-04-15
No

http://jira.hyperic.com/browse/HHQ-1980
EmailAction fails with following warning. Alert email is not going out because of this error. This should probably be an error and not warning.



To reproduce, define an alert and set notify other recipients. When the alert fires it gives following warning in server.log.



2008-04-14 19:10:14,407 DEBUG [JMS SessionPool Worker-2] [org.hyperic.hq.events.ext.AbstractTrigger.Fired] Firing actions for trigger with id=10001; alert def [Alert LDAP] with id=10001; triggering event [1], event time=Mon Apr 14 19:10:00 PDT 2008


2008-04-14 19:10:16,745 WARN [JMS SessionPool Worker-2] [org.hyperic.hq.hqu.rendit.PluginWrapper] Error invoking method from /local0/spider/hq/HQ-3.2.3-EE-654/server-3.2.3-EE/hq-engine/server/default/deploy/hq.ear/hq.war/hqu/tmpl_render


groovy.lang.MissingPropertyException: No such property: etityId for class: org.hyperic.hq.authz.server.session.Resource$$EnhancerByCGLIB$$6a90be95


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:48)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:474)


        at org.hyperic.hq.hqu.rendit.metaclass.ResourceCategory.getSupportsMonitoring(ResourceCategory.groovy:107)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:50)


        at org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:54)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:1316)


        at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:2495)


        at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:158)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:472)


        at Script1.run(Script1.groovy:14)


        at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTemplateEngine.java:110)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:741)


        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:729)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:165)


        at Renderer$_render_closure1.doCall(Renderer:13)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:252)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at groovy.lang.Closure.call(Closure.java:292)


        at groovy.lang.Closure.call(Closure.java:305)


        at org.codehaus.groovy.runtime.DefaultGroovyMethods.withReader(DefaultGroovyMethods.java:7760)


        at org.codehaus.groovy.runtime.DefaultGroovyMethods.withReader(DefaultGroovyMethods.java:7466)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:50)


        at org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:54)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:741)


        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:729)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:165)


        at Renderer.render(Renderer:10)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:741)


        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:729)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:165)


        at Renderer.invokeMethod(Renderer)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:753)


        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:733)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:165)


        at org.hyperic.hq.hqu.rendit.InvokeMethodDispatcher.invoke(InvokeMethodDispatcher.groovy:19)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:753)


        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:733)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:165)


        at org.hyperic.hq.hqu.rendit.Dispatcher$_invokeMethod_closure1.doCall(dispatcher.groovy:59)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:252)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:75)


        at org.hyperic.hq.hqu.rendit.Dispatcher$_invokeMethod_closure1.doCall(dispatcher.groovy)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:84)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:252)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:742)


        at groovy.lang.Closure.call(Closure.java:292)


        at groovy.lang.Closure.call(Closure.java:287)


        at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:167)


        at org.codehaus.groovy.runtime.DefaultGroovyMethods.use(DefaultGroovyMethods.java:318)


        at sun.reflect.GeneratedMethodAccessor510.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:50)


        at org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:54)


        at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:599)


        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903)


        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:75)


        at org.hyperic.hq.hqu.rendit.Dispatcher.invokeMethod(dispatcher.groovy:58)


        at org.hyperic.hq.hqu.rendit.PluginWrapper$6.run(PluginWrapper.java:183)


        at org.hyperic.hq.hqu.rendit.PluginWrapper.doInContext(PluginWrapper.java:107)


        at org.hyperic.hq.hqu.rendit.PluginWrapper.invokeMethod(PluginWrapper.java:181)


        at org.hyperic.hq.hqu.rendit.RenditServer.renderTemplate(RenditServer.java:236)


        at org.hyperic.hq.bizapp.server.action.email.EmailAction.renderTemplate(EmailAction.java:94)


        at org.hyperic.hq.bizapp.server.action.email.EmailAction.createText(EmailAction.java:129)


        at org.hyperic.hq.bizapp.server.action.email.EmailAction.execute(EmailAction.java:167)


        at org.hyperic.hq.events.server.session.Action.executeAction(Action.java:280)


        at org.hyperic.hq.events.server.session.ClassicEscalatableCreator.createEscalatable(ClassicEscalatableCreator.java:126)


        at org.hyperic.hq.events.ext.AbstractTrigger.fireActions(AbstractTrigger.java:201)


        at org.hyperic.hq.bizapp.server.trigger.conditional.MeasurementThresholdTrigger.processEvent(MeasurementThresholdTrigger.java:253)


        at org.hyperic.hq.bizapp.server.mdb.RegisteredDispatcherEJBImpl.dispatchEvent(RegisteredDispatcherEJBImpl.java:103)


        at org.hyperic.hq.bizapp.server.mdb.RegisteredDispatcherEJBImpl.onMessage(RegisteredDispatcherEJBImpl.java:175)


        at sun.reflect.GeneratedMethodAccessor444.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


        at java.lang.reflect.Method.invoke(Unknown Source)


        at org.jboss.invocation.Invocation.performCall(Invocation.java:345)


        at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)


        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)


        at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)


        at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)


        at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:416)


        at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:468)


        at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)


        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)


        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)


        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)


        at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:416)


        at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:468)


        at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)


        at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)


        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)


        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)


        at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)


        at org.jboss.ejb.Container.invoke(Container.java:873)


        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)


        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)


        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)


        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)


        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)


        at org.jboss.mq.SpySession.run(SpySession.java:333)


        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)


        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)


        at java.lang.Thread.run(Unknown Source)

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.