• 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
Save panel exception: "parentForItemsInColumn: is not supported for browsers with matrix delegates"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Save panel exception: "parentForItemsInColumn: is not supported for browsers with matrix delegates"


  • Subject: Save panel exception: "parentForItemsInColumn: is not supported for browsers with matrix delegates"
  • From: Gideon King <email@hidden>
  • Date: Mon, 15 Aug 2011 08:03:39 +1000

Hi, I have the following code to run a save panel:

	NSSavePanel *sp = [NSSavePanel savePanel];
	[sp setExtensionHidden:NO];

	[sp setTitle:NSLocalizedString(@"Export image to PNG file", @"")];
	[sp setRequiredFileType:@"png"];
	[sp setAccessoryView:bitmapAccessoryView];
	[sp beginSheetModalForWindow:[document windowForSheet] completionHandler:^(NSInteger result) {
		if (result == NSOKButton) {
			[self exportBitmapToFile:[[sp URL] path] usingBitmapImageType:NSPNGFileType];
		}
		[self cleanupFromExportOfType:exportType];
	}];

When running on Lion, some users are getting the following exception: parentForItemsInColumn: is not supported for browsers with matrix delegates

The trace is as follows:

0 CoreFoundation 0x00007fff8608c986 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8581ed5e objc_exception_throw + 43
2 AppKit 0x00007fff8b854ecd -[NSBrowser itemAtIndexPath:] + 0
3 FinderKit 0x00007fff89456843 -[FI_TColumnView addColumn] + 110
4 AppKit 0x00007fff8b83c665 -[NSBrowser loadColumnZero] + 103
5 FinderKit 0x00007fff89459f5b -[FI_TColumnViewController openTarget] + 1228
6 FinderKit 0x00007fff89498db7 -[FIFinderViewGutsController commonFinishInitialization] + 103
7 FinderKit 0x00007fff89495629 -[FIFinderViewGutsController buildBrowserView:] + 167
8 FinderKit 0x00007fff89495af1 -[FIFinderViewGutsController setTargetPath:withViewStyle:] + 635
9 FinderKit 0x00007fff894964a4 -[FIFinderViewGutsController setViewStyle:] + 439
10 Foundation 0x00007fff8a794706 _NSSetObjectValueAndNotify + 261
11 FinderKit 0x00007fff8949b5b9 -[FIFinderView setViewStyle:] + 253
12 AppKit 0x00007fff8ba893ae -[NSSavePanel beginSheetModalForWindow:completionHandler:] + 56
13 NovaMind5 0x0000000100098f80 -[NMExporter exportDocument:toFileOfType:] + 6080


I am unable to reproduce the problem here, but have had the problem reported by several people running Lion.

Is there something I am doing wrong in my code? Could this be a Lion bug?


Thanks


Gideon

_______________________________________________

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

  • Prev by Date: Sandboxing and NSTask
  • Next by Date: Re: Sandboxing and NSTask
  • Previous by thread: Re: Sandboxing and NSTask
  • Next by thread: Re:Problem printing offscreen PDFViews
  • Index(es):
    • Date
    • Thread