• 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: Missing Class in nib.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing Class in nib.


  • Subject: Re: Missing Class in nib.
  • From: Andy Lee <email@hidden>
  • Date: Thu, 1 Aug 2002 23:26:22 -0400

At 11:48 AM -0700 7/31/02, email@hidden wrote:
Here is my error message:
Picked up _JAVA_OPTIONS: -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_local,server=y,address=8001
2002-07-31 11:34:28.418 MyResume[2428] Unknown class `XSLTransformer' in
nib file, using `NSObject' instead.
2002-07-31 11:38:53.203 MyResume[2428] Could not connect the action
createFormattingObjects: to target of class NSObject
2002-07-31 11:38:53.251 MyResume[2428] Could not connect the action
selectTransformOutputType: to target of class NSObject

My Java's a bit rusty, and I haven't done any Cocoa-Java, but... have you tried printing the classpath before you load the nib file (use println() -- don't trust your project settings), and making absolutely sure XSLTransformer is in that classpath? Is it possible you moved a jar file containing XSLTransformer? Have you tried going back to the nib file and fully specifying the class name for XSLTransformer?

Cocoa does type-checking when it loads a nib file. For some reason it can't find the class XSLTransformer when you launch the app. In this case it tries substituting NSObject as a fallback, but since there is no method NSObject.selectTransformOutputType(id sender), that is why the nib loading fails.

--Andy
_______________________________________________
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.

  • Prev by Date: Re: Interface Builder annoyances (was: NSTextField annoyances)
  • Next by Date: Re: Resizing NSSplitView
  • Previous by thread: Re: non-portable plist DTD URL
  • Next by thread: Re: Resizing NSSplitView
  • Index(es):
    • Date
    • Thread