Has anyone ever run into an issue where you call one plugin but
receive another? I've seen this happen a couple of times randomly in
one of our apps.
Here's the call to the session plugin in the onRequestStart() method
that threw the error-
Main.cfc line 57 = <cfset var user =
getPlugin('sessionStorage').getVar('user')>
What I received back from CB was the Json plugin.
Here's the stacktrace:
coldfusion.runtime.TemplateProxy$InvalidMethodNameException: The
method getVar was not found in component coldbox.system.plugins.JSON.
at
coldfusion.runtime.TemplateProxy.throwInvalidMethodNameException(TemplateProxy.java:
749)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:478)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
at cfMain2ecfc1369041843$funcONREQUESTSTART.runFunction(E:\public
\wwwroot\site.com\handlers\Main.cfc:57)
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:517)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:496)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:355)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2301)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:389)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2723)
at