Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 #1

Open
mamcx opened this issue Jan 14, 2012 · 0 comments
Open

<Error>: CGContextSetStrokeColorWithColor: invalid context 0x0 #1

mamcx opened this issue Jan 14, 2012 · 0 comments

Comments

@mamcx
Copy link

mamcx commented Jan 14, 2012

When the badge is draw a lot of error at diferents methods that say "invalid context 0x0" happend:

: CGContextSaveGState: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextSetAlpha: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextBeginTransparencyLayerWithRect: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextSaveGState: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextSetFillColorWithColor: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextMoveToPoint: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextClosePath: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextDrawPath: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextRestoreGState: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextSaveGState: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextSetStrokeColorWithColor: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextSetLineWidth: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextMoveToPoint: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextAddArc: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextClosePath: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextDrawPath: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextRestoreGState: invalid context 0x0
Jan 14 13:44:26 ??[1765] : CGContextEndTransparencyLayer: invalid context 0x0

Some info at http://stackoverflow.com/questions/3571053/cgcontext-cgbitmapcontextcreateimage-errors-how-to-fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant