Get a Quote Today!   |   + 1 (301) 424 3903




 
  Community
 
Need Help?
Visit our Training page
Request a Quote or Consultation
SIGN UP FOR THE TERATECH NEWSLETTER
 

ColdCuts

Cut:
Cut#: 322 
Cut Date: 09/15/2004 
Cutter: Steven Erat 
Topic: Error Handling 
Overview: I get a null null error message. What does this mean?

 

Cut Code:
During the general session at CFUN04 this weekend, a customer asked the question regarding why "null null" error messages occur in ColdFusion MX. This is bug 51579 and the problem occurs when CFERROR is used and Null Pointer Exception occurs at runtime. This causes the error variable error.diagnostics to be populated with the value of "null null". Normally, error.diagnostics is the concatenation of cfcatch.message and cfcatch.detail, but during an NPE error they both evaluate to null.