Re: Rookie question. Where did expection raised!?
Re: Rookie question. Where did expection raised!?
- Subject: Re: Rookie question. Where did expection raised!?
- From: John McGruer <email@hidden>
- Date: Wed, 4 Dec 2002 10:53:34 +0800
One easy way to find out is to launch "Console" (in
/Applications/Utiities) then select "File->Open Log.." and select
"~/Library/Logs/CrashReporter/Your_App_Name.crash.log" (substituting
"Your_App_Name" of course;-). Scroll to the bottom and you should see
something like this:
Thread 0 Crashed:
#0 0x9068ba64 in objc_msgSend
#1 0x90132428 in CFRetain
#2 0x901424ac in CFDictionaryAddValue
#3 0x90141720 in CFDictionaryCreate
#4 0x907f1bec in -[NSPlaceholderDictionary
initWithObjects:forKeys:count:]
#5 0x90801b5c in -[NSDictionary initWithDictionary:copyItems:]
#6 0x000056e8 in -[ConverterController saveConversionDict:]
(ConverterController.m:459)
#7 0x930cfe2c in -[NSApplication sendAction:to:from:]
#8 0x9320fd18 in -[NSMenu performActionForItemAtIndex:]
Just search backwards until you find one of your method names and that
should be the culprit ([ConverterController saveConversionDict:] in my
case above). hope this helps...
John
On Wednesday, Dec 4, 2002, at 05:53 Asia/Hong_Kong, Aidas Dailide wrote:
>
Howdy all,
>
>
I don't have any expirience with this. My application raises this
>
expection
>
every time it loads, but i don't know where it does that:
>
>
An uncaught expection was raised
>
*** -[NSCFArray objectAtIndex:]: index (65) beyond bounds (65)
>
*** -Uncaught expectio: <NSRangeExpection> *** - [NSCFArray
>
objectAtIndex:]: index (65) beyond buonds (65)
>
>
I guess it says that my objectAtIndex range is too big, but my app has
>
many
>
objectAtIndexes and i can't find wich one does that. How to know wich
>
one
>
objectAtIndex raised this?
>
>
Thanks
>
>
Aidas
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.