Re: [cfaussie] The 'null null' error

2011-12-23 Thread Kai Koenig
Well done - and here's the promised blogpost re my "null, null" error: http://bloginblack.de/2011/12/coldfusion-null-null-errors-cfinterface-another-possible-reason/ :) Cheers Kai > Hi everyone, I eventually sorted this out. > > I isolated the problem to a QoQ combined with some occasionall

Re: [cfaussie] The 'null null' error

2011-12-14 Thread MrBuzzy
Hi everyone, I eventually sorted this out. I isolated the problem to a QoQ combined with some occasionally bad data. One of the queries contained un-typed columns. One column contained mainly zeros but occasionally an empty string. I wasn't joining on this column but I was selecting it. CF

Re: [cfaussie] The 'null null' error

2011-12-08 Thread Kai Koenig
> > @Kai ... What about one of those JVM inspection tools, do they show > exceptions as they occur? Maybe we can see it there? Hmm, I wonder if one could actually see it in the list of thread stack traces in a full heap dump. I guess the thread causing the error would have to be running at th

RE: [cfaussie] The 'null null' error

2011-12-07 Thread charlie arehart
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of MrBuzzy Sent: Wednesday, December 07, 2011 1:55 AM To: cfaussie@googlegroups.com Cc: cfaussie@googlegroups.com Subject: Re: [cfaussie] The 'null null' error In this case the error is occurring outside of

Re: [cfaussie] The 'null null' error

2011-12-06 Thread MrBuzzy
In this case the error is occurring outside of a cfc. I'm performing a QoQ on a query that's returned by a cfc function. The query is var scoped and constructed from data returned by a web service. Maybe I should be duplicating it as it's returned (?). @Kai ... What about one of those JVM inspec

Re: [cfaussie] The 'null null' error

2011-12-06 Thread Barry Chesterman
The only way I've ever been able to effectively debug null errors is by running specific segments of code and seeing if I can recreate it. The most common causes I see for a null error is unscoped or unvared variables being used in functions which usually cause issues during simultaneous requests.

Re: [cfaussie] The 'null null' error

2011-12-06 Thread MrBuzzy
Agree, it's hiding :) I've narrowed this one down to a query of queries that fails occasionally. I was really hoping someone had discovered a way to unmask the error. On 07/12/2011, at 16:08, Kai Koenig wrote: > From my point of view, the null null error is def. masking something else > ha

Re: [cfaussie] The 'null null' error

2011-12-06 Thread Kai Koenig
>From my point of view, the null null error is def. masking something else >happening behind the scenes and there are plenty of reasons why it can occur. I've been seeing it recently happening in a CFC in the application scope where a method has a function-local variable that is set to reference

Re: [cfaussie] The 'null null' error

2011-12-06 Thread MrBuzzy
Thanks, I can definitely look for something like that. The annoying thing is its not consistent. It comes and goes :( On 07/12/2011, at 15:13, David Harris wrote: > Hey up, > > I've created the null null error... > > I can't remember how exactly. > Can you isolate it down to a function call?

Re: [cfaussie] The 'null null' error

2011-12-06 Thread David Harris
Hey up, I've created the null null error... I can't remember how exactly. Can you isolate it down to a function call? I seem to remember it was something about having an argument the same name as a function in the same CFC... David Harris On Wed, Dec 7, 2011 at 4:01 PM, MrBuzzy wrote: > Howd

[cfaussie] The 'null null' error

2011-12-06 Thread MrBuzzy
Howdy, has anyone actually been able to accurately debug the 'null null' error? (The error occurred on line -1) It's pretty random. Stack trace is empty so it can't be traced to a particular line. It doesn't happen consistently, nor does it occur during a memory shortage. Googling didn't rev