java.lang.NullPointerException

Jenkins JIRA | Daniel Kirkdorffer | 1 year ago
  1. 0

    The Token Macro Plugin is throwing NPE's after upgrading Jenkins from 1.624 -> 1.638 We are seeing the following NPE when the Editable Email Plugin attempts to do its thing. {code} Nov 18, 2015 12:05:37 AM hudson.plugins.emailext.plugins.ContentBuilder transformText SEVERE: null java.lang.NullPointerException at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:180) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:72) at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:659) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:538) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244) 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.cleanUp(Build.java:195) at hudson.model.Run.execute(Run.java:1785) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {code} I also see the following when I create a free style job and try to click the tokenizer help !screenshot-1.png! Email Extension Plugin: 2.39 I know that 2.40.5 exists I could try that one out tonight when people are not running jobs. Token Macro Plugin: 1.11 I know that 1.12 exists I could try that one out tonight when people are not running jobs.

    Jenkins JIRA | 1 year ago | Daniel Kirkdorffer
    java.lang.NullPointerException
  2. 0

    The Token Macro Plugin is throwing NPE's after upgrading Jenkins from 1.624 -> 1.638 We are seeing the following NPE when the Editable Email Plugin attempts to do its thing. {code} Nov 18, 2015 12:05:37 AM hudson.plugins.emailext.plugins.ContentBuilder transformText SEVERE: null java.lang.NullPointerException at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:180) at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:72) at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:659) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:538) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244) 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.cleanUp(Build.java:195) at hudson.model.Run.execute(Run.java:1785) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {code} I also see the following when I create a free style job and try to click the tokenizer help !screenshot-1.png! Email Extension Plugin: 2.39 I know that 2.40.5 exists I could try that one out tonight when people are not running jobs. Token Macro Plugin: 1.11 I know that 1.12 exists I could try that one out tonight when people are not running jobs.

    Jenkins JIRA | 1 year ago | Daniel Kirkdorffer
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. 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 org.jenkinsci.plugins.tokenmacro.TokenMacro.expand()
    2. Token Macro Plugin
      TokenMacro.expandAll
      1. org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:180)
      2. org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233)
      2 frames
    3. Hudson Email Extension Plugin
      ExtendedEmailPublisher.perform
      1. hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:72)
      2. hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:659)
      3. hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:538)
      4. hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306)
      5. hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297)
      6. hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244)
      6 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      4. hudson.model.Build$BuildExecution.cleanUp(Build.java:195)
      5. hudson.model.Run.execute(Run.java:1785)
      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