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

The value returned from the findByID function is not of type entry. #23

Closed KrunchMuffin closed 11 years ago

KrunchMuffin commented 11 years ago

Any idea why I am getting this after upgrade from .1 to .4?

oarevalo commented 11 years ago

Hi, Can you post the full tag context or stack trace? Did you reset the application (from the login screen)? and restart the listener service?

KrunchMuffin commented 11 years ago

forgot about the reset, so I did that and I get

The value returned from the getConfig function is not of type bugLog.components.config. On Monday April 01. 2013 at 2:59 PM, Oscar Arevalo notifications@github.com wrote: Hi, Can you post the full tag context or stack trace? Did you reset the application (from the login screen)? and restart the listener service? — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15739993].

Sent from Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Free]. It's free.

oarevalo commented 11 years ago

Did you get that error right after you click on reset or after you typed in your username and password?

KrunchMuffin commented 11 years ago

after reset.

The value returned from the getConfig function is not of type bugLog.components.config.

If the component name is specified as a return type, it is possible that either a definition file for the component cannot be found or is not accessible.

The error occurred in d:/Site/bugLog/components/hq/jiraService.cfc: line 42 Called from d:/Site/bugLog/components/hq/jiraService.cfc: line 13 Called from d:/Site/bugLog/core/coreApp.cfc: line 279 Called from d:/Site/bugLog/core/coreApp.cfc: line 161 Called from d:/Site/bugLog/core/coreApp.cfc: line 93 Called from d:/Site/bugLog/hq/index.cfm: line 27 40 : 41 : 42 : <cfreturn variables.instance.app.getConfig().getSetting("jira." & arguments.settingName, arguments.defaultValue)> 43 : 44 : Resources: Check the ColdFusion documentation to verify that you are using the correct syntax. Search the Knowledge Base to find a solution to your problem. Browser Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31 Remote Address 24.249.162.7 Referrer
Date/Time 02-Apr-13 12:30 PM Stack Trace at cfjiraService2ecfc1865456228$funcGETSETTING.runFunction(d:/Site/bugLog/components/hq/jiraService.cfc:42) at cfjiraService2ecfc1865456228$funcINIT.runFunction(d:/Site/bugLog/components/hq/jiraService.cfc:13) at cfcoreApp2ecfc2009771415$funcLOADAPPLICATIONSERVICES.runFunction(d:/Site/bugLog/core/coreApp.cfc:279) at cfcoreApp2ecfc2009771415$funcSTARTAPPLICATION.runFunction(d:/Site/bugLog/core/coreApp.cfc:161) at cfcoreApp2ecfc2009771415$funcONREQUESTSTART.runFunction(d:/Site/bugLog/core/coreApp.cfc:93) at cfindex2ecfm1526155468.runPage(d:/Site/bugLog/hq/index.cfm:27)

coldfusion.runtime.UDFMethod$InvalidReturnTypeException: The value returned from the getConfig function is not of type bugLog.components.config. at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:433) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfjiraService2ecfc1865456228$funcGETSETTING.runFunction(d:\Site\bugLog\components\hq\jiraService.cfc:42) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfjiraService2ecfc1865456228$funcINIT.runFunction(d:\Site\bugLog\components\hq\jiraService.cfc:13) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373) at cfcoreApp2ecfc2009771415$funcLOADAPPLICATIONSERVICES.runFunction(d:\Site\bugLog\core\coreApp.cfc:279) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfcoreApp2ecfc2009771415$funcSTARTAPPLICATION.runFunction(d:\Site\bugLog\core\coreApp.cfc:161) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659) at cfcoreApp2ecfc2009771415$funcONREQUESTSTART.runFunction(d:\Site\bugLog\core\coreApp.cfc:93) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfindex2ecfm1526155468.runPage(d:\Site\bugLog\hq\index.cfm:27) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.IpFilter.invoke(IpFilter.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:422) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doHttpServletRequest(FusionReactorCoreFilter.java:503) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFusionRequest(FusionReactorCoreFilter.java:337) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:246) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) On Tuesday April 02. 2013 at 9:30 AM, Oscar Arevalo notifications@github.com wrote: Did you get that error right after you click on reset or after you typed in your username and password? — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15786428].

Sent from Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Faster]. It's faster!

oarevalo commented 11 years ago

Ok, looks like there is something wrong while initializing the Jira service. Try disabling it manually by editing /bugLog/config/buglog-config.xml.cfm and changing jira.enabled to false. Reset the app again and see if it comes up. Once it loads, re-enable Jira.

KrunchMuffin commented 11 years ago

JIRA wasn't enabled

false

On Tuesday April 02. 2013 at 9:55 AM, Oscar Arevalo notifications@github.com wrote: Ok, looks like there is something wrong while initializing the Jira service. Try disabling it manually by editing /bugLog/config/buglog-config.xml.cfm and changing jira.enabled to false. Reset the app again and see if it comes up. Once it loads, re-enable Jira. — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15788003].

Sent from awesome Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Awesome].

oarevalo commented 11 years ago

From the stack trace I noticed that the resolved paths change from C:\HealthEndeavors_new\Site... to d:\Site... within the same request. Do you think that ColdFusion is getting confused into thinking that the CFC references are not the same due to the different paths? Another thing you can try is to comment out the Jira service declaration on /bugLog/hq/config/config.xml.cfm. It should not break the app if you are not using Jira.

KrunchMuffin commented 11 years ago

oh sorry, i just wanted to remove that private info. it is the C:.

I commented it out, still same issue On Tuesday April 02. 2013 at 10:06 AM, Oscar Arevalo notifications@github.com wrote: From the stack trace I noticed that the resolved paths change from d:_new\Site... to d:\Site... within the same request. Do you think that ColdFusion is getting confused into thinking that the CFC references are not the same due to the different paths? Another thing you can try is to comment out the Jira service declaration on /bugLog/hq/config/config.xml.cfm. It should not break the app if you are not using Jira. — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15788641].

Sent from Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Faster]. It's faster!

oarevalo commented 11 years ago

ok, seems we will have to go under the hood to see what's going on. Try changing the getConfig() method in components.hq.appService (https://github.com/oarevalo/BugLogHQ/blob/master/components/hq/appService.cfc#L391) and add:

   <Cfdump var="#variables.config#"><cfabort>

before the return statement. The reset again. The idea is to first make sure that you actually have a config object loaded.

KrunchMuffin commented 11 years ago

looks like it is crashing before it hits that even.  On Tuesday April 02. 2013 at 10:17 AM, Oscar Arevalo notifications@github.com wrote: ok, seems we will have to go under the hood to see what's going on. Try changing the getConfig() method in components.hq.appService (https://github.com/oarevalo/BugLogHQ/blob/master/components/hq/appService.cfc#L391 [https://github.com/oarevalo/BugLogHQ/blob/master/components/hq/appService.cfc#L391]) and add: before the return statement. The reset again. The idea is to first make sure that you actually have a config object loaded. — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15789297].

Sent from awesome Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Awesome].

oarevalo commented 11 years ago

Then the only thing I can think of is start tracing back and placing dumps/aborts to find the part where the problem is. Maybe on the Init() method of the appService.cfc component. Make sure that before that method returns, the config object is loaded properly.

KrunchMuffin commented 11 years ago

ok, I got one thing worked out. that was my fault. sorry, but back to the original issue I think

 The value returned from the getService function is not of type bugLogListener. If the component name is specified as a return type, it is possible that either a definition file for the component cannot be found or is not accessible.   The error occurred in d:/TestSite/bugLog/listeners/listener.cfc: line 37 Called from d:/TestSite/bugLog/listeners/bugLogListenerWS.cfc: line 27 Called from d:/TestSite/bugLog/client/bugLogService.cfc: line 186 Called from d:/TestSite/bugLog/hq/handlers/general.cfc: line 74 Called from d:/TestSite/bugLog/core/coreApp.cfc: line 94 Called from d:/TestSite/bugLog/hq/index.cfm: line 27

35 : 36 : // get handle to bugLogListener service 37 : oBugLogListener = oService.getService(); 38 : 39 : // create entry bean

Resources:

    Check the ColdFusion documentation to verify that you are using the correct syntax.     Search the Knowledge Base to find a solution to your problem.

Browser   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 Remote Address   24.249.162.7 Referrer   Date/Time   02-Apr-13 01:53 PM Stack Trace at cflistener2ecfc1779836857$funcLOGENTRY.runFunction(d:/TestSite/bugLog/listeners/listener.cfc:37) at cfbugLogListenerWS2ecfc658985106$funcLOGENTRY.runFunction(d:/TestSite/bugLog/listeners/bugLogListenerWS.cfc:27) at cfbugLogService2ecfc93362731$funcNOTIFYSERVICE.runFunction(d:/TestSite/bugLog/client/bugLogService.cfc:186) at cfgeneral2ecfc507453384$funcONREQUESTSTART.runFunction(d:/TestSite/bugLog/hq/handlers/general.cfc:74) at cfcoreApp2ecfc1672247909$funcONREQUESTSTART.runFunction(d:/TestSite/bugLog/core/coreApp.cfc:94) at cfindex2ecfm618075137.runPage(d:/TestSite/bugLog/hq/index.cfm:27)

coldfusion.runtime.UDFMethod$InvalidReturnTypeException: The value returned from the getService function is not of type bugLogListener. at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:433) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cflistener2ecfc1779836857$funcLOGENTRY.runFunction(d:\TestSite\bugLog\listeners\listener.cfc:37) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373) at cfbugLogListenerWS2ecfc658985106$funcLOGENTRY.runFunction(d:\TestSite\bugLog\listeners\bugLogListenerWS.cfc:27) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfbugLogService2ecfc93362731$funcNOTIFYSERVICE.runFunction(d:\TestSite\bugLog\client\bugLogService.cfc:186) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfgeneral2ecfc507453384$funcONREQUESTSTART.runFunction(d:\TestSite\bugLog\hq\handlers\general.cfc:74) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfcoreApp2ecfc1672247909$funcONREQUESTSTART.runFunction(d:\TestSite\bugLog\core\coreApp.cfc:94) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfindex2ecfm618075137.runPage(d:\TestSite\bugLog\hq\index.cfm:27) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.IpFilter.invoke(IpFilter.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:422) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doHttpServletRequest(FusionReactorCoreFilter.java:503) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFusionRequest(FusionReactorCoreFilter.java:337) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:246) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

On Tuesday April 02. 2013 at 10:39 AM, Oscar Arevalo notifications@github.com wrote: Then the only thing I can think of is start tracing back and placing dumps/aborts to find the part where the problem is. Maybe on the Init() method of the appService.cfc component. Make sure that before that method returns, the config object is loaded properly. — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15790516].

Sent from Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Free]. It's free.

KrunchMuffin commented 11 years ago

if i dump oService, it says it is the correct returntype

function getService Arguments: none ReturnType: bugLogListener

Roles:  

Access: public

Output:   DisplayName:   Hint: Returns the currently running instance of the service Description:

On Tuesday April 02. 2013 at 10:55 AM, Derek dab@bowesmail.com wrote: ok, I got one thing worked out. that was my fault. sorry, but back to the original issue I think

 The value returned from the getService function is not of type bugLogListener. If the component name is specified as a return type, it is possible that either a definition file for the component cannot be found or is not accessible.   The error occurred in d:/TestSite/bugLog/listeners/listener.cfc: line 37 Called from d:/TestSite/bugLog/listeners/bugLogListenerWS.cfc: line 27 Called from d:/TestSite/bugLog/client/bugLogService.cfc: line 186 Called from d:/TestSite/bugLog/hq/handlers/general.cfc: line 74 Called from d:/TestSite/bugLog/core/coreApp.cfc: line 94 Called from d:/TestSite/bugLog/hq/index.cfm: line 27

35 : 36 : // get handle to bugLogListener service 37 : oBugLogListener = oService.getService(); 38 : 39 : // create entry bean

Resources:

    Check the ColdFusion documentation to verify that you are using the correct syntax.     Search the Knowledge Base to find a solution to your problem.

Browser   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 Remote Address   24.249.162.7 Referrer   Date/Time   02-Apr-13 01:53 PM Stack Trace at cflistener2ecfc1779836857$funcLOGENTRY.runFunction(d:/TestSite/bugLog/listeners/listener.cfc:37) at cfbugLogListenerWS2ecfc658985106$funcLOGENTRY.runFunction(d:/TestSite/bugLog/listeners/bugLogListenerWS.cfc:27) at cfbugLogService2ecfc93362731$funcNOTIFYSERVICE.runFunction(d:/TestSite/bugLog/client/bugLogService.cfc:186) at cfgeneral2ecfc507453384$funcONREQUESTSTART.runFunction(d:/TestSite/bugLog/hq/handlers/general.cfc:74) at cfcoreApp2ecfc1672247909$funcONREQUESTSTART.runFunction(d:/TestSite/bugLog/core/coreApp.cfc:94) at cfindex2ecfm618075137.runPage(d:/TestSite/bugLog/hq/index.cfm:27)

coldfusion.runtime.UDFMethod$InvalidReturnTypeException: The value returned from the getService function is not of type bugLogListener. at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:433) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cflistener2ecfc1779836857$funcLOGENTRY.runFunction(d:\TestSite\bugLog\listeners\listener.cfc:37) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373) at cfbugLogListenerWS2ecfc658985106$funcLOGENTRY.runFunction(d:\TestSite\bugLog\listeners\bugLogListenerWS.cfc:27) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfbugLogService2ecfc93362731$funcNOTIFYSERVICE.runFunction(d:\TestSite\bugLog\client\bugLogService.cfc:186) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfgeneral2ecfc507453384$funcONREQUESTSTART.runFunction(d:\TestSite\bugLog\hq\handlers\general.cfc:74) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfcoreApp2ecfc1672247909$funcONREQUESTSTART.runFunction(d:\TestSite\bugLog\core\coreApp.cfc:94) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:444) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:414) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2432) at cfindex2ecfm618075137.runPage(d:\TestSite\bugLog\hq\index.cfm:27) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.IpFilter.invoke(IpFilter.java:64) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:422) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:112) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:219) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doHttpServletRequest(FusionReactorCoreFilter.java:503) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFusionRequest(FusionReactorCoreFilter.java:337) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:246) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

On Tuesday April 02. 2013 at 10:39 AM, Oscar Arevalo notifications@github.com wrote: Then the only thing I can think of is start tracing back and placing dumps/aborts to find the part where the problem is. Maybe on the Init() method of the appService.cfc component. Make sure that before that method returns, the config object is loaded properly. — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15790516].

Sent from Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Faster]. It's faster!

oarevalo commented 11 years ago

on this stack trace, the error starts in d:/TestSite/bugLog/core/coreApp.cfc: line 94, the rest is the catch block on general.cfc and then trying to report the error back to itself (using the buglog client instance). Change line 74 in general.cfc to remove the catch(any e) and use something like catch(lock e) so that it breaks fully on the error and don't try to send the error back. That should give you more details.

KrunchMuffin commented 11 years ago

I changed it to returntype any in getService and it is working now. On Tuesday April 02. 2013 at 11:01 AM, Oscar Arevalo notifications@github.com wrote: on this stack trace, the error starts in d:/TestSite/bugLog/core/coreApp.cfc: line 94, the rest is the catch block on general.cfc and then trying to report the error back to itself (using the buglog client instance). Change line 74 in general.cfc to remove the catch(any e) and use something like catch(lock e) so that it breaks fully on the error and don't try to send the error back. That should give you more details. — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15791791].

Sent from Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Free]. It's free.

oarevalo commented 11 years ago

yay for consistent type checking in coldfusion (/sarcasm).

At least is working now, let me know or post here if you have any other problems. I'll be closing the issue now. Feel free to re-open if needed.

KrunchMuffin commented 11 years ago

I am getting the emails, but at the top it says

This email is sent because the buglog server could not be contacted. The error was: The ENTRYBEAN argument passed to the logEntry function is not of type rawEntryBean.If the component name is specified as a type of this argument, it is possible that either a definition file for the component cannot be found or is not accessible.

oarevalo commented 11 years ago

There is something wrong with the coldfusion mappings then. BugLog relies on a mapping "bugLog" to find all its components. This mapping should be created automatically on the main Application.cfc. Are you using any special mappings for the application? Did you place it in a folder named /bugLog right under the website root? Try going to this template in your browser: http://your_server/bugLog/test/unit/utilTest.cfm That should run a bunch of tests that check all the different mappings and how BugLog locates itself. See if any test fails (shown in red)

KrunchMuffin commented 11 years ago

Every one was successful On Tuesday April 02. 2013 at 1:26 PM, Oscar Arevalo notifications@github.com wrote: There is something wrong with the coldfusion mappings then. BugLog relies on a mapping "bugLog" to find all its components. This mapping should be created automatically on the main Application.cfc. Are you using any special mappings for the application? Did you place it in a folder named /bugLog right under the website root? Try going to this template in your browser: http://your_server/bugLog/test/unit/utilTest.cfm That should run a bunch of tests that check all the different mappings and how BugLog locates itself. See if any test fails (shown in red) — Reply to this email directly or view it on GitHub [https://github.com/oarevalo/BugLogHQ/issues/23#issuecomment-15800237].

Sent from Mailbird [http://www.getmailbird.com/?utm_source=signature&utm_medium=email&utm_campaign=SentWithMailbird_Free]. It's free.