With a little side of applesauce...

Tuesday, January 6, 2009

Coldfusion - Ok, you can't overload functions

Now I believe you:
500

ROOT CAUSE:
java.lang.StackOverflowError
at java.util.HashMap.put(HashMap.java:372)
at coldfusion.runtime.LocalScope.bindInternal(LocalScope.java:373)
at coldfusion.runtime.LocalScope.bindInternal(LocalScope.java:387)
at cfLdap2ecfc237833483$funcADD.runFunction(/home/speeves/workspace/workflow/class/Workflow/Ldap.cfc:99)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)

1 comment:

speeves said...

Phooey on this:

The names of user-defined functions cannot be the same as built-in ColdFusion functions.

The name createDateTime is the name of a built-in ColdFusion function.
The CFML compiler was processing:

A cffunction tag beginning on line 38, column 6.