Odd NSMenu related error
Odd NSMenu related error
- Subject: Odd NSMenu related error
- From: Darrin Cardani <email@hidden>
- Date: Tue, 17 Feb 2004 14:56:30 -0600
I recently upgraded a project from Project Builder to XCode. After
doing so, I'm finding that whenever I try to have my application open
one of its documents, I get the following error written to the
console:
2004-02-17 14:31:17.710 App Name[8866] *** Assertion failure in
-[NSMenu itemAtIndex:], Menus.subproj/NSMenu.m:638
2004-02-17 14:31:17.710 App Name[8866] Invalid parameter not
satisfying: (index >= 0) && (index < (_itemArray ?
CFArrayGetCount(_itemArray) : 0))
and my document's -loadDataRepresentation:ofType: method doesn't get
called. I have added some submenus to the File menu recently, but
haven't touched any of the code related to opening documents. Any
idea what would cause this? The other items in the File menu seem to
work just fine, including Close, Save, and the items I've added. It's
only the Open item that exhibits this problem.
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<
http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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.