groovy.lang.MissingPropertyException: No such property: hudson for class: Script1

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

Samebug tips

,
via Stack Overflow by Erik Pragt

Is thrown when you are using a variable outside of its scope or you haven't defined that variable or the variable's capital/simple changes. If that's not the case, declare a variable of that name like this ex:

def manager = "my manager" 

Solutions on the web

via Jenkins JIRA by Michael Pereira, 1 year ago
No such property: hudson for class: Script1
via Jenkins JIRA by Michael Pereira, 1 year ago
No such property: hudson for class: Script1
via Jenkins JIRA by Adam Daughterson, 1 year ago
No such property: hudson for class: Script1
via jenkins-ci.org by Unknown author, 2 years ago
via Jenkins JIRA by Adam Daughterson, 1 year ago
No such property: hudson for class: Script1
via jenkins-ci.org by Unknown author, 2 years ago
No such property: hudson for class: Script1
groovy.lang.MissingPropertyException: No such property: hudson for class: Script1
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at undefined.Script1.run(Script1.groovy:1)
at hudson.matrix.FilterScript.evaluate(FilterScript.java:36)
at hudson.matrix.FilterScript.apply(FilterScript.java:73)
at hudson.matrix.Combination.evalGroovyExpression(Combination.java:101)
at hudson.plugins.matrix_configuration_parameter.DefaultMatrixCombinationsParameterValue.combinationExists(DefaultMatrixCombinationsParameterValue.java:73)
at hudson.plugins.matrix_configuration_parameter.MatrixCombinationsParameterMatrixBuildListener.doBuildConfiguration(MatrixCombinationsParameterMatrixBuildListener.java:57)
at hudson.matrix.listeners.MatrixBuildListener.buildConfiguration(MatrixBuildListener.java:70)
at hudson.matrix.DefaultMatrixExecutionStrategyImpl.filterConfigurations(DefaultMatrixExecutionStrategyImpl.java:185)
at hudson.matrix.DefaultMatrixExecutionStrategyImpl.run(DefaultMatrixExecutionStrategyImpl.java:121)
at hudson.matrix.MatrixBuild$MatrixBuildExecution.doRun(MatrixBuild.java:357)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1709)
at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

Users with the same issue

Once, 1 day ago
2 times, 1 month ago
2 times, 1 month ago
Once, 1 month ago
7 times, 5 months ago

Write tip

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