>       [savePanel beginSheetModalForWindow:[self windowForSheet] 
> completionHandler:completionHandler];
> 
> 
> Anyone else come across this issue? My understanding is that with sandboxing, 
> the save panel is a bit more involved since it has to open up holes in the 
> sandbox on behalf of the user, but in this case it's actually inside the 
> sandbox.


More info - I just noticed that this is getting logged.

31/05/12 9:54:01.793 AM com.apple.security.pboxd: *** -[__NSArrayM 
insertObject:atIndex:]: object cannot be nil
31/05/12 9:54:01.793 AM com.apple.security.pboxd: 2012-05-31 09:54:01.792 
com.apple.security.pboxd[15928:1707] *** -[__NSArrayM insertObject:atIndex:]: 
object cannot be nil
31/05/12 9:54:01.794 AM com.apple.security.pboxd: (
        0   CoreFoundation                      0x00007fff8983ef56 
__exceptionPreprocess + 198
        1   libobjc.A.dylib                     0x00007fff89d41d5e 
objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff897e5ab8 -[__NSArrayM 
insertObject:atIndex:] + 296
        3   com.apple.security.pboxd            0x000000010f0eadb6 
com.apple.security.pboxd + 19894
        4   FinderKit                           0x00007fff8e2eb4e3 
-[FIFinderViewGutsController browserSelectionChanged] + 93
        5   FinderKit                           0x00007fff8e263af2 
-[FI_TBrowserViewController selectionChangedByUserAction:] + 130
        6   FinderKit                           0x00007fff8e2b4a86 
-[FI_TColumnViewController selectionChangedByUserAction:] + 91
        7   FinderKit                           0x00007fff8e2b8ac7 
_ZN17StColumnOptimizerD2Ev + 153
        8   FinderKit                           0x00007fff8e2b0a0d 
-[FI_TColumnViewController openTarget] + 1301
        9   FinderKit                           0x00007fff8e2efb82 
-[FIFinderViewGutsController commonFinishInitialization] + 103
        10  FinderKit                           0x00007fff8e2ec387 
-[FIFinderViewGutsController buildBrowserView:] + 167
        11  FinderKit                           0x00007fff8e2ec84f 
-[FIFinderViewGutsController setTargetPath:withViewStyle:] + 635
        12  FinderKit                           0x00007fff8e2ed21e 
-[FIFinderViewGutsController setViewStyle:] + 467
        13  Foundation                          0x00007fff8de9ac46 
_NSSetObjectValueAndNotify + 261
        14  FinderKit                           0x00007fff8e2f2389 
-[FIFinderView setViewStyle:] + 253
        15  AppKit                              0x00007fff8b389cd7 
-[NSSavePanel beginWithCompletionHandler:] + 88
        16  com.apple.security.pboxd            0x000000010f0e985f 
com.apple.security.pboxd + 14431
        17  RemoteViewServices                  0x00007fff89e8d4d3 
__45-[NSRemoteServiceConnection _setupConnection]_block_invoke_0141 + 69
        18  CoreFoundation                      0x00007fff897f3dfc 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
        19  CoreFoundation                      0x00007fff897abf02 
__CFRunLoopDoBlocks + 322
        20  CoreFoundation                      0x00007fff897d3fa7 
__CFRunLoopRun + 2023
        21  CoreFoundation                      0x00007fff897d3486 
CFRunLoopRunSpecific + 230
        22  HIToolbox                           0x00007fff8a0964d3 
RunCurrentEventLoopInMode + 277
        23  HIToolbox                           0x00007fff8a09d781 
ReceiveNextEventCommon + 355
        24  HIToolbox                           0x00007fff8a09d60e 
BlockUntilNextEventMatchingListInMode + 62
        25  AppKit                              0x00007fff8ae52e31 
_DPSNextEvent + 659
        26  AppKit                              0x00007fff8ae52735 
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
        27  AppKit                              0x00007fff8ae4f071 
-[NSApplication run] + 470
        28  com.apple.security.pboxd            0x000000010f0e8a35 
com.apple.security.pboxd + 10805
        29  com.apple.security.pboxd            0x000000010f0e73e4 
com.apple.security.pboxd + 5092
)


So, internally the panel is throwing an exception, due to a nil object. But 
why? what am I doing wrong here?

--Graham





_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to