Sounds very strange. Things I note is that that you would normally get a coldfusion exception not a null pointer exception which is more at teh java level.
The only times I have seen this occur is when 1. threading an application and a variable has been garbaged collected but the other thread thinks it still exists 2. ColFusion needs a restart cause it an old flaky 6.0 version and it has lost the plot 3. The application name is changed 4. templates get called out of order cause some didn't reaslise that template x relied on template y, etc. Maybe that gives some where to start anyway. Cheers, Simon On 03/07/2008, David Heacock <[EMAIL PROTECTED]> wrote: > > > I've got the strangest problem... I'm using a cheap CF hosting company > HostMySite.com. I have a page that sets a simple variable: > > <cfset product_name = "Smood"> > > then includes a file that does some stuff: > > <cfinclude template="/includes/head.cfm"> > > The strange thing is that head.cfm sometimes (not always, which is > odd) can't see the variable 'product_name' in the parent document. Am > I losing the plot or is this freaky? It's not that it gets the wrong > variable (like with a caching problem), it just can't see it at all > and throws a null pointer exception. > > > Any ideas here? > > > Cheers > > David Heacock > > > -- Cheers Simon Haddon Woman loves feeling danger and speed. That is why woman wants man. They get a speed rush that is the most dangerous of all. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
