chris, thanx for the reply. obviously (or maybe not), i have no control over CERPCFBundle, as i don’t know for sure what it is, but i believe its from epson.
and i’m not sure i want to give up using the ExceptionHandling framework, as i wish to catch other exceptions and report them as necessary, which for my app is to give the user the option of emailing me a report. i will experiment with ignoring these specific exceptions. thanx, ken On May 23, 2011, at 11:52 AM, Chris Kane wrote: > I would say that it looks like something there in CERPCFBundle is throwing an > NSError as an exception, and you're also using the ExceptionHandling > framework, which doesn't work with that. > > My recommendation would be to stop using the ExceptionHandling framework. > Beyond that, if you have any control over CERPCFBundle or influence with the > owners of that, find out why they are throwing NSErrors as exceptions. > > Chris Kane > Cocoa Framework, Apple > > > On May 21, 2011, at 12:34 PM, Ken Victor wrote: > >> nick, >> thanx for the reply. >> >> here is a copy of the top portion of the stack trace for the first exception: >> >> #0 0x7fff839570da in objc_exception_throw >> #1 0x12d71431f in +[CERPException(ExceptionMethod) >> debugThrow:function:file:line:] >> #2 0x12d76b3d0 in -[CERPCFBundle(InitializeCleanupMethod) >> onInitializeWithIdentifier:] >> #3 0x12d78815d in -[CERPCFModuleHandler(InitializeModuleMethod) >> initializeModule] >> #4 0x12d7743f0 in -[CERPEPIJDataManager(EventHandlerMethod) onInitialize:] >> #5 0x12d716ed3 in -[CERPPDEDataManager(EventHandlerMethod) onInitialize:] >> #6 0x12d772d4c in -[CERPCocoaPDESystem(SystemInitializeMethod) >> initializeSystem] >> #7 0x12d7728ae in -[CERPCocoaPDESystem(EventHandlerMethod) >> onCocoaPDEPDEPanelsForType:] >> #8 0x12d7725a7 in -[CERPCocoaPDESystem(EventHandlerMethod) >> onSystemMessage:data:param:] >> #9 0x12d72ae1b in +[CERPSystemInterface(SendSystemMessageMethod) >> sendMessageToSystem:data:param:] >> #10 0x12d72ac27 in -[CERPPDEInterface(PDEPlugInOverrideMethod) >> PDEPanelsForType:withHostInfo:] >> #11 0x103bb683a in return_buffer.16727 >> #12 0x103bb6531 in return_buffer.16727 >> #13 0x103bb4dbf in return_buffer.16727 >> #14 0x103bc68ca in RunningAsRoot >> #15 0x103bc61a6 in RunningAsRoot >> #16 0x7fff85cb65b5 in -[NSWindowController _windowDidLoad] >> #17 0x7fff85c53d6f in -[NSWindowController window] >> #18 0x7fff860d87b6 in -[NSPrintPanel >> beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:] >> #19 0x1000ad1ac in -[KVWindow printWindow:] at KVWindow.mm:385 >> >> and here is the second exception: >> >> #0 0x7fff839570da in objc_exception_throw >> #1 0x7fff870a2110 in -[NSObject(NSObject) doesNotRecognizeSelector:] >> #2 0x7fff8701a91f in ___forwarding___ >> #3 0x7fff87016a68 in __forwarding_prep_0___ >> #4 0x7fff86779a2c in NSExceptionHandlerExceptionRaiser >> #5 0x7fff839570f3 in objc_exception_throw >> #6 0x12d71431f in +[CERPException(ExceptionMethod) >> debugThrow:function:file:line:] >> #7 0x12d76b3d0 in -[CERPCFBundle(InitializeCleanupMethod) >> onInitializeWithIdentifier:] >> #8 0x12d78815d in -[CERPCFModuleHandler(InitializeModuleMethod) >> initializeModule] >> #9 0x12d7743f0 in -[CERPEPIJDataManager(EventHandlerMethod) onInitialize:] >> #10 0x12d716ed3 in -[CERPPDEDataManager(EventHandlerMethod) onInitialize:] >> #11 0x12d772d4c in -[CERPCocoaPDESystem(SystemInitializeMethod) >> initializeSystem] >> #12 0x12d7728ae in -[CERPCocoaPDESystem(EventHandlerMethod) >> onCocoaPDEPDEPanelsForType:] >> #13 0x12d7725a7 in -[CERPCocoaPDESystem(EventHandlerMethod) >> onSystemMessage:data:param:] >> #14 0x12d72ae1b in +[CERPSystemInterface(SendSystemMessageMethod) >> sendMessageToSystem:data:param:] >> #15 0x12d72ac27 in -[CERPPDEInterface(PDEPlugInOverrideMethod) >> PDEPanelsForType:withHostInfo:] >> #16 0x103bb683a in return_buffer.16727 >> #17 0x103bb6531 in return_buffer.16727 >> #18 0x103bb4dbf in return_buffer.16727 >> #19 0x103bc68ca in RunningAsRoot >> #20 0x103bc61a6 in RunningAsRoot >> #21 0x7fff85cb65b5 in -[NSWindowController _windowDidLoad] >> #22 0x7fff85c53d6f in -[NSWindowController window] >> #23 0x7fff860d87b6 in -[NSPrintPanel >> beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:] >> #24 0x1000ad1ac in -[KVWindow printWindow:] at KVWindow.mm:385 >> >> i won’t bother with the other 8 exceptions as i don’t think they can help >> find the problem, but if any one would like me to post the stack traces for >> all 10 exceptions, i can. >> >> thanx for any suggestions you may be able to provide, >> ken >> >> >> >> On May 20, 2011, at 10:40 PM, Nick Zitzmann wrote: >> >>> >>> On May 20, 2011, at 4:41 PM, Ken Victor wrote: >>> >>>> the following problem only occurs when i run my app in 64-bit mode; i.e., >>>> it does not happen when i run in 32-bit mode. my environment is snow >>>> leopard 10.6.7 running on a mac pro. >>>> >>>> when i call: >>>> -[NSPrintPanel >>>> beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo:] >>>> >>>> i get the following (either in the console log or the xcode console when i >>>> run under xcode): >>>> >>>> 5/19/11 4:14:49 PM Accounts[18320] -[NSError >>>> _addExceptionHandlerStackTrace]: unrecognized selector sent to instance >>>> 0x126795280 >>> [...] >>>> can anyone offer me a clue/suggestion as to what might be causing this >>>> problem and how i can go about fixing it? >>> >>> If you can reproduce the problem locally, have you tried breaking on >>> objc_exception_throw, reproducing the problem, and then looking at the >>> circumstances leading up to the exception? >>> >>> Nick Zitzmann >>> <http://www.chronosnet.com/> >>> >>> >>> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/ckane%40apple.com >> >> This email sent to ck...@apple.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com