New topic: 

NilObjectException Help

<http://forums.realsoftware.com/viewtopic.php?t=29713>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       applesource           Post subject: NilObjectException 
HelpPosted: Mon Aug 24, 2009 9:26 am                        
Joined: Thu Aug 06, 2009 2:25 pm
Posts: 83
Location: Oregon              I've worked really hard to ensure that my 
software doesn't get these errors (we all do, right?), but over the last 
several days I've had a report from someone that he is getting 
NilObjectException errors "often" and "randomly".

I need to figure out where in the code these are happening. I have many years 
experience programming in RB and other environments, but I've never really 
learned much about Unhandled Exceptions and how to deal with them. I know what 
causes them, in theory, of course.

Is there some way I could add some code to my software so that when this 
NilObjectException happens, I can at least provide some feedback as to where in 
the code it happened? So I can know where the error is happening (even just a 
ball-park estimate)? What window, or method, etc.

I really need to figure out what's causing the issue, as I'm sure it's only one 
line of code causing it to happen. The source code to my project is damn-near a 
thousand pages of text printed out so finding it by systematically 
double-checking everything would take a very, very long time.

What's the best way to track down these infamous NilObjectException errors? Any 
help here would be MUCH appreciated. Thank you!!     
_________________
AppleSource Software
http://www.applesource.biz  
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to