java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

GitHub | vjuranek | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 45#244181520

    GitHub | 8 months ago | vjuranek
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.lang.String

      at org.jenkinsci.plugins.radargun.config.ScriptSource.prepareEnvVars()
    2. org.jenkinsci.plugins
      RadarGunBuilder.perform
      1. org.jenkinsci.plugins.radargun.config.ScriptSource.prepareEnvVars(ScriptSource.java:97)
      2. org.jenkinsci.plugins.radargun.config.ScriptSource.getNodeCmdLine(ScriptSource.java:60)
      3. org.jenkinsci.plugins.radargun.config.ScriptSource.getMasterCmdLine(ScriptSource.java:76)
      4. org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.getMasterCmdLine(RgMasterProcessImpl.java:67)
      5. org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.createRunner(RgMasterProcessImpl.java:38)
      6. org.jenkinsci.plugins.radargun.model.impl.AbstractRgProcess.start(AbstractRgProcess.java:21)
      7. org.jenkinsci.plugins.radargun.RadarGunBuilder.perform(RadarGunBuilder.java:145)
      7 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      3. hudson.model.Build$BuildExecution.build(Build.java:199)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
      6. hudson.model.Run.execute(Run.java:1745)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:89)
      9. hudson.model.Executor.run(Executor.java:240)
      9 frames