I got this odd problem today, where ColdFusion 6.1 kicks back an error when calling a component function. This is what it kicks back:
Entity has incorrect type for being called as a function.
The symbol you have provided FUNCTIONNAME is not the name of a function.
The error occurred in c:/path/to/your.cfc: line 477
<cfinvoke method="FUNCTIONNAME" returnvariable="return_query" />
This doesn't error the first time it executes, but the second. It turns out that in the suspect function I named a variable with the same name as the query.
Thanks to the tips here