my little app is sending me this error in the Titanium console.. its a simple form asking for user and password.
<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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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] : Jan 28 10:49:39 sistemas-02-w-pc.geacorporativo iArcangel[9323] <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.
And this is the code:
var textPassword = Ti.UI.createTextField({ borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, passwordMask: true, value: password, top: '14%', left: '35%', width: '60%', height: 30 }); winConfig.add( textPassword ); var lblstatus = Titanium.UI.createLabel({ top: '45%', text: "...", color: color_barra, font: {fontSize:14,fontFamily:fuente_general}, textAlign:'center', width:'90%', height: 'auto' }); winConfig.add( lblstatus ); var btnLogin = Titanium.UI.createButton({ title: 'Conectar', top: '25%', width: '90%', height: 40 }); if( isiOS7Plus() ) { btnLogin.setBorderColor( color_barra ); btnLogin.setBorderRadius( radioArcoBoton ); btnLogin.setBackgroundColor( color_barra ); btnLogin.setColor( color_texto_titulo ); } btnLogin.addEventListener('click',function(e) { Conectar(); }); winConfig.add(btnLogin);
i am clue less !!!
thanks in advance..