Re: After upgrade to leopard: "principalClass is nil" while loading preferencesPane
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