Unusual error message
Unusual error message
- Subject: Unusual error message
- From: Phillip Ulrich <email@hidden>
- Date: Thu, 26 Sep 2002 19:42:29 -0400
Okay, so I'm working on what I considered to be a rather ordinary
Cocoa-Java app. I created my project (Cocoa-Java Application, not
document-based) and proceed to work. I create a simple interface
consisting of two textviews. One of the text views, I subclass
(actually subclassing NSScrollView) to get it to accept drag and drop,
as per the instructions of Apple's sample code, JDragNDrop (I don't
have the URL, but searching on developer.apple.com for that name should
find it for you). I name the subclass CRSDragNDropView, create
CRSDragNDropView.java through Interface Builder, save, and close.
I start editing. I copy/paste Apple's source code, changing a little
bit here and there so that mine accepts the StringPboardType also.
Nothing screwy so far, it saves, it compiles, so on and so forth. Life
is good, until I try to run. My app comes to a screeching halt before
it ever even opens, instead spewing this error into the 'Run' pane:
2002-09-26 19:34:43.053 MyAppName[1362] AppKitJava: uncaught exception
NSArchiverArchiveInconsistency (*** file inconsistency: read '@',
expecting 'C')
2002-09-26 19:34:43.085 MyAppName[1362] AppKitJava: exception = ***
file inconsistency: read '@', expecting 'C'
2002-09-26 19:34:43.107 MyAppName[1362] AppKitJava: terminating.
MyAppName has exited with status 1.
(And no, MyAppName isn't the real name...obviously. :))
Any help that anyone could provide would be fantastic. I'm still
scratching my head over here...
Thanks,
Phil Ulrich
_______________________________________________
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.