1.Application type: mobile
2.Titanium:3.4.1.GA
3.Platform & version: Android x.x,
4.Device:Android emulator or Samsung Galaxy s3
5.Host Operating System: Windows 8.1
6.Titanium Studio: Titanium Studio, build: 3.4.1.201410281727 (c) Copyright 2012-2014 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-202 (origin/master) Date: 28 October 2014, 17:28:23
hey guys ive compiled and app and its ruunnig great however i have been having an issue with logining from my titanium based app, to the api on my sever. when ever i attempt to login with my credentials i get errors such as
[ERROR] : V8Exception: Exception occurred at ui/core/services/servicebase.js:1: Uncaught TypeError: Cannot read property 'ErrorMessage' of undefined [ERROR] : XMLModule: (KrollRuntimeThread) [52504,52504] Error parsing XML [ERROR] : XMLModule: org.xml.sax.SAXParseException: Unexpected token (position:TEXT []@1:3 in java.io.InputStreamReader@426131b0) [ERROR] : XMLModule: at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:146) [ERROR] : XMLModule: at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:107)and like a billion other errors including TiHTTPClient.java:700), more xml errors. So i ran a debug on titainium and according to the report, they are all tied and are related with my servicebased.js
ServiceBase.Request.POST.Ti.Network.createHTTPClient.onload() [servicebase.js:1]
ServiceBase.ErrorHandle.throwErrorMessage() [servicebase.js:1]
ServiceBase.Request.validateJsonError() [servicebase.js:1
I am new at this and am requesting help finding out how to go about fixing this.