Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12159

net.sf.json.JSONException: Error while setting property=list type class java.lang.String

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: mongodb-plugin
    • Labels:
      None
    • Environment:
      ubuntu 11.04, MongoDB Plugin V1.1, Jenkins V1.444
    • Similar Issues:

      Description

      I recently upgraded to V1.1 of the MongoDB plugin and now get this output on the console. This had been working previously. I have no other information other than the console output.

      Started by user anonymous
      Checkout:workspace / /var/lib/jenkins/jobs/pauptV010_mongodb/workspace - hudson.remoting.LocalChannel@5a9e260c
      Using strategy: Default
      Last Built Revision: Revision b58adf1121ae8a12f28a11affee152f854665d26 (origin/pauptV010_mongodb)
      Checkout:workspace / /var/lib/jenkins/jobs/pauptV010_mongodb/workspace - hudson.remoting.LocalChannel@5a9e260c
      Fetching changes from 1 remote Git repository
      Fetching upstream changes from file:///srv/gitosis/git/endspring2.git
      Commencing build of Revision 01b2cf424dff728c030b5ef4cbf904e864ec7729 (origin/pauptV010_mongodb)
      Checking out Revision 01b2cf424dff728c030b5ef4cbf904e864ec7729 (origin/pauptV010_mongodb)
      ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      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
      project=hudson.maven.MavenModuleSet@17898b92[pauptV010_mongodb]
      project.getModules()=[hudson.maven.MavenModule@154ebadd[pauptV010_mongodb/com.forddaniel.end:end-adapters][pauptV010_mongodb/com.forddaniel.end:end-adapters][relativePath:end-adapters], hudson.maven.MavenModule@63ce0e18[pauptV010_mongodb/com.forddaniel.end:end-core][pauptV010_mongodb/com.forddaniel.end:end-core][relativePath:end-core], hudson.maven.MavenModule@6cff7cd8[pauptV010_mongodb/com.forddaniel.end:end-document-model][pauptV010_mongodb/com.forddaniel.end:end-document-model][relativePath:end-document-model], hudson.maven.MavenModule@795d80cf[pauptV010_mongodb/com.forddaniel.end:end-model][pauptV010_mongodb/com.forddaniel.end:end-model][relativePath:end-parent/end-model], hudson.maven.MavenModule@69b3d448[pauptV010_mongodb/com.forddaniel.end:end-parent][pauptV010_mongodb/com.forddaniel.end:end-parent][relativePath:end-parent], hudson.maven.MavenModule@1d35f92f[pauptV010_mongodb/com.forddaniel.end:end-persist-api][pauptV010_mongodb/com.forddaniel.end:end-persist-api][relativePath:end-parent/end-persist-api], hudson.maven.MavenModule@427a8ba4[pauptV010_mongodb/com.forddaniel.end:end-persist-document-api][pauptV010_mongodb/com.forddaniel.end:end-persist-document-api][relativePath:end-persist-document-api], hudson.maven.MavenModule@7b65de14[pauptV010_mongodb/com.forddaniel.end:end-persist-eclipselink][pauptV010_mongodb/com.forddaniel.end:end-persist-eclipselink][relativePath:end-parent/end-persist-eclipselink], hudson.maven.MavenModule@5cd73256[pauptV010_mongodb/com.forddaniel.end:end-persist-mongodb][pauptV010_mongodb/com.forddaniel.end:end-persist-mongodb][relativePath:end-persist-mongodb], hudson.maven.MavenModule@281827c9[pauptV010_mongodb/com.forddaniel.end:end-service-api][pauptV010_mongodb/com.forddaniel.end:end-service-api][relativePath:end-service-api], hudson.maven.MavenModule@49dc11af[pauptV010_mongodb/com.forddaniel.end:end-service-impl][pauptV010_mongodb/com.forddaniel.end:end-service-impl][relativePath:end-service-impl], hudson.maven.MavenModule@f0d1e0b[pauptV010_mongodb/com.forddaniel.end:end-util-logging][pauptV010_mongodb/com.forddaniel.end:end-util-logging][relativePath:end-util-logging], hudson.maven.MavenModule@262f6be5[pauptV010_mongodb/com.forddaniel.end:end-util-testing][pauptV010_mongodb/com.forddaniel.end:end-util-testing][relativePath:end-util-testing], hudson.maven.MavenModule@73549af8[pauptV010_mongodb/com.forddaniel.end:end-web][pauptV010_mongodb/com.forddaniel.end:end-web][relativePath:end-parent/end-web]]
      project.getRootModule()=hudson.maven.MavenModule@69b3d448[pauptV010_mongodb/com.forddaniel.end:end-parent][pauptV010_mongodb/com.forddaniel.end:end-parent][relativePath:end-parent]
      FATAL: Error while setting property=list type class java.lang.String
      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

      Help us localize this page

        Attachments

          Activity

          Hide
          pcornelissen Patrick Cornelißen added a comment - - edited

          I am getting an similar error after I upgraded to 1.448 when I start a build on my local git repo

          Gestartet durch Benutzer anonymous
          Building in workspace /var/lib/jenkins/jobs/camarotis/workspace
          Checkout:workspace / /var/lib/jenkins/jobs/camarotis/workspace - hudson.remoting.LocalChannel@3dd4ab05
          Using strategy: Default
          Last Built Revision: Revision d60fdd932580755750d24f7e47c3259fae82c186 (origin/HEAD, origin/master)
          FATAL: Error while setting property=list type class java.lang.String
          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 hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:515)
          at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:173)
          at hudson.plugins.git.GitSCM.checkout(GitSCM.java:948)
          at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
          at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465)
          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)
          ... 18 more

          Show
          pcornelissen Patrick Cornelißen added a comment - - edited I am getting an similar error after I upgraded to 1.448 when I start a build on my local git repo Gestartet durch Benutzer anonymous Building in workspace /var/lib/jenkins/jobs/camarotis/workspace Checkout:workspace / /var/lib/jenkins/jobs/camarotis/workspace - hudson.remoting.LocalChannel@3dd4ab05 Using strategy: Default Last Built Revision: Revision d60fdd932580755750d24f7e47c3259fae82c186 (origin/HEAD, origin/master) FATAL: Error while setting property=list type class java.lang.String 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 hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:515) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:173) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:948) at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465) 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) ... 18 more

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            webdaford Daniel Ford
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: