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

GitHub | vjuranek | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 45#244181520

    GitHub | 6 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