Skip navigation.
 
mlBizarre exception-handling crash
FROM : Parmadil Istarion
DATE : Tue Jan 28 19:12:02 2003

Hi all,
I am experiencing a bizarre malfunction in my application that has
absolutely stumped me. Hopefully somebody knows what's up.

I am using a custom NSWindowController subclass with an NSDocument
subclass. Whenever a certain method is called in the window controller,
a crash occurs in some AppKit method that appears to refer to
NSExceptions (the name contains NSAltHandler). The weird part is that
the crash occurs in either -showWindow: or in -window depending on
where my exception-handling code is!

When there is an exception handler around the -window call (from the
NSDocument), it just crashes when -showWindow is called instead.

This has to be due to some interaction between the document and the
window controller, because I have a second doc subclass in the same app
which also uses the window controller subclass without problems.

Can anybody shed some light on this for me? I'm going nuts. If the
relevant source would help I'll provide it.

Thanks,
Parmadil


Related mailsAuthorDate
No related mails found.