Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.