org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /mnt/cns/DeviceMgmt/jenkins/scripts/JenkinsEmailer.groovy: 50: unable to resolve class hudson.tasks.Mailer.UserProperty @ line 50, column 37. if (userProp instanceof hudson.tasks.Mailer.UserProperty) ^ 1 error

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

Solutions on the web

via Jenkins JIRA by fuck you, 1 year ago
startup failed: /mnt/cns/DeviceMgmt/jenkins/scripts/JenkinsEmailer.groovy: 50: unable to resolve class hudson.tasks.Mailer.UserProperty @ line 50, column 37. if (userProp instanceof hudson.tasks.Mailer.UserProperty) ^ 1 error
via GitHub by farkaskid
, 9 months ago
startup failed: script1489642309788319590921.groovy: 1: unable to resolve class org.scribe.builder.api.FacebookApi @ line 1, column 1. import org.scribe.builder.api.FacebookApi ^ 1 error
via Stack Overflow by Siddharth Shishulkar
, 10 months ago
startup failed: script1489599921993319590921.groovy: 1: unable to resolve class org.scribe.builder.api.FacebookApi @ line 1, column 1. import org.scribe.builder.api.FacebookApi ^ 1 error
via GitHub by purpleraven
, 1 year ago
startup failed: script1479231350405936681851.groovy: 1: unable to resolve class import com.xxx.XxxType @ line 1, column 1. import import com.xxx.XxxType ^ 1 error
via GitHub by johnr-spindance
, 1 year ago
startup failed: RemoteClass: 4: unable to resolve class hudson.tasks.Mailer.UserProperty @ line 4, column 21. email = new hudson.tasks.Mailer.UserProperty('') ^ 1 error
via GitHub by zaiddabaeen
, 8 months ago
startup failed: ==> default: RemoteClass: 15: unable to resolve class SchemeRequirement ==> default: @ line 15, column 13. ==> default: new SchemeRequirement("ssh") ==> default: ^ ==> default: ==> default: 1 error ==> default:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /mnt/cns/DeviceMgmt/jenkins/scripts/JenkinsEmailer.groovy: 50: unable to resolve class hudson.tasks.Mailer.UserProperty @ line 50, column 37. if (userProp instanceof hudson.tasks.Mailer.UserProperty) ^ 1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:858)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:548)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:497)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:283)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:267)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:197)
at groovy.lang.GroovyClassLoader$parseClass.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at undefined.Script1.run(Script1.groovy:11)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
at groovy.lang.Script.evaluate(Script.java:208)
at groovy.lang.Script$evaluate.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at undefined.Script1.run(Script1.groovy:14)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:580)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
at org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder.perform(GroovyPostbuildRecorder.java:276)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:786)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:733)
at hudson.model.Run.execute(Run.java:1593)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)

Users with the same issue

4 times, 1 month ago
5 times, 3 months ago
Once, 5 months ago
Once, 6 months ago
Once, 6 months ago

Write tip

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