The White Screen Of Death (Don't Try This At Home)

I was just working on a cfc on my dev server and had done quite a lot of coding between tests when I came acrossed a weird issue. Usually I test quite frequently when I'm developing, just in case I mess something up (quite a rare occurence since I'm perfect) but this time I was on a roll so I just kept coding. After building quite a few methods, I went to a test page that called that cfc and reloaded. What happened next was a little suprising. I got nothing. No error, no debugging, no nothing. After about 10 minutes of banging my head against the keyboard (and a quick smoke break) I found the problem. See if you can find it too:

mycfc.cfc

<cfcomponent>
   <cfset utils = createObject("component", "path.to.mycfc")>
</cfcomponent>

You got it, I moronically tried to instantiate my own cfc (instead of my utils.cfc) from within itself. I'm a bit surprised that this did not create any type of exception, but I guess that's what you get for a momentary lack of common sense.

Comments

Calendar

Sun Mon Tue Wed Thu Fri Sat
  12345
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31   

Subscribe

Enter your email address to subscribe to this blog.

Tags

actionscript ajax blogging cfsnippets coldfusion flash forms flex misc model-glue off topic personal project learn slidesix sql

Recent Comments

More CF+Java: Compiling Classes And Persisting Objects
Getburl said: I have been attempting to get Db4o working in my CF application and I have not succeeded. I would lo... [More]

Thoughts On Ajax Frameworks And ColdFusion/Adobe
Erast said: http://fanniecollins.10gb... emo http://gracetrevino.phree...... [More]

Extending Ext With Ext Extensions
Erast said: http://fanniecollins.10gb... emo http://gracetrevino.phree...... [More]

CF Needs An Open Source Contact List Importer
Kay Smoljak said: Heh, the fact that sites DO it doesn't mean they SHOULD. To us it's ok, but to a non-tech-savvy user... [More]

A Few Project Updates
Helena said: Now punctually what is the situation ? [More]

RSS


coldfusionbloggers

FullAsAGoog MXNA

Consumed By Feed-Squirrel.com