On 3/8/03, [EMAIL PROTECTED] penned: >I have an app I a working on that stopped working overnight all by >itself. I went to sleep, and it was working, and when I woke up it was >broken. > >When ever I hit a page I get this error. >"The system has attempted to use an undefined value, which usually >indicates a programming error, either in your code or some system code. >Null Pointers are another name for undefined values"
<snip> >I'm running updater 2, and restarting the service does not fix it. >Anyone know what's up, or is this just MX bug of the day? I've hit this error a couple times. It is extremely hard to fix, for 2 reasons. 1) It doesn't tell you where the error occurs. And... 2) The 2 times it has happened to me, it has happened on perfectly legitimate code. The last time, I remember it was this... I had 5 textarea fields. These were inside of a form tag, but just to allowing copying for a report, not to be submitted. To conserve space I'll just show 3 of the fields. <form> <textarea rows="10" cols="50" wrap="off"> <CFOUTPUT>#orders#</CFOUTPUT> </textarea><p> <textarea rows="10" cols="50" wrap="off"> <CFOUTPUT>#billing#</CFOUTPUT> </textarea><p> <textarea rows="10" cols="50" wrap="off"> <CFOUTPUT>#shipping#</CFOUTPUT> </textarea><p> </form> This caused that error. The crazy part is, if I removed 3 out of 5 of the fields, any 3, the error went away. I literally spent about 8 hours on that one. About 6 of those hours were spent removing sections of code at a time until the error went away. Then replacing that section and removing smaller pieces of the section. Down until I was removing a single textarea at a time. When I got down to 2 left, the error would vanish. I had my magnifying glass out trying to see how the field I removed could possibly be causing an error because they all looked identical, which they were except for the variable inside the cfoutput tag. Tried changing the variable name. Nothing. I finally tried removing one of the other fields and the error still went away. As long as there were only 2 fields there wasn't a problem. How I fixed it? Removed the individual cfoutput tags and wrapped all 5 fields with a single cfoutput. No rhyme nor reason for that. And how do you even submit it as a bug? How the heck do you describe it? CFMX has literally cost me thousands of dollars, and I don't even own it. The program is a disgrace. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ http://www.cf-ezcart.com/ 954.721.3452 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

