FXBlurView icon indicating copy to clipboard operation
FXBlurView copied to clipboard

Error messages in the console

Open RomainBoulay opened this issue 10 years ago • 10 comments

I'm using FXBlurView above a collection view. The result seems good but I'm having a lot of error messages in the console. I'm not animating the FXBlurView, I also tried without subclassing it and I still have the warnings.

My FXBlurView is instantiated by a nib and linked to the VC via an outlet. I don't believe I'm doing something wrong here.

Here's the console output:

Mar 10 12:17:57 <Error>: CGContextTranslateCTM: 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.
Mar 10 12:17:57 <Error>: CGContextSaveGState: 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.
Mar 10 12:17:57 <Error>: CGContextSaveGState: 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.
Mar 10 12:17:57 <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.
[...]

Thanks for your help ;) Cheers.

RomainBoulay avatar Mar 10 '14 11:03 RomainBoulay

Same here.

mongoose54 avatar Mar 10 '14 15:03 mongoose54

These should now be fixed in version 1.6. If you are still seeing them, please let me know.

nicklockwood avatar Mar 25 '14 22:03 nicklockwood

Same here.

Configuration: Yosemite Beta, Xcode 6, and last version of FXBlurView.

rvi avatar Oct 07 '14 22:10 rvi

Same, Using v 1.6.2

mattapperson avatar Oct 24 '14 18:10 mattapperson

I create pull request to fix this issue. Check my pull request to fix this issue before release.

Reference is below. http://iphonedevsdk.com/forum/iphone-sdk-development/31239-cgbitmapcontextcreate-unsupported-parameter-combination-is-drivin-me-nuts.html

kmy504 avatar Dec 03 '14 18:12 kmy504

Thanks ! :+1:

rvi avatar Dec 04 '14 09:12 rvi

@kmy504 Doesn't fix it for me. I still get these errors:

<Error>: CGContextRestoreGState: 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.
<Error>: CGContextRestoreGState: 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.
<Error>: CGContextSetBaseCTM: 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.
<Error>: CGContextRestoreGState: 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.
<Error>: CGContextSaveGState: 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.
<Error>: CGContextGetBaseCTM: 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.
<Error>: CGContextConcatCTM: 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.
<Error>: CGContextSetBaseCTM: 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.
<Error>: CGContextSaveGState: 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.
<Error>: CGContextSaveGState: 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.
<Error>: CGContextConcatCTM: 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.
<Error>: CGContextConcatCTM: 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.
<Error>: CGContextClipToRect: 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.
<Error>: CGContextDrawImage: 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.

rvi avatar Dec 05 '14 10:12 rvi

You can checkout my pull request, I don't have the warning anymore with my fix : https://github.com/rvi/FXBlurView/commits/master

rvi avatar Dec 05 '14 10:12 rvi

@rvi I fixed this method ( - (UIImage *)blurredImageWithRadius:(CGFloat)radius iterations:(NSUInteger)iterations tintColor:(UIColor *)tintColor)

Maybe your editing code is not duplicated from mine.

Thx~

kmy504 avatar Dec 08 '14 07:12 kmy504

@kmy504 No it's not duplicated.

Here are my changes : https://github.com/nicklockwood/FXBlurView/pull/87/files

rvi avatar Dec 08 '14 09:12 rvi