I am working on an App where after the user completes the "Revert to Saved…" time machine like dialog the system sends a bunch of error messages to the XCode console:
Jun 9 20:16:52 BDM-2.local Mandelbrot[36183] <Error>: CGContextClipToRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Jun 9 20:16:52 BDM-2.local Mandelbrot[36183] <Error>: CGContextSetFillColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
.
.
.
None of these graphics commands are part of my code. The document window contains an NSImageView and these errors must be the result of actions taken by the NSImageView. I haven't added QuickLook support to my document files so the App creates an instance of my NSDocument class for the file in order to present a preview. All my code does is unarchive an NSImage from the file data and call the setImage: method of the image view.
Is there something I need to do to fix this or is this a bug in Coco?