ColdFusion 8, MySQL, HostMySite, and NPEs

So here is a weird one for you. I’ve got a bug report over on my Soundings forum where a user reports getting NPEs (Null Pointer Exceptions). The errors are random, and go away immediately if you refresh the page. If you read the thread, you will see that HostMySite is saying it is an issue with ColdFusion 8 and MySQL. Their “solution” is to roll back the client to ColdFusion 7.

Now what’s odd is - I have a client who uses HostMySite, and they were having the same issues. Not with Soundings, but just with their CF code in general. (CF8+MySQL)

I finally put two and two together a few minutes ago. Is anyone else experiencing this? I’ve checked the client’s code for obvious issues - and while I found a missing var statement or two - those were all patched up. The site has no load now at all.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA