So let me ask this. If I have to have debugging on for all IP's to have this work, how bad is it to create a blank rudidebug.cfm page and select that as the debug template in the CF Admin. Is this a major no-no or a major performance hit?
-Rudi On Wed, Jan 20, 2010 at 4:43 PM, John Mason <ma...@fusionlink.com> wrote: > Don't worry. I use either open source code or get permission before hand. > > Your isp may have access to internal java objects turned off. > > John > ma...@fusionlink.com > > > > Rudi Shumpert wrote: > >> Hey folks! >> >> I'm trying to use a java object to get some page load data to use in a >> reporting tool. >> >> On my local dev box it all works. In production it dies. I am running >> CF8 >> in both spots. >> >> <cfset codeFactory = >> CreateObject("java","coldfusion.server.ServiceFactory") /> >> <cfset getDebugDataSet = codeFactory.getDebuggingService()> >> <cfset getDebugData = getDebugDataSet.getDebugger().getData()> >> >> Again, this work on my local dev machine. (I hope John won't use this as >> the next example in how not to code ;) ) >> >> Below is the error I get >> >> Thanks in advance! - Rudi >> >> >> Error - struct Detail Its possible that a method called on a Java object >> created by CreateObject returned null. ErrNumber 0 Message Value must be >> initialized before use. StackTrace >> coldfusion.runtime.UninitializedValueException: >> Value must be initialized before use. at >> coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2249) at >> cfrudi2ecfm824653131.runPage(D:\ariba_2.0\rudi.cfm:7) at >> coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at >> coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at >> coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at >> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273) at >> >> coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) >> at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at >> coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at >> coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) 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.CfmServlet.service(CfmServlet.java:175) at >> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at >> jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at >> >> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) >> at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) >> at >> jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at >> jrun.servlet.FilterChain.service(FilterChain.java:101) at >> jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at >> jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at >> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284) >> at >> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) >> at >> >> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) >> at >> >> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) >> at >> >> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) >> at >> >> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) >> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) >> >> >> > > > > ------------------------------------------------------------- > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > > >