Skip to content

v0.1.4.2-getCompilerErrors-fix

Pre-release
Pre-release
Compare
Choose a tag to compare
@neowit neowit released this 09 Jun 11:42
· 842 commits to master since this release

getCompilerErrors() in SFDC Orgs starting Summer'14 return values as JSON arrays instead of normal value (string or number). Attached release includes a workaround which works with both Spring 14 and Summer 14 Orgs.

If you are getting java.lang.ClassCastException: scala.util.parsing.json.JSONArray cannot be cast to java.lang.String when trying to deploy Apex Class with syntax error(s) then you are affected by this behaviour change and upgrade of tooling-force.com jar to v0.1.4.2 should fix this.