Testing across the CF/Java boundary November 23rd, 2006

For reasons of speed I’m currently embedding Java in Coldfusion code. Given Coldfusion is built on Java, and can instantiate Java objects through createObject(”java”, class_name), you’d think that’d be reasonably easy. But the boundary between Coldfusion and Java is like the gap between two halves of a broken bone: jagged, bleeding-edged and painful when coerced [...]

Can’t find a hint September 20th, 2006

I couldn’t find this on the Goggle, so: if your Coldfusion template occasionally furnishes you with the unhelpful, lineless error:
can’t load a null

then this might be caused by the following. You may be trying to compile a function using something like this code:

<cfset bar = “something”>
<cffunction name=”foo”>
    <cfargument name=”bar” default=”#bar#”>
</cffunction>

At the point of trying to interpret [...]