CGContextSetFillColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributin
Your image.size isn't valid, so UIGraphicsBeginImageContextWithOptions isn't creating a graphics context. Both image.size.width and image.size.height must be positive, finite numbers.
Possibly image itself is nil. When you send the size message to nil, you get back CGSizeZero.