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

Jenkins JIRA | Adam Daughterson | 3 years ago
  1. 0

    Updated to 1.563 this morning and no jobs will load. Errors in log are: SEVERE: Failed Loading job Trunk 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) at 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:2592) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:904) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) May 13, 2014 8:14:21 AM jenkins.InitReactorRunner$1 onTaskFailed

    Jenkins JIRA | 3 years ago | Adam Daughterson
    groovy.lang.MissingPropertyException: No such property: hudson for class: Script1
  2. 0

    Updated to 1.563 this morning and no jobs will load. Errors in log are: SEVERE: Failed Loading job Trunk 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) at 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:2592) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:904) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) May 13, 2014 8:14:21 AM jenkins.InitReactorRunner$1 onTaskFailed

    Jenkins JIRA | 3 years ago | Adam Daughterson
    groovy.lang.MissingPropertyException: No such property: hudson for class: Script1
  3. 0

    [JENKINS-22863] All matrix jobs disappeared after upgrade to 1.562 - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    groovy.lang.MissingPropertyException: No such property: hudson for class: Script1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-22879] Fail to load Matrix Project - Jenkins JIRA

    jenkins-ci.org | 11 months ago
    groovy.lang.MissingPropertyException: No such property: hudson for class: Script1
  6. 0

    Hi, I upgraded a jenkins installation to 1.562 today, which made all matrix jobs disappear from the front page, i.e. they can no longer be viewed or run. Here's a snippet from the logs: May 04, 2014 6:19:43 PM SEVERE jenkins.InitReactorRunner$1 onTaskFailed Failed Loading job foo 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) at 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 org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) 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) This is with jenkins 1.562 (from the Debian package from jenkins-ci.org). The new Matrix Project Plugin (version 1.0) is installed and enabled. Please let me know if there is a temporary workaround to make the jobs accessible again and/or what the proper fix for this is. The job files are still there (/var/lib/jenkins/jobs/foo/config.xml etc).

    Jenkins JIRA | 3 years ago | Uwe Hermann
    groovy.lang.MissingPropertyException: No such property: hudson for class: Script1

  1. serious2monkeys 5 times, last 2 weeks ago
  2. kjhdofjosvs 2 times, last 3 weeks ago
  3. rlovtangen 1 times, last 1 month ago
  4. stigkj 1 times, last 1 month ago
  5. tvrmsmith 2 times, last 1 month ago
9 more registered users
19 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. groovy.lang.MissingPropertyException

    No such property: hudson for class: Script1

    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap()
  2. Groovy
    AbstractCallSite.callGroovyObjectGetProperty
    1. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
    2. org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
    3 frames
  3. Unknown
    Script1.run
    1. Script1.run(Script1.groovy:1)
    1 frame
  4. Hudson
    Items.load
    1. hudson.matrix.FilterScript.evaluate(FilterScript.java:36)
    2. hudson.matrix.FilterScript.apply(FilterScript.java:73)
    3. hudson.matrix.Combination.evalGroovyExpression(Combination.java:101)
    4. hudson.matrix.Combination.evalGroovyExpression(Combination.java:91)
    5. hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:637)
    6. hudson.matrix.MatrixProject.onLoad(MatrixProject.java:504)
    7. hudson.model.Items.load(Items.java:273)
    7 frames
  5. jenkins.model
    Jenkins$18.run
    1. jenkins.model.Jenkins$18.run(Jenkins.java:2592)
    1 frame
  6. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    2 frames
  7. jenkins.model
    Jenkins$7.runTask
    1. jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
    1 frame
  8. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    2 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames