Re: Strange Error with Singleton Class
Re: Strange Error with Singleton Class
- Subject: Re: Strange Error with Singleton Class
- From: Greg Hulands <email@hidden>
- Date: Thu, 13 Feb 2003 13:32:35 +1000
in gdb do "b [NSException raise]" and it will break when it posts the
exception. You will then be able to traverse the stack to see what is
causing it.
Greg
On Thursday, February 13, 2003, at 10:22 AM, Marc Weil wrote:
Hello,
I have a singleton class called CoreApplication that gets created at
startup. But for some reason, I get this really strange error (I have
never
gotten it before today, and I didn't change any of its code) whenever
the
class is sent -init in [[CoreApplication alloc] init] (which is in
+sharedInstance).
2003-02-12 19:17:10.047 eDigest Pro[1624] Exception raised during
posting of
notification. Ignored. exception: *** -initForReadingWithData: nil
argument
This error actually causes the program to crash, and I have no idea
why. The
debugger isn't stepping into my -init method either, and I don't have
an
overloaded +alloc method in the class; just the standard NSObject stuff
there.
Does anybody have any ideas?
TIA,
Marc Weil
--
"Software exists to solve your problems. We exist to make the
problems."
Microsoft
_______________________________________________
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.
_______________________________________________
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.