Re: Lion document opening: -[__NSArrayM insertObject:atIndex:]: object cannot be nil
Re: Lion document opening: -[__NSArrayM insertObject:atIndex:]: object cannot be nil
- Subject: Re: Lion document opening: -[__NSArrayM insertObject:atIndex:]: object cannot be nil
- From: Sean McBride <email@hidden>
- Date: Fri, 05 Aug 2011 10:19:55 -0400
- Organization: Rogue Research Inc.
On Mon, 25 Jul 2011 14:17:44 -0400, Benjamin Rister said:
>We have an agent (UIElement) process, using GC, that can open a custom
>document type. Other than it being an agent, there’s nothing
>particularly special going on.
>
>On Lion, when one of these documents are opened, the window appears, but
>then the application promptly has an uncaught exception and crashes. The
>difficult matter here is that there’s no code of ours in the stack trace
>involving the exception, it just looks like internal
>NSDocumentController machinery, and everything works fine on 10.6. So
>while as a first pass this looks like it could be a Lion bug, I thought
>I’d run it past the hive mind here to see if anybody has seen any issues
>like it themselves and have any insight into a workaround or anything
>that we could be doing wrong to be causing it.
I bet its related to "Resume", try turning it off from Sys Prefs or passing "-ApplePersistenceIgnoreState YES" as an argument at launch.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden