ColdFusion Exception help: coldfusion.runtime.NoOperScope cannot be dropped in coldfusion.runtime.ApplicationScope

I encountered a reason for excluding the following fragment from the CFINVOKEARGUMENT line:

<CFOUTPUT query="cfmx.Messages"><CFSILENT>
<CFINVOKE component="com_VUI_RemoveIllegalChars" method="formatString" returnvariable="cfmx.formattedMessage">
   <CFINVOKEARGUMENT name="inString" value="#TTSText#">
</CFINVOKE>
</CFSILENT>

Exact exception text:

Error creating object of type coldfusion.runtime.NoOperScope cannot be cast coldfusion.runtime.ApplicationScope to incompatible type. This usually indicates a programming error in Java, although it may also mean that you tried to use a foreign object in a different way than it was designed. coldfusion.runtime.NoOperScope cannot be abandoned coldfusion.runtime.ApplicationScope

Notes:

  • cfmx.Messages is an object returned in CFPROCRESULT, and when viewed through CFDUMP, it contains the expected data
  • com_VUI_RemoveIllegalChars has not changed at all
  • TTSText
  • , ColdFusion

, , .

EDIT: :

"", "jrpp-11", "01/06/09", "15:11:37", "coldfusion.runtime.NoOperScope coldfusion.runtime.ApplicationScope : C:\Inetpub\Wwwroot\ermsvui\proc_playsitestatus.cfm, : 30" java.lang.ClassCastException: coldfusion.runtime.NoOperScope coldfusion.runtime.ApplicationScope    coldfusion.runtime.RuntimeServiceImpl.getFullTagName(RuntimeServiceImpl.java:625)    coldfusion.runtime.TemplateProxyFactory.getFullName(TemplateProxyFactory.java:1082)    coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:184)    coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:157)    coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:1267)    coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:1218)    coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:358)    cfproc_playsitestatus2ecfm1824676963.runPage(C:\Inetpub\Wwwroot\ermsvui\proc_playsitestatus.cfm: 30)    coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)    coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)    coldfusion.filter.PathFilter.invoke(PathFilter.java:86)    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)    coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)    coldfusion.CfmServlet.service(CfmServlet.java:175)    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)    jrun.servlet.FilterChain.doFilter(FilterChain.java:86)    coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)    coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)    jrun.servlet.FilterChain.doFilter(FilterChain.java:94)    jrun.servlet.FilterChain.service(FilterChain.java:101)    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284)    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)    jrunx.scheduler.ThreadPool $DownstreamMetrics.invokeRunnable(ThreadPool.java:320)    jrunx.scheduler.ThreadPool $ThreadThrottle.invokeRunnable(ThreadPool.java:428)    jrunx.scheduler.ThreadPool $UpstreamMetrics.invokeRunnable(ThreadPool.java:266)    jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

28 - 32 proc_playsitestatus.cfm

EDIT:

TTS : " :"

com_VUI_RemoveIllegalChars:

<CFCOMPONENT displayname="Format a string for use in VoiceXML" hint="returns a string formatted for voiceXML" output="yes">
    <CFFUNCTION name="formatString" access="public" returntype="string" displayname="Format String" hint="Formats String for VoiceXML">
        <cfargument name="inString" type="string" required="true" displayname="input string" hint="pass in the string to be formatted">
        <CFSET v.messageWithoutChars = replace(inString, "<", "", "all")>
        <CFSET v.messageWithoutChars = replace(v.messageWithoutChars, ">", "", "all")>
        <CFSET v.messageWithoutChars = replace(v.messageWithoutChars, "&", "and", "all")>
        <CFSET v.messageWithoutChars = REReplace(v.messageWithoutChars, "\.+", ".", "all")>
        <CFSET v.messageWithoutChars = replace(v.messageWithoutChars, "!", ".", "all")>
        <CFSET v.messageWithoutChars = replace(v.messageWithoutChars, "\", " ", "all")>
        <CFSET v.messageWithoutChars = replace(v.messageWithoutChars, "/", " ", "all")>
        <CFSET v.messageWithoutChars = REReplace(v.messageWithoutChars, "[[:punct:]]{2,}", " ", "all")>
        <cfreturn v.messageWithoutChars>
    </CFFUNCTION>
</CFCOMPONENT>
+3
3

" " ColdFusion.

+1

#? , CFC. , , CFC?

+2

Without the contents of the component com_VUI_RemoveIllegalCharsand the value of the variable, TTSTextyou are not giving us much to continue. Could you post them? (I understand that sometimes you cannot for reasons of NDA / etc)

0
source

All Articles