net.sf.json.JSONException

Error while setting property=list type class java.lang.String

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web41

  • via Jenkins JIRA by Daniel Ford, 1 year ago
    Error while setting property=list type class java.lang.String
  • via Jenkins JIRA by Patrick Cornelißen, 1 year ago
    Error while setting property=list type class java.lang.String
  • via Jenkins JIRA by Daniel Ford, 1 year ago
    Error while setting property=list type class java.lang.String
  • Stack trace

    • net.sf.json.JSONException: Error while setting property=list type class java.lang.String at net.sf.json.JSONObject.toBean(JSONObject.java:581) at net.sf.json.JSONObject.toBean(JSONObject.java:383) at net.sf.json.JSONObject.toBean(JSONObject.java:250) at hudson.tools.DownloadFromUrlInstaller$DescriptorImpl.getInstallables(DownloadFromUrlInstaller.java:151) at hudson.tools.DownloadFromUrlInstaller.getInstallable(DownloadFromUrlInstaller.java:54) at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:63) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:150) at org.jenkinsci.plugins.mongodb.MongoDBInstallation.forNode(MongoDBInstallation.java:39) at org.jenkinsci.plugins.mongodb.MongoBuildWrapper.setUp(MongoBuildWrapper.java:91) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:605) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:462) at hudson.model.Run.run(Run.java:1404) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: net.sf.ezmorph.MorphException: target class is an array at net.sf.ezmorph.bean.BeanMorpher.validateClass(BeanMorpher.java:192) at net.sf.ezmorph.bean.BeanMorpher.<init>(BeanMorpher.java:70) at net.sf.ezmorph.bean.BeanMorpher.<init>(BeanMorpher.java:59) at net.sf.json.JSONObject.toBean(JSONObject.java:503) ... 16 more

    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

    You’re the first here who have seen this exception.