• 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: After upgrade to leopard: "principalClass is nil" while loading preferencesPane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: After upgrade to leopard: "principalClass is nil" while loading preferencesPane


  • Subject: Re: After upgrade to leopard: "principalClass is nil" while loading preferencesPane
  • From: Frank Midgley <email@hidden>
  • Date: Wed, 14 Nov 2007 23:47:49 -0500

On Nov 14, 2007, at 3:55 AM, Stephan Ruggiero wrote:

I have a preferencesPane that ran just fine on Tiger.
On Leopard is does not load anymore, the Console says:

14.11.07 08:57:24 System Preferences[3593] Error loading /Library/ PreferencePanes/DICOMListener.prefPane/Contents/MacOS/ DICOMListener: dlopen(/Library/PreferencePanes/ DICOMListener.prefPane/Contents/MacOS/DICOMListener, 265): Symbol not found: _environ
Referenced from: /Library/PreferencePanes/DICOMListener.prefPane/ Contents/MacOS/DICOMListener
Expected in: dynamic lookup
14.11.07 08:57:24 System Preferences[3593] [NSPrefPaneBundle instantiatePrefPaneObject] (/Library/PreferencePanes/ DICOMListener.prefPane): principalClass is nil.


Is the principal class name listed in your plist actually correct? I had an incorrect entry in my plist but on Tiger and prior -[NSBundle principalClass] still returned the correct class. On Leopard it started returning a different class from the bundle.

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
Sterling, VA USA

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >After upgrade to leopard: "principalClass is nil" while loading preferencesPane (From: Stephan Ruggiero <email@hidden>)

  • Prev by Date: SimpleCalendar sample code add event bug
  • Next by Date: Re: Adding/removing managed objects: how to know the maximum index?
  • Previous by thread: Re: After upgrade to leopard: "principalClass is nil" while loading preferencesPane
  • Next by thread: Stop the animation while it is in progress?
  • Index(es):
    • Date
    • Thread