java.lang.ClassCastException: hudson.model.StringParameterValue cannot be cast to org.jenkinsci.plugins.jobgenerator.parameters.GeneratorKeyValueParameterValue

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 Jenkins JIRA by Morne Joubert, 1 year ago
hudson.model.StringParameterValue cannot be cast to org.jenkinsci.plugins.jobgenerator.parameters.GeneratorKeyValueParameterValue
via Jenkins JIRA by Morne Joubert, 1 year ago
hudson.model.StringParameterValue cannot be cast to org.jenkinsci.plugins.jobgenerator.parameters.GeneratorKeyValueParameterValue
java.lang.ClassCastException: hudson.model.StringParameterValue cannot be cast to org.jenkinsci.plugins.jobgenerator.parameters.GeneratorKeyValueParameterValue
at org.jenkinsci.plugins.jobgenerator.GeneratorRun.expand(GeneratorRun.java:164)
at org.jenkinsci.plugins.jobgenerator.GeneratorRun$ExpandVarsVisitor.visit(GeneratorRun.java:799)
at org.dom4j.tree.AbstractText.accept(AbstractText.java:46)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractElement.accept(AbstractElement.java:208)
at org.dom4j.tree.AbstractDocument.accept(AbstractDocument.java:130)
at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:339)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535)
at hudson.model.Run.execute(Run.java:1732)
at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:284)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:234)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

Users with the same issue

You are the first who have seen this exception.

Write tip

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