java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty

Jenkins JIRA | madhukar kasireddy | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I have several free style projects and i am seeing this error from last couple of days *Randomly* . Please find below the error trace . I did not come across any working solution anywhere . Please help !! Started by an SCM change Building on master in workspace /home/cmsbuild/Workspace/middletier > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url git@gitlab.ins.risk.regn.net:cmd/middletier.git # timeout=10 Fetching upstream changes from git@gitlab.ins.risk.regn.net:cmd/middletier.git > /usr/bin/git --version # timeout=10 using GIT_SSH to set credentials > /usr/bin/git -c core.askpass=true fetch --tags --progress git@gitlab.ins.risk.regn.net:cmd/middletier.git +refs/heads/*:refs/remotes/origin/* > /usr/bin/git rev-parse refs/remotes/origin/test_CI^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/test_CI^{commit} # timeout=10 Checking out Revision a2fa4a0cfae39d50d51d01d46190891f879b6d8a (refs/remotes/origin/test_CI) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a2fa4a0cfae39d50d51d01d46190891f879b6d8a > /usr/bin/git rev-list 2b4d0c33e20ba201fd0896b75223555f005dde98 # timeout=10 FATAL: hudson/tasks/Mailer$UserProperty java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty at hudson.plugins.git.GitChangeLogParser.parseCommit(GitChangeLogParser.java:77) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:71) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:48) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:29) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:927) at hudson.model.AbstractBuild.access$600(AbstractBuild.java:104) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:619) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.ClassNotFoundException: hudson.tasks.Mailer$UserProperty at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 13 more ERROR: Step ‘E-mail Notification’ aborted due to exception: java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty at hudson.plugins.git.GitChangeLogParser.parseCommit(GitChangeLogParser.java:77) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:71) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:48) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:29) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:927) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:895) at hudson.tasks.MailSender.getChangeSet(MailSender.java:215) at hudson.tasks.MailSender.appendBuildUrl(MailSender.java:252) at hudson.tasks.MailSender.createFailureMail(MailSender.java:267) at hudson.tasks.MailSender.createMail(MailSender.java:180) at hudson.tasks.MailSender.run(MailSender.java:109) at hudson.tasks.Mailer.perform(Mailer.java:170) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:76) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.ClassNotFoundException: hudson.tasks.Mailer$UserProperty at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 22 more FATAL: hudson/tasks/Mailer$UserProperty java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty at hudson.plugins.git.GitChangeLogParser.parseCommit(GitChangeLogParser.java:77) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:71) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:48) at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:29) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:927) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:895) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:349) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:672) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.ClassNotFoundException: hudson.tasks.Mailer$UserProperty at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 12 more Finished: FAILURE

    Jenkins JIRA | 10 months ago | madhukar kasireddy
    java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty
  2. 0

    [JIRA] [tfs-plugin] (JENKINS-32395) Exception thrown when TFS plugin does SCM polling to TFS (on Jenkins version 1.643)

    Google Groups | 1 year ago | patrice.huot@schneider-electric.com (JIRA)
    java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Here is the error shown in the logs (not that it also occur from time to time when I manually launch the build.). Jan 11, 2016 1:28:01 PM SEVERE hudson.triggers.SCMTrigger$Runner runPolling Failed to record SCM polling for hudson.model.FreeStyleProject@3ad7e6a5[BuildIPadForTestFairy] java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty at hudson.plugins.tfs.model.Project.getOrCreateUserLookup(Project.java:112) at hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:81) at hudson.plugins.tfs.model.Project.getLatestChangeset(Project.java:165) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:498) at hudson.scm.SCM.poll(SCM.java:398) at hudson.model.AbstractProject._poll(AbstractProject.java:1453) at hudson.model.AbstractProject.poll(AbstractProject.java:1356) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: hudson.tasks.Mailer$UserProperty at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 15 more

    Jenkins JIRA | 1 year ago | patrice huot
    java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty
  5. 0

    Here is the error shown in the logs (not that it also occur from time to time when I manually launch the build.). Jan 11, 2016 1:28:01 PM SEVERE hudson.triggers.SCMTrigger$Runner runPolling Failed to record SCM polling for hudson.model.FreeStyleProject@3ad7e6a5[BuildIPadForTestFairy] java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty at hudson.plugins.tfs.model.Project.getOrCreateUserLookup(Project.java:112) at hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:81) at hudson.plugins.tfs.model.Project.getLatestChangeset(Project.java:165) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:498) at hudson.scm.SCM.poll(SCM.java:398) at hudson.model.AbstractProject._poll(AbstractProject.java:1453) at hudson.model.AbstractProject.poll(AbstractProject.java:1356) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: hudson.tasks.Mailer$UserProperty at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 15 more

    Jenkins JIRA | 1 year ago | patrice huot
    java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty

  1. davidvanlaatum 22 times, last 12 months ago
  2. poroszd 1 times, last 7 months ago
25 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. java.lang.ClassNotFoundException

    hudson.tasks.Mailer$UserProperty

    at jenkins.util.AntClassLoader.findClassInComponents()
  2. jenkins.util
    AntClassLoader.loadClass
    1. jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
    2. jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
    3. jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
    3 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    1 frame
  4. Hudson GIT plugin
    GitChangeLogParser.parse
    1. hudson.plugins.git.GitChangeLogParser.parseCommit(GitChangeLogParser.java:77)
    2. hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:71)
    3. hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:48)
    4. hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:29)
    4 frames
  5. Hudson
    Executor.run
    1. hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:927)
    2. hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:895)
    3. hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:349)
    4. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:672)
    5. hudson.model.Run.execute(Run.java:1763)
    6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    7. hudson.model.ResourceController.execute(ResourceController.java:98)
    8. hudson.model.Executor.run(Executor.java:410)
    8 frames