Find/Replace raises Exception NSRangeException

Please report bugs.

Find/Replace raises Exception NSRangeException

Postby tanzanite » Mon Apr 19, 2010 7:10 pm

I cannot search or replace anything in the IDE. Type something in the "Find & Replace" box and hit return or click the Next (default) button and you get:
-----------------------------------------------------------------------------------------------------
Exception NSRangeException

*** -[NSBigMutableString rangeOfString:options:range:locale:]: Range or index out of bounds

Exception in
file 'findreplace.NSObject'
at 'do_pbNext'
line '37'
callStackSymbols:
(
0 CoreFoundation 0x97223bda __raiseError + 410
1 libobjc.A.dylib 0x906e9509 objc_exception_throw + 56
2 CoreFoundation 0x97223908 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x9722387a +[NSException raise:format:] + 58
4 Foundation 0x98e6778e -[NSString rangeOfString:options:range:locale:] + 254
5 Foundation 0x98e67687 -[NSString rangeOfString:options:range:] + 70
6 Objective-Basic 0x00022c88 _Z19OBTEXTVIEW_FINDNEXTP11objc_objectS0_ + 487
7 Objective-Basic 0x00075179 -[findreplace do_pbNext::] + 331
8 Objective-Basic 0x00074fe6 -[findreplace pbNext:] + 140
9 AppKit 0x955e05c6 -[NSApplication sendAction:to:from:] + 112
10 AppKit 0x956bfd41 -[NSControl sendAction:to:] + 108
11 AppKit 0x956bb7f2 -[NSCell _sendActionFrom:] + 169
12 AppKit 0x956baae9 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
13 AppKit 0x95710145 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
14 AppKit 0x956b953f -[NSControl mouseDown:] + 812
15 AppKit 0x956b7548 -[NSWindow sendEvent:] + 5549
16 AppKit 0x955d01af -[NSApplication sendEvent:] + 6431
17 AppKit 0x95563c4f -[NSApplication run] + 917
18 AppKit 0x9555bc85 NSApplicationMain + 574
19 Objective-Basic 0x00042e89 main + 210
20 Objective-Basic 0x000026ed start + 53
)
tanzanite
 
Posts: 9
Joined: Thu Apr 01, 2010 5:46 am
Location: Mexico

Re: Find/Replace raises Exception NSRangeException

Postby berndnoetscher » Tue Apr 20, 2010 12:31 pm

Worked on the find/replace feature and it seems to work now. Could you please test it again? Uploaded a new version. Thanks.
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am


Return to Bug Reports (Xcode 3)

Who is online

Users browsing this forum: No registered users and 0 guests

cron