oarevalo / BugLogHQ

BugLogHQ is a tool to centralize the handling of automated bug reports from multiple applications. BugLogHQ provides a unified view of error messages sent from any number of applications, allowing the developer to search, graph, forward, and explore the bug reports submitted by the applications.
http://www.bugloghq.com
154 stars 67 forks source link

Error: RuleProcessor Error: variable [UTIL] doesn't exist #114

Closed ralavay closed 9 years ago

ralavay commented 9 years ago

I use Railo the BugLogHQ up and client can post data to, but when sending alert email:

Error:  RuleProcessor Error: variable [UTIL] doesn't exist

I install postfix in the same host and config buglog-config.xml.cfm with

 <setting name="mail.server">127.0.0.1</setting>
 <setting name="mail.port">25</setting>

Here are detail of error

variable [UTIL] doesn't exist
    at railo.runtime.type.scope.UndefinedImpl.getCollection(UndefinedImpl.java:386):386
    at components.baserule_cfc$cf.udfCall2(/data/ralio/tomcat/webapps/ROOT/bugLog/components/baseRule.cfc:229):229
    at components.baserule_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/components/baseRule.cfc):-1
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
    at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:748):748
    at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
    at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
    at components.baserule_cfc$cf.udfCall1(/data/ralio/tomcat/webapps/ROOT/bugLog/components/baseRule.cfc:83):83
    at components.baserule_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/components/baseRule.cfc):-1
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:195):195
    at railo.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:757):757
    at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:755):755
    at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1557):1557
    at extensions.rules.mailalert_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/extensions/rules/mailAlert.cfc:60):60
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:195):195
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
    at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1751):1751
    at railo.runtime.tag.Invoke.doComponent(Invoke.java:203):203
    at railo.runtime.tag.Invoke.doEndTag(Invoke.java:176):176
    at components.ruleprocessor_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/components/ruleProcessor.cfc:79):79
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
    at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:748):748
    at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
    at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
    at components.ruleprocessor_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/components/ruleProcessor.cfc:60):60
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
    at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:748):748
    at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
    at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
    at components.ruleprocessor_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/components/ruleProcessor.cfc:21):21
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
    at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
    at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
    at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
    at components.bugloglistener_cfc$cf.udfCall1(/data/ralio/tomcat/webapps/ROOT/bugLog/components/bugLogListener.cfc:125):125
    at components.bugloglistener_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/components/bugLogListener.cfc):-1
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:514):514
    at railo.runtime.SuperComponent.call(SuperComponent.java:62):62
    at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
    at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
    at components.bugloglistenerasync_cfc$cf.udfCall(/data/ralio/tomcat/webapps/ROOT/bugLog/components/bugLogListenerAsync.cfc:63):63
    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
    at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
    at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
    at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
    at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
    at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
    at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
    at buglog.util.processqueue_cfm$cf.call(/data/ralio/tomcat/webapps/ROOT/bugLog/util/processQueue.cfm:12):12
    at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:909):909
    at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:861):861
    at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:206):206
    at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
    at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2212):2212
    at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2179):2179
    at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:331):331
    at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727):727
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241):241
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503):503
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170):170
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103):103
    at mod_cfml.core.invoke(core.java:132):132
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950):950
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421):421
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070):1070
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611):611
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314):314
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61
    at java.lang.Thread.run(Thread.java:745):745
ralavay commented 9 years ago

@oarevalo after update the patch and restart Railo, I still got the notice variable [UTIL] doesn't exist. Please fix this line

components.hq.appservice_cfc$cf.udfCall6(/data/ralio/tomcat/webapps/ROOT/bugLog/components/hq/appService.cfc:922):922
oarevalo commented 9 years ago

@zazchor Ok, fixed, it was the same dumb error on another location. Sorry for the delay. Should be good now. Thanks!