• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IB 3.0 plugin & error "NSMapRemove(): attempt to remove notAKeyMarker" when saving NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB 3.0 plugin & error "NSMapRemove(): attempt to remove notAKeyMarker" when saving NIB


  • Subject: IB 3.0 plugin & error "NSMapRemove(): attempt to remove notAKeyMarker" when saving NIB
  • From: Jens Miltner <email@hidden>
  • Date: Tue, 20 Nov 2007 12:33:07 +0100

Hi,

I have created an IB 3.0 plugin that handles 3 of our custom classes.
For one of them, whenever I try to save a NIB in 2.x format, saving fails with the following error written to the console:


2007-11-20 12:17:55.955 Interface Builder[65811:10b] *** NSMapRemove(): attempt to remove notAKeyMarker

For the other two custom classes, saving works just fine. All of the custom classes have an inspector palette, and I can't see anything I'd be doing wrong.
In fact, for the class that fails to save to 2.x format, I can save it to both 3.x NIB and XIB format, but just not to 2.x NIB format (which is unfortunate, since we need to share this with Tiger developers :( )
Also, when saving fails, my -[MyClass encodeWithCoder:] method is not even called, the error appears to happen earlier.
The backtrace at the time the exception is raised is also not very helpful to me - I have no idea which operation would trigger the exception:


#0 0x917ecd86 in -[NSException raise] ()
#1 0x9441a5ab in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] ()
#2 0x9441a1f2 in -[NSMenu performKeyEquivalent:] ()
#3 0x94418a99 in -[NSApplication _handleKeyEquivalent:] ()
#4 0x94335e4e in -[NSApplication sendEvent:] ()
#5 0x00004667 in ?? ()
#6 0x94293705 in -[NSApplication run] ()
#7 0x942609ba in NSApplicationMain ()
#8 0x00006cae in ?? ()


My code just doesn't seem to be involved with the save operation itself, however, saving _only_ fails if an instance of this specific custom view class is contained in the NIB...
I already tried removing all bindings from my inspector palette, in case this causes the problem, but to no avail...


Since I have no further ideas what to look for - did anybody else experience a similar problem and if so, what was the solution?
Any hints desperately welcome...


Thanks,
</jum>



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: IB 3.0 plugin & error "NSMapRemove(): attempt to remove notAKeyMarker" when saving NIB
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Integer division
  • Next by Date: [Xcode-Users] Debugger exited with status 10/11
  • Previous by thread: Re: Integer division
  • Next by thread: Re: IB 3.0 plugin & error "NSMapRemove(): attempt to remove notAKeyMarker" when saving NIB
  • Index(es):
    • Date
    • Thread