dans.blog


The miscellaneous ramblings and thoughts of Dan G. Switzer, II

CFMX Generating Vague "java.lang.NullPointerException" Errors...

I tend to use <cfscript> a lot in my coding, but there are times I find I need to refactor some code portion back to using a tag-based syntax, in order to to use a native CF tag. Yes, I know I could build CF wrapper functions for those tags, but sometimes it's just easier to change the code back.

Usually converting back to a serious of <cfset> tags is no big deal, but occassionally I get some really strange error when I re-run the template. There error gives me almost no detail on the problem, just a very obscure "java.lang.NullPointerException" with no reference to a line number. The full error message is:

The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.

more…


ColdFusion MX 7 Cumulative Hot Fix 3 Released...

Macromedia has release the ColdFusion MX 7 Cumulative Hot Fix 3 today. Download the hot fix here.