Exception Closing Documents
Exception Closing Documents
- Subject: Exception Closing Documents
- From: Michael Bergin <email@hidden>
- Date: Tue, 11 Nov 2003 22:02:10 -0500
I'm encountering a problem and wanted to see if anyone else has seen or
is able to reproduce this. In xCode I open a new window to display a
code file, myclass.m, by double clicking the file's name in the project
window. Then I drag another code file from the project window into the
window displaying myclass.m. I then press shift+cmd+w to close the
code file I just opened. After this the selection menu at the tope of
the code window that allows me to select other files that I have opened
during this session is gone, although I am able to press the back arrow
to to get back to myclass.m, but this doesn't bring back the selection
menu. To get back the selection menu I quit xCode entirely and then
restart it. After restarting I go through the same procedure again but
this time the selection menu is still visible and it seems I am able to
select other files opened during this session however when I do the
following error is displayed in a dialog window:
Uncaught Exception:
Invalid parameter not satisfying: (index >= 0) && (index < (_itemArray
? CFArrayGetCount(_itemArray) : 0))
In the console I find the follow backtrace:
2003-11-11 21:46:33.632 Xcode[625] *** Assertion failure in -[NSMenu
itemAtIndex:], Menus.subproj/NSMenu.m:638
** INTERNAL ERROR: Uncaught Exception **
Exception: Invalid parameter not satisfying: (index >= 0) && (index <
(_itemArray ? CFArrayGetCount(_itemArray) : 0))
Stack:
0 0x94ec6ba4 -[TSException raise]
1 0x90aa95a4 -[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:]
2 0x92e049c0 -[NSMenu itemAtIndex:]
3 0x92e7a7a0 -[NSPopUpButtonCell selectItemAtIndex:]
4 0x961a0fc8 -[PBXLineBrowser mouseDown:]
5 0x92e02c74 -[NSWindow sendEvent:]
6 0x92df5348 -[NSApplication sendEvent:]
7 0x96093ac4 -[PBXExtendedApplication sendEvent:]
8 0x92dfd750 -[NSApplication run]
9 0x92eb9a18 _NSApplicationMain
10 0x0000a080
11 0x0000ac64
2003-11-11 21:48:13.419 Xcode[641] *** Assertion failure in -[NSMenu
itemAtIndex:], Menus.subproj/NSMenu.m:638
** INTERNAL ERROR: Uncaught Exception **
Exception: Invalid parameter not satisfying: (index >= 0) && (index <
(_itemArray ? CFArrayGetCount(_itemArray) : 0))
Stack:
0 0x94ec6ba4 -[TSException raise]
1 0x90aa95a4 -[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:]
2 0x92e049c0 -[NSMenu itemAtIndex:]
3 0x92e7a7a0 -[NSPopUpButtonCell selectItemAtIndex:]
4 0x961a0fc8 -[PBXLineBrowser mouseDown:]
5 0x92e02c74 -[NSWindow sendEvent:]
6 0x92df5348 -[NSApplication sendEvent:]
7 0x96093ac4 -[PBXExtendedApplication sendEvent:]
8 0x92dfd750 -[NSApplication run]
9 0x92eb9a18 _NSApplicationMain
10 0x0000a080
11 0x0000ac64
I'm running
Darwin iceman.anime.xinjen.internal 7.0.0 Darwin Kernel Version 7.0.0:
Wed Sep 24 15:48:39 PDT 2003; root:xnu/xnu-517.obj~1/RELEASE_PPC Power
Macintosh powerpc
xCode v1.0.1
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.