Question
500 Error initializing CFC
Over the weekend I ran into an issue with initializing a CFC; when cfcomponent is called a 500 error is thrown. When reveiwing the exception.log file I see the following:
java.lang.StackOverflowError
at java.base/java.util.HashMap.putVal(HashMap.java:624)
at java.base/java.util.HashMap.put(HashMap.java:607)
at coldfusion.runtime.LocalScope._bindInternal(LocalScope.java:538)
at coldfusion.runtime.NeoPageContext.setVariableScope(NeoPageContext.java:2047)
at coldfusion.runtime.NeoPageContext.SymTab_initializeForPage(NeoPageContext.java:1254)
at coldfusion.runtime.NeoPageContext.<init>(NeoPageContext.java:256)
at coldfusion.runtime.CfJspPage.initialize(CfJspPage.java:163)
at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:555)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:286)
at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:412)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:286)
at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:412)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:272)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:164)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:154)
at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:81)
at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:56)
at coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:101)
at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:91)
at coldfusion.runtime.CFPage._createObjectProxy(CFPage.java:10714)
at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:10670)
at coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:535)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:5201)
at cfloan2ecfc904776707._factor35(D:\Websites\ycWeb\trunk\yc\cfc_files\system\builder\loan.cfc:3)
at cfloan2ecfc904776707.runPage(D:\Websites\ycWeb\trunk\yc\cfc_files\system\builder\loan.cfc:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:257)
This began after updating our CF2021 server to Updater 3.
I've reviewed this post and I've seen Charlies fix, but why would this be occurring to begin with?
