Project: appceleratorstudio
Issue TISTUD-6915: java.lang.ClassCastException: org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray
From http://www.appcelerator.com/blog/2014/09/titanium-sdk-3-4-0-beta-for-ios-8-now-available/#div-comment-71550 We’ve been running Java 8 with it since 8 was released. We’ve heard mention that we need specific versions like 6 or 7 installed by various parties before, but traditionally that was because of Android limitations. There is instead likely a `ti info` bug like TISTUD-6909 but on the iOS side. Somehow the CLI is giving us different JSON values than we’ve traditionally received (i.e. Numbers where they used to be strings, objects where they used to be arrays). We couldn’t reproduce it locally for 6909, but were able to test and fix based on the user’s ti info output. In this case, we are guessing we used to get an array and now get an object, but without the output we don’t know where. Please run: {code} titanium info -t ios -o json {code} So we can generate a test case for it, and fix it.
Story points: 3