I'm new to groovy, so this is a guess, but is it possible that the MethodMissingHandler in ScriptContent.Java is impacting other groovy code?

https://github.com/jenkinsci/email-ext-plugin/blob/4a6c1446ff95591a511cec527f2e5702c07a0c6d/src/main/java/hudson/plugins/emailext/plugins/content/ScriptContent.java

GroovyShell shell = createEngine(Collections.singletonMap("methodMissing", (Object)InvokerHelper.getMethodPointer(handler, "methodMissing")));
        shell.evaluate("Script.metaClass.methodMissing = methodMissing");


  • the exceptions are due to missingMethodExceptions
  • seems to happen after groovyTemplate email is sent which would execute this code
  • GroovyShell is created with the uberclassloader, would this cause metaClass changes to Script to remain and impact other functionality...
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to