• 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
Re: Adding controller causes toolbar error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding controller causes toolbar error


  • Subject: Re: Adding controller causes toolbar error
  • From: j o a r <email@hidden>
  • Date: Thu, 29 Aug 2002 21:44:03 +0200

When you get this type of errors - methods called on the wrong type of objects, and especially on "generic" / common objects - it's usually because that the object you are sending the message to is released. Check, and double check, that this isn't the case.

That said, I have seen this exact error caused by something wrong with the toolbar preferences for the application. Toolbar settings are stored in the defaults database. You can read about it in "man defaults". You can zap it in the Terminal like this:

defaults delete MyAppIdentifier "NSToolbar Configuration MyToolbarIdentifier"

Where MyAppIdentifier is what you set in the application target settings and MyToolbarIdentifier is the identifier for your toolbar. Repeat for every toolbar you have.
Or, if you are a GUI whimp, you can also simply remove / check the preference file for your application in ~/Library/Preferences/MyAppIdentifier.plist ;)

j o a r

On Thursday, Aug 29, 2002, at 19:10 Europe/Stockholm, Andrew Merenbach wrote:

There's a toolbar in my program, but I don't see how it's related. I've tried debugging, but before the program gets anywhere the debugger says my program "has exited with status 255," and there's nothing to step through.
_______________________________________________
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.

References: 
 >Adding controller causes toolbar error (From: Andrew Merenbach <email@hidden>)

  • Prev by Date: Update to Jaguar Dev Tools available
  • Next by Date: Re: Tracking files the right way
  • Previous by thread: Adding controller causes toolbar error
  • Next by thread: Re: Adding controller causes toolbar error
  • Index(es):
    • Date
    • Thread