6 Replies Latest reply: Apr 25, 2013 4:18 PM by WolffenTCI RSS

    Post ColdFusion Security Hotfix APSB13-10 - error on JSON returned with debug on

    ross_phillips Community Member

      After completing the install process of the hotfix I get the following error when debugging ("Enable Request Debugging Output") is on and the response comes from a remote function whose returnformat is JSON.  Did I miss something in the process?  Any thoughts?

       

      This is the test component:

      <cfcomponent>

                <cffunction name="myfunc" access="remote" returntype="struct" output="true" returnformat="JSON">

                          <cfscript>

                                    var st = {};

                                    st["name"] = "ross";

                                    return st;

                          </cfscript>

                </cffunction>

      </cfcomponent>

       

      Called in the following fashion:

      http:/localhost/test.cfc?Method=myfunc

       

      The error:

      <head><title>JRun Servlet Error</title></head><h1>500 </h1><body>

      <pre>

      coldfusion.server.DebuggingService.getShowAjaxDebug()Z</pre><br><pre>

      javax.servlet.ServletException: coldfusion.server.DebuggingService.getShowAjaxDebug()Z

      at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:155)

      at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:265)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      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:286)

      at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

      at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

      </pre></body>