• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Strange Error with Singleton Class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange Error with Singleton Class


  • Subject: Strange Error with Singleton Class
  • From: Marc Weil <email@hidden>
  • Date: Wed, 12 Feb 2003 19:22:44 -0500

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.

  • Follow-Ups:
    • Re: Strange Error with Singleton Class
      • From: Greg Hulands <email@hidden>
  • Prev by Date: Monitoring the selection in an NSOutlineView
  • Next by Date: Re: Subclassing a Cocoa class while in a Java package
  • Previous by thread: Re: Monitoring the selection in an NSOutlineView
  • Next by thread: Re: Strange Error with Singleton Class
  • Index(es):
    • Date
    • Thread