Kingston
Aspiring developer
Profile
Posts: 118
Reg: Feb 01, 2013
New York
1,180
12/30/15 10:26 AM (8 years ago)

There was a problem reading the required data.

Hi, I am using Buzztouch 3.0 to develop my apps. One of my iOS app is now displaying an error that "There was a problem reading the required data". Previously it was working fine. Please find the log below. 2015-12-30 12:03:27.914 sanantoniorealestateterilucas[58724:3555502] BT_device: INIT 2015-12-30 12:03:27.914 sanantoniorealestateterilucas[58724:3555502] BT_device: Unique UUID exists: 5B42D626-4805-4B02-BA3A-BD48035F3B75 2015-12-30 12:03:27.915 sanantoniorealestateterilucas[58724:3555502] BT_device: This device is NOT an iPad. 2015-12-30 12:03:27.915 sanantoniorealestateterilucas[58724:3555502] BT_device: This device can make phone calls 2015-12-30 12:03:27.919 sanantoniorealestateterilucas[58724:3555502] BT_device: This device can send emails 2015-12-30 12:03:27.919 sanantoniorealestateterilucas[58724:3555502] BT_device: This device cannot send SMS (text) messages 2015-12-30 12:03:27.919 sanantoniorealestateterilucas[58724:3555502] BT_device: This device can report it's location 2015-12-30 12:03:27.920 sanantoniorealestateterilucas[58724:3555502] BT_device: This device cannot take pictures or videos 2015-12-30 12:03:27.920 sanantoniorealestateterilucas[58724:3555502] BT_device: Listing custom fonts (UIAppFonts) listed in app's .plist... 2015-12-30 12:03:27.920 sanantoniorealestateterilucas[58724:3555502] BT_user: INIT 2015-12-30 12:03:28.004 sanantoniorealestateterilucas[58724:3555502] BT_user: User is not logged in 2015-12-30 12:03:28.004 sanantoniorealestateterilucas[58724:3555502] BT_application: INIT 2015-12-30 12:03:28.012 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: INIT 2015-12-30 12:03:28.021 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: viewDidLoad (super) 2015-12-30 12:03:28.021 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: viewDidLoad 2015-12-30 12:03:28.021 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:28.022 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:28.022 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:28.023 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:28.023 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:28.025 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: viewWillAppear (super) 2015-12-30 12:03:28.037 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: configureNavBar (super) for screen with itemId: loadConfigDataScreen 2015-12-30 12:03:28.040 sanantoniorealestateterilucas[58724:3555502] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "(null)" does not use a navBarBackgroundColor 2015-12-30 12:03:28.042 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: configureBackground (super) for screen with itemId loadConfigDataScreen: 2015-12-30 12:03:28.043 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: fadeInOnEntry (super): 2015-12-30 12:03:28.045 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: viewWillAppear 2015-12-30 12:03:28.048 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: applicationDidBecomeActive 2015-12-30 12:03:28.054 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: viewDidAppear 2015-12-30 12:03:28.060 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: networkTypeChanged. rootDevice is connected to the network: WiFi 2015-12-30 12:03:29.559 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: loadAppData 2015-12-30 12:03:29.560 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: Will use the default JSON configuration file "BT_config.txt" if a newer version is not cached on the device. 2015-12-30 12:03:29.561 sanantoniorealestateterilucas[58724:3555502] BT_fileManager: File does not exist in cached directory: "cachedAppConfig.txt" 2015-12-30 12:03:29.561 sanantoniorealestateterilucas[58724:3555502] BT_fileManager: File does exist in Xcode bundle: "BT_config.txt" 2015-12-30 12:03:29.561 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: Parsing JSON data included in the project bundle: "BT_config.txt" 2015-12-30 12:03:29.562 sanantoniorealestateterilucas[58724:3555502] BT_fileManager: readTextFileFromBundleWithEncoding: "BT_config.txt" encoding: -1 2015-12-30 12:03:29.562 sanantoniorealestateterilucas[58724:3555502] BT_application: validateApplicationData 2015-12-30 12:03:29.564 sanantoniorealestateterilucas[58724:3555502] BT_application: The application data appears to be valid. 2015-12-30 12:03:29.564 sanantoniorealestateterilucas[58724:3555502] BT_application: parseJSONData: parsing application data 2015-12-30 12:03:29.566 sanantoniorealestateterilucas[58724:3555502] BT_application: parsing themes, count: 1 2015-12-30 12:03:29.566 sanantoniorealestateterilucas[58724:3555502] BT_application: parsing tabs, count: 1 2015-12-30 12:03:29.566 sanantoniorealestateterilucas[58724:3555502] BT_application: parsing menus, count: 0 2015-12-30 12:03:29.566 sanantoniorealestateterilucas[58724:3555502] BT_application: parsing screens, count: 19 2015-12-30 12:03:29.567 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: downloadAppData 2015-12-30 12:03:29.567 sanantoniorealestateterilucas[58724:3555502] BT_strings: mergeBTVariablesInString (before): http://app.appbuilderonline.com/BT-server/api/app/?command=getAppData&appGuid=EA66FAACC0E5D9D875EA94A70&apiKey=9D5FC00AF455308D7A28086&apiSecret=5F4AAB19208319C7C1F9ECA 2015-12-30 12:03:29.567 sanantoniorealestateterilucas[58724:3555502] BT_strings: mergeBTVariablesInString (after merge): http://app.appbuilderonline.com/BT-server/api/app/?command=getAppData&appGuid=EA66FAACC0E5D9D875EA94A70&apiKey=9D5FC00AF455308D7A28086&apiSecret=5F4AAB19208319C7C1F9ECA 2015-12-30 12:03:29.568 sanantoniorealestateterilucas[58724:3555502] BT_downloader: INIT 2015-12-30 12:03:29.568 sanantoniorealestateterilucas[58724:3555502] BT_downloader: downloadFile: http://app.appbuilderonline.com/BT-server/api/app/?command=getAppData&appGuid=EA66FAACC0E5D9D875EA94A70&apiKey=9D5FC00AF455308D7A28086&apiSecret=5F4AAB19208319C7C1F9ECA 2015-12-30 12:03:29.568 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: downloadFileStarted: starting download... 2015-12-30 12:03:30.030 sanantoniorealestateterilucas[58724:3555502] BT_fileManager: saveTextFileToCacheWithEncoding: "cachedAppConfig.txt" encodingFlag: -1 2015-12-30 12:03:30.031 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: downloadFileCompleted 2015-12-30 12:03:30.032 sanantoniorealestateterilucas[58724:3555502] BT_fileManager: saveTextFileToCacheWithEncoding: "cachedAppConfig.txt" encodingFlag: -1 2015-12-30 12:03:30.047 sanantoniorealestateterilucas[58724:3555502] BT_application: validateApplicationData 2015-12-30 12:03:30.049 sanantoniorealestateterilucas[58724:3555502] BT_application: ERROR parsing JSON in validateApplicationData: ( "Error Domain=org.brautaset.JSON.ErrorDomain Code=5 "Unescaped control character '0xa'" UserInfo={NSLocalizedDescription=Unescaped control character '0xa'}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: emailMessage" UserInfo={NSLocalizedDescription=Object value expected for key: emailMessage, NSUnderlyingError=0x7fe6e04b86d0 {Error Domain=org.brautaset.JSON.ErrorDomain Code=5 "Unescaped control character '0xa'" UserInfo={NSLocalizedDescription=Unescaped control character '0xa'}}}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo={NSLocalizedDescription=Expected value while parsing array, NSUnderlyingError=0x7fe6e04b8700 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: emailMessage" UserInfo={NSLocalizedDescription=Object value expected for key: emailMessage, NSUnderlyingError=0x7fe6e04b86d0 {Error Domain=org.brautaset.JSON.ErrorDomain Code=5 "Unescaped control character '0xa'" UserInfo={NSLocalizedDescription=Unescaped control character '0xa'}}}}}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_screens" UserInfo={NSLocalizedDescription=Object value expected for key: BT_screens, NSUnderlyingError=0x7fe6e04b8880 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo={NSLocalizedDescription=Expected value while parsing array, NSUnderlyingError=0x7fe6e04b8700 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: emailMessage" UserInfo={NSLocalizedDescription=Object value expected for key: emailMessage, NSUnderlyingError=0x7fe6e04b86d0 {Error Domain=org.brautaset.JSON.ErrorDomain Code=5 "Unescaped control character '0xa'" UserInfo=0x7fe6e04b8610 (not displayed)}}}}}}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo={NSLocalizedDescription=Expected value while parsing array, NSUnderlyingError=0x7fe6e04b8940 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_screens" UserInfo={NSLocalizedDescription=Object value expected for key: BT_screens, NSUnderlyingError=0x7fe6e04b8880 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo={NSLocalizedDescription=Expected value while parsing array, NSUnderlyingError=0x7fe6e04b8700 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: emailMessage" UserInfo=0x7fe6e04b87c0 (not displayed)}}}}}}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_items" UserInfo={NSLocalizedDescription=Object value expected for key: BT_items, NSUnderlyingError=0x7fe6e04b89c0 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo={NSLocalizedDescription=Expected value while parsing array, NSUnderlyingError=0x7fe6e04b8940 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_screens" UserInfo={NSLocalizedDescription=Object value expected for key: BT_screens, NSUnderlyingError=0x7fe6e04b8880 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo=0x7fe6e04b8840 (not displayed)}}}}}}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_appConfig" UserInfo={NSLocalizedDescription=Object value expected for key: BT_appConfig, NSUnderlyingError=0x7fe6e04b8aa0 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_items" UserInfo={NSLocalizedDescription=Object value expected for key: BT_items, NSUnderlyingError=0x7fe6e04b89c0 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo={NSLocalizedDescription=Expected value while parsing array, NSUnderlyingError=0x7fe6e04b8940 {Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_screens" UserInfo=0x7fe6e04b88c0 (not displayed)}}}}}}" ) 2015-12-30 12:03:30.050 sanantoniorealestateterilucas[58724:3555502] BT_application: validateApplicationData: ERROR: There was a problem parsing some JSON data. Please make sure that it is well-formed. 2015-12-30 12:03:30.051 sanantoniorealestateterilucas[58724:3555502] BT_fileManager: deleteFile: "cachedAppConfig.txt" 2015-12-30 12:03:30.052 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: error parsing downloaded app config data 2015-12-30 12:03:30.052 sanantoniorealestateterilucas[58724:3555502] BT_loadConfigDataViewController: showAlert 2015-12-30 12:03:30.056 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.057 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.057 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.057 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.058 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.058 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.059 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.059 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.096 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.096 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.097 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.097 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.097 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.098 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.098 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.106 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow 2015-12-30 12:03:30.172 sanantoniorealestateterilucas[58724:3555502] sanantoniorealestateterilucas_appDelegate: supportedInterfaceOrientationsForWindow Kindly provide me a solution.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/30/15 11:31 AM (8 years ago)
Check your characters and quote marks to ensure they are valid. Your JSON may 'look' valid, and it may even get through jsonlint. But the wrong quote mark will error out, as well as certain odd characters. Good Luck! Cheers! -- Smug
 
Kingston
Aspiring developer
Profile
Posts: 118
Reg: Feb 01, 2013
New York
1,180
like
12/30/15 12:34 PM (8 years ago)
Hi, But this app was working two days ago and no changes were made. The Android version of this app is also working fine. Please find the screenshot my screen http://jmp.sh/v/jApBnC42e2eGslV5Iv71
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
12/31/15 03:23 AM (8 years ago)
Smug, has given you wise words. The following extract is the clue to where I would start looking: 2015-12-30 12:03:30.049 sanantoniorealestateterilucas[58724:3555502] BT_application: ERROR parsing JSON in validateApplicationData: ( "Error Domain=org.brautaset.JSON.ErrorDomain Code=5 "Unescaped control character '0xa'" UserInfo={NSLocalizedDescription=Unescaped control character '0xa'}",
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
12/31/15 05:45 AM (8 years ago)
I had this error two days ago... Turns out that there was one additional space (blank character) in the JSON file. Did you run your JSON file through the json lint checker like this one here: http://jsonlint.com/ Something is wrong with the JSON file, so check it out.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.