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 inspection tools, do they show exceptions as they occur? Maybe we can see it there? On 07/12/2011, at 17:09, Barry Chesterman <barrychester...@gmail.com> wrote: > 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. I narrow these down by running load tests on specific > pages or parts of code which makes the null error easy to recreate (aside > from the obvious checking of scoped / varred variables). > > As far as the ones that don't tell you what script the null came from it's a > bit of a stumper but if you could set up a load test and configure your test > to run specific pages and manage to consistently recreate the nulls from > specific pages that might help you narrow it down. > > Barry > > On Wed, Dec 7, 2011 at 6:08 PM, Kai Koenig <k...@koeni.de> wrote: > 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 to > another application-scope CFC instance. > > Cheers > Kai > > >> 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 <david.har...@shift.co.nz> 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? >>> >>> 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 <mrbu...@gmail.com> wrote: >>> 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 reveal anything concrete to work with :( Some suggest it's >>> a symptom, not the root cause. I'd hoped something would show up in the >>> JRun logs, but no. >>> >>> This is occurring in ACF9 with all the hot fixes I'm aware of. >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "cfaussie" group. >>> To post to this group, send email to cfaussie@googlegroups.com. >>> To unsubscribe from this group, send email to >>> cfaussie+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/cfaussie?hl=en. >>> >>> >>> This e-mail is intended only for the named person or entity to which >>> it is addressed and contains valuable business information that is >>> privileged, confidential and/or otherwise protected from disclosure. >>> If you received this e-mail in error, any review, use, dissemination, >>> distribution or copying of this e-mail is strictly prohibited. >>> Please notify us immediately of the error via e-mail to >>> disclai...@shift.co.nz and please delete the e-mail from your system, >>> retaining no copies in any media. >>> We appreciate your cooperation. >>> >>> >>> >>> >>> >>> -- >>> >>> You received this message because you are subscribed to the Google Groups >>> "cfaussie" group. >>> >>> To post to this group, send email to cfaussie@googlegroups.com. >>> >>> To unsubscribe from this group, send email to >>> cfaussie+unsubscr...@googlegroups.com. >>> >>> >>> For more options, visit this group at >>> http://groups.google.com/group/cfaussie?hl=en. >>> >>> >>> > > > -- > Kai Koenig - Ventego Creative Ltd > ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 435 263 414 > web: http://www.ventego-creative.co.nz > blog: http://www.bloginblack.de > twitter: http://www.twitter.com/agentK > -- > > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaussie@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaussie@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.