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
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
>
> @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
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
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
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.
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
>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
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?
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
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
11 matches
Mail list logo