During a test on dynamics features I ran into a "critical" error.
As part of a messaging application which displays incoming messages on the right and outgoing messages on the left I happened across multiple errors in the console.
Console should just display LEFT or RIGHT depending on the type of message.
[INFO] : Application started
[INFO] : TIMOB14233/1.0 (3.2.0.v20131008154043.8f63fa2)
[INFO] : LEFT
[INFO] : RIGHT
[INFO] : LEFT
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetStrokeColorWithColor: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetFlatness: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextAddPath: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextDrawPath: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetFlatness: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextAddPath: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextDrawPath: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetStrokeColorWithColor: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetStrokeColorWithColor: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextGetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextFillRects: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetStrokeColorWithColor: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextGetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextFillRects: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetStrokeColorWithColor: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextGetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetBlendMode: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextFillRects: 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.
[INFO] : Oct 17 16:20:25 SDowseMBP.local TIMOB14233[80831] <Error>: CGContextSetBlendMode: 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.
[INFO] : RIGHT
I'm not sure you take care of the message. Even if it is a common log, with a "Info" level, the text is explicit {quote} 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. {quote} I think you should consider this message seriously and make Titanium stable for LTR as nobody knows what Apple will do with in a future iOS release... Just imagine that iOS8 change this notice into a fatal error? You have the opportunity to prevent a potential crash, just consider this message as serious and change priority to a higher level than "low" Thank you
[~sdowse] and others, I see references here: http://stackoverflow.com/questions/19599266/invalid-context-0x0-under-ios-7-0-and-system-degradation But a number of people report that if you reset the content and settings of the simulator, it goes away. Can you try that?
Attaching the sample code that was used for testing. *Setup:* 1. After downloading and unzipping attachment, replace the default Titanium app with this Resources content 2. Install onto device 3. Go to Messages 4. Start typing messages in the text field
+1 on this issue. Not sure how resetting the content and settings is relevant: I started to see this issue **after** I reset the simulator earlier today.
Can't reproduce at all ATM, so deferring until we get a better test case.
I am not able to reproduce the issue, used the attached application using the following environment Environment used: Tested on: Device : iPhone 5s , iOS version : 7.1.1 SDK: 3.3.0.v20140625133319 CLI version : 3.3.0-rc4 OS : MAC OSX 10.9.2 Alloy: 1.4.0-rc3 ACS: 1.0.14 npm:1.3.2 LiveView: 1.0.4 Appcelerator Studio, build: 3.3.0.201406271159 titanium-code-processor: 1.1.1 XCode : 5.1.1
Closing this issue as "Cannot Reproduce" for now, since we have been unable to see that issue appear over the last 2 years. I am pretty sure it was an issue in the iOS logs that have been fixed internally. If anyone still sees this issue - especially linked with an error - please let us know. Thanks!