java.lang.NullPointerException

Jenkins JIRA | Jonathan Langevin | 2 years 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

    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}

    Jenkins JIRA | 2 years ago | Jonathan Langevin
    java.lang.NullPointerException
  2. 0

    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}

    Jenkins JIRA | 2 years ago | Jonathan Langevin
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at com.cloudbees.jenkins.plugins.AdditionalIdentityResolver.resolveCanonicalId()
    2. com.cloudbees.jenkins
      AdditionalIdentityResolver.resolveCanonicalId
      1. com.cloudbees.jenkins.plugins.AdditionalIdentityResolver.resolveCanonicalId(AdditionalIdentityResolver.java:42)
      1 frame
    3. Hudson
      User.get
      1. hudson.model.User.get(User.java:384)
      1 frame
    4. Hudson Email Extension Plugin
      ExtendedEmailPublisher.perform
      1. hudson.plugins.emailext.EmailRecipientUtils.convertRecipientString(EmailRecipientUtils.java:82)
      2. hudson.plugins.emailext.EmailRecipientUtils.addAddressesFromRecipientList(EmailRecipientUtils.java:166)
      3. hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:618)
      4. hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:335)
      5. hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:326)
      6. hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:234)
      6 frames
    5. 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:1805)
      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