A friend is receiving an error on two CFM's running on a CF 9 server. There error states:
The tag handler query does not have a setter for the attribute ormOptions specified in the Tag Library Descriptor
A quick Google turns up 19 results. Most are unanswered questions, the others say re-install CF 9. I would prefer to offer an option other than re install if at all possible.
I've tried a reboot. Other than that, I have no idea where to go. When Google doesn't know, how can I be expected to?
Note: I'm told that nothing has changed on the server. The SQL contents of a cfquery
tag were modified. In addition, the web application is not using ORM at all.
Any thoughts on where to start?
Stack Trace
coldfusion.jsp.JRunTagLibraryInfo$NoSuchAttributeException: The tag handler query does not have a setter for the attribute ormOptions specified in the Tag Library Descriptor.
at coldfusion.jsp.JRunTagLibraryInfo.getPropertyType(JRunTagLibraryInfo.java:627)
at coldfusion.jsp.JRunTagLibraryInfo.buildTagInfo(JRunTagLibraryInfo.java:585)
at coldfusion.jsp.JRunTagLibraryInfo.getTag(JRunTagLibraryInfo.java:267)
at coldfusion.compiler.NeoTranslationContext.findTagName(NeoTranslationContext.java:346)
at coldfusion.compiler.NeoTranslationContext.isKnownTag(NeoTranslationContext.java:222)
at coldfusion.compiler.SemanticAnalyzer.preTransformCftag(SemanticAnalyzer.java:461)
at coldfusion.compiler.SemanticAnalyzer.preTransform(SemanticAnalyzer.java:46)
at coldfusion.compiler.Treewalker.postorder(Treewalker.java:21)
at coldfusion.compiler.Treewalker.postorder(Treewalker.java:27)
at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:416)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:343)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:144)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:418)
at coldfusion.util.LruCache.get(LruCache.java:180)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:591)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
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.filter.CachingFilter.invoke(CachingFilter.java:53)
at coldfusion.CfmServlet.service(CfmServlet.java:200)
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$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)
If I had to guess, I'd say the server is 9.0 and not 9.0.1. ormOptions
was introduced in 9.0.1 (according to the docs).
It's always helpful, btw, if you're asking about an error in some code, to: a) post the code; b) post the exact error, exactly as it is on the screen (with robust exception handling switched on).
This saves having to guess / assume things about your situation.