The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Exception handling Thread Tools Search this Thread Display Modes
Hi, I'm just starting to put together an application that uses the Omni frameworks, and when I get an exception, if I have the OFCrashOnAssertionOrUnhandledException turned on, it crashes after printing a description without a backtrace to the console. If I turn it off, I get and endless stack of [OAApplication reportException:] calls.

First question: what might be causing the loop of reportException calls, and how would I fix that?

Second question: how would I put a UI on this so that the program displays a dialog and allows the user to email the exception report to me?

Third question: what would cause it not to have a stacktrace?

The actual exception in this case is:

Crashing with report:
Exception raised:
Mask: 0x00000001
Name: NSInvalidArgumentException
Reason: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
Backtrace:No numeric backtrace found

The application has one of our frameworks in it, the omni base/foundation/appkit/inspector frameworks, and is a coredata document based app.

Thanks for your help, and for releasing these excellent frameworks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudden Exception loading group errors mfiorentino OmniGraffle General 9 2012-06-26 07:21 AM
Exception raised, atos developer tools iandennismiller OmniFocus 1 for Mac 2 2011-06-11 12:40 AM
Exception raised: ISyncSessionUnavailableException Zettt OmniFocus Syncing 2 2009-10-25 10:34 AM
Exception when exporting project in Omniplan 1.1.1 rc1 and 1.1. adhamh OmniPlan General 3 2007-06-15 11:20 AM
Archive-handling Rolf_schmolling OmniFocus 1 for Mac 15 2007-06-14 02:40 AM

All times are GMT -8. The time now is 01:20 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.