java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When attempting to use email-ext with additional-identities-plugin installed, I get the following error: {code} Apr 30, 2015 1:58:18 PM WARNING hudson.plugins.emailext.ExtendedEmailPublisher sendMail Could not send email. java.lang.NullPointerException at com.cloudbees.jenkins.plugins.AdditionalIdentityResolver.resolveCanonicalId(AdditionalIdentityResolver.java:42) at hudson.model.User.get(User.java:384) at hudson.plugins.emailext.EmailRecipientUtils.convertRecipientString(EmailRecipientUtils.java:82) at hudson.plugins.emailext.EmailRecipientUtils.addAddressesFromRecipientList(EmailRecipientUtils.java:166) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:618) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:335) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:326) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:234) 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:1805) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code}
    via by Jonathan Langevin,
  • When attempting to use email-ext with additional-identities-plugin installed, I get the following error: {code} Apr 30, 2015 1:58:18 PM WARNING hudson.plugins.emailext.ExtendedEmailPublisher sendMail Could not send email. java.lang.NullPointerException at com.cloudbees.jenkins.plugins.AdditionalIdentityResolver.resolveCanonicalId(AdditionalIdentityResolver.java:42) at hudson.model.User.get(User.java:384) at hudson.plugins.emailext.EmailRecipientUtils.convertRecipientString(EmailRecipientUtils.java:82) at hudson.plugins.emailext.EmailRecipientUtils.addAddressesFromRecipientList(EmailRecipientUtils.java:166) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:618) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:335) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:326) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:234) 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:1805) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code}
    via by Jonathan Langevin,
    • java.lang.NullPointerException at com.cloudbees.jenkins.plugins.AdditionalIdentityResolver.resolveCanonicalId(AdditionalIdentityResolver.java:42) at hudson.model.User.get(User.java:393) at hudson.plugins.promoted_builds.Promotion.getUserId(Promotion.java:171) at hudson.plugins.promoted_builds.Promotion.getEnvironment(Promotion.java:109) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:90) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:344) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:286) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.Run.run(Run.java:1679) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:231) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408)
    No Bugmate found.