'object' is an array. Use JSONArray instead

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web79

Stack trace

  • net.sf.json.JSONException: 'object' is an array. Use JSONArray instead at net.sf.json.JSONObject.fromObject( at net.sf.json.JSONObject.fromObject( at com.waytta.Utils.validateFunctionCall( at com.waytta.SaltAPIBuilder.perform( at hudson.tasks.BuildStepMonitor$1.perform( at hudson.model.AbstractBuild$AbstractBuildExecution.perform( at hudson.model.Build$ at hudson.model.Build$BuildExecution.doRun( at hudson.model.AbstractBuild$ at hudson.model.Run.execute( at at hudson.model.ResourceController.execute( at

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,