Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
01/13/14 11:22 AM (11 years ago)

Getting Error when app launches: There was a problem reading some required data

I’m clearing JSONLint in the green… but getting the following error in the log on app load —— BT_application: validateApplicationData 2014-01-13 02:09:11.570 allthingspll[26887:70b] BT_application: ERROR parsing JSON in validateApplicationData: ( "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected ':' separating key and value" UserInfo=0xd59e0d0 {NSLocalizedDescription=Expected ':' separating key and value}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo=0xd59e150 {NSUnderlyingError=0xd59e110 "Expected ':' separating key and value", NSLocalizedDescription=Expected value while parsing array}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_screens" UserInfo=0xd59e190 {NSUnderlyingError=0xd59e170 "Expected value while parsing array", NSLocalizedDescription=Object value expected for key: BT_screens}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Expected value while parsing array" UserInfo=0xd59e1d0 {NSUnderlyingError=0xd59e1b0 "Object value expected for key: BT_screens", NSLocalizedDescription=Expected value while parsing array}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_items" UserInfo=0xd59e210 {NSUnderlyingError=0xd59e1f0 "Expected value while parsing array", NSLocalizedDescription=Object value expected for key: BT_items}", "Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Object value expected for key: BT_appConfig" UserInfo=0xd59e270 {NSUnderlyingError=0xd59e230 "Object value expected for key: BT_items", NSLocalizedDescription=Object value expected for key: BT_appConfig}" ) 2014-01-13 02:09:11.571 allthingspll[26887:70b] BT_application: validateApplicationData: ERROR: There was a problem parsing some JSON data. Please make sure that it is well-formed. —— And the following on the device: "There was a problem reading some required data. Try Again? No/Yes” Config.txt is here: https://minbox.com/gi/arO8olfQkA/original Thanks €
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/13/14 03:36 PM (11 years ago)
I would try copying the latest config.txt into the project and try launching again.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/13/14 05:18 PM (11 years ago)
Your config.txt file is json compliant, but wow. I don't think I've seen so many parsing errors… it's almost like the app can't find it. It *is* added, right? I can't imagine why it would not be. You may need to download another package to ensure it was a good download… for sure 'something' isn't right. Time to start eliminating possibilities… Cheers! -- Smug
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
01/13/14 10:56 PM (11 years ago)
Tried..and gave up. Note to self… don’t wait too late before downloading and testing. makes it easier to track issues
 

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.