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 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
via Jenkins JIRA by Uwe Hermann, 1 year ago
No such property: hudson for class: Script1
via Jenkins JIRA by Uwe Hermann, 1 year 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.matrix.Combination.evalGroovyExpression(Combination.java:91)
at hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:637)
at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:504)
at hudson.model.Items.load(Items.java:273)
at jenkins.model.Jenkins$18.run(Jenkins.java:2594)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

Once, 2 days 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.