Problem loading a Cocoa-Java nib
Problem loading a Cocoa-Java nib
- Subject: Problem loading a Cocoa-Java nib
- From: Andrew Begel <email@hidden>
- Date: Mon, 24 Dec 2001 18:26:52 -0800
I'm using the Dec. developer tools, and I've created a nib that has some
widgets subclass (in Java) NSSplitView and NSTabView. I named these
subclasses "foo.MySplitView" and "foo.MyTabView" in order to get them to
be in the package foo. When I then try to run my application (which
builds without errors), I get this error on bootup and then the
application exits:
2001-12-24 18:22:30.567 StarLogo[14495] AppKitJava: uncaught exception
NSArchiverArchiveInconsistency (*** file inconsistency: read '@',
expecting 'C')
2001-12-24 18:22:30.568 StarLogo[14495] AppKitJava: exception = *** file
inconsistency: read '@', expecting 'C'
2001-12-24 18:22:30.569 StarLogo[14495] AppKitJava: terminating.
StarLogo.app has exited with status 1.
If I remove the package declaration from IB and PB, I don't get this
crash. Is there a way to fix this, or is this a bug in IB/Cocoa with
Java development?
Thanks,
Andrew