home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!newshost.cs.rose-hulman.edu!news
- From: capesp@NeXTwork.Rose-Hulman.Edu (Stephen P. Cape)
- Subject: Object archiving problems
- Message-ID: <1992Jul24.192053.4115@cs.rose-hulman.edu>
- Sender: news@cs.rose-hulman.edu (The News Administrator)
- Nntp-Posting-Host: g222-15.nextwork.rose-hulman.edu
- Organization: Rose-Hulman Institute of Technology
- Date: Fri, 24 Jul 1992 19:20:53 GMT
- Lines: 22
-
-
- I have problem with errors being generated when my subClass of Control
- is being archived. The following error message is generated in gdb when
- I try to write my object to a typedStream:
-
- Program generated(1): Memory access exception on address 0x8
- (protection failure).
- 0x5033476 in checkWrite ()
-
- I set up my read and write methods as I have always done before
- (successfully), but in this case they don't work. Actually, I'm not
- sure they're the source of the problem because the above error message
- gets generated before my write: method even gets called. Anyone have
- any clues/ideas/suggestions?
-
- BTW, it doesn't matter whether I use NXWriteObject or NXWriteRootObject
- to archive my object. It crashes either way.
-
- --
- Steve Cape
-
- capesp@nextwork.rose-hulman.edu
-