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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by vjuranek
, 1 year ago
java.lang.Integer cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
at org.jenkinsci.plugins.radargun.config.ScriptSource.prepareEnvVars(ScriptSource.java:97)
at org.jenkinsci.plugins.radargun.config.ScriptSource.getNodeCmdLine(ScriptSource.java:60)
at org.jenkinsci.plugins.radargun.config.ScriptSource.getMasterCmdLine(ScriptSource.java:76)
at org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.getMasterCmdLine(RgMasterProcessImpl.java:67)
at org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.createRunner(RgMasterProcessImpl.java:38)
at org.jenkinsci.plugins.radargun.model.impl.AbstractRgProcess.start(AbstractRgProcess.java:21)
at org.jenkinsci.plugins.radargun.RadarGunBuilder.perform(RadarGunBuilder.java:145)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
at hudson.model.Run.execute(Run.java:1745)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.