groovy.lang.MissingPropertyException: No such property: changeSet for class: SimpleTemplateScript35

Jenkins JIRA | Jon Starbird | 2 years ago
  1. 0

    Slightly modified the original html.jelly template, I removed the Artifacts portion, and it works fine when running the Test Email Template option. However when run from a build I get the following Exception on any build it is run against, every build does have a Change Set which does appear fine when run in Test mode. I've also attached the Template I am using: Exception raised during template rendering: No such property: changeSet for class: SimpleTemplateScript35 groovy.lang.MissingPropertyException: No such property: changeSet for class: SimpleTemplateScript35 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 SimpleTemplateScript35.run(SimpleTemplateScript35.groovy:45) at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTemplateEngine.java:165) at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.toString(SimpleTemplateEngine.java:177) at hudson.plugins.emailext.plugins.content.ScriptContent.renderTemplate(ScriptContent.java:216) at hudson.plugins.emailext.plugins.content.ScriptContent.evaluate(ScriptContent.java:85) at org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:189) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:182) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:72) at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:659) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:538) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1791) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Jenkins JIRA | 2 years ago | Jon Starbird
    groovy.lang.MissingPropertyException: No such property: changeSet for class: SimpleTemplateScript35
  2. 0

    Exceptions on resolving transient dependencies

    GitHub | 2 years ago | Burbaka
    groovy.lang.MissingPropertyException: No such property: baseDir for class: setup_device_types_api
  3. 0

    Titan 0.3.1 doesn't work with examples in /wiki/Graph-Configuration

    GitHub | 3 years ago | yvesx
    groovy.lang.MissingPropertyException: No such property: conf for class: groovysh_evaluate
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MissingPropertyException: No such property: Error in Groovy script

    Stack Overflow | 3 years ago | MPH
    groovy.lang.MissingPropertyException: No such property: XmlExamples for class: Script1
  6. 0

    I cant acces to static content of my HomePage inheritance from geb.Page

    Stack Overflow | 2 years ago | Cesar Ivan Murillo Sandoval
    groovy.lang.MissingPropertyException: No such property: loginLink for class: FirstTest

  1. serious2monkeys 5 times, last 1 week 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: changeSet for class: SimpleTemplateScript35

    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
    SimpleTemplateScript35.run
    1. SimpleTemplateScript35.run(SimpleTemplateScript35.groovy:45)
    1 frame
  4. Groovy
    SimpleTemplateEngine$SimpleTemplate$1.toString
    1. groovy.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTemplateEngine.java:165)
    2. groovy.text.SimpleTemplateEngine$SimpleTemplate$1.toString(SimpleTemplateEngine.java:177)
    2 frames
  5. Hudson Email Extension Plugin
    ScriptContent.evaluate
    1. hudson.plugins.emailext.plugins.content.ScriptContent.renderTemplate(ScriptContent.java:216)
    2. hudson.plugins.emailext.plugins.content.ScriptContent.evaluate(ScriptContent.java:85)
    2 frames
  6. Token Macro Plugin
    TokenMacro.expandAll
    1. org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:189)
    2. org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:182)
    3. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233)
    3 frames
  7. Hudson Email Extension Plugin
    ExtendedEmailPublisher.perform
    1. hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:72)
    2. hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:659)
    3. hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:538)
    4. hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306)
    5. hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297)
    6. hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244)
    6 frames
  8. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
    4. hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
    5. hudson.model.Run.execute(Run.java:1791)
    6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    7. hudson.model.ResourceController.execute(ResourceController.java:89)
    8. hudson.model.Executor.run(Executor.java:240)
    8 frames