Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73994

Issue with Jenkins Build Trigger Badge Plugin Causing NullPointerExceptions

XMLWordPrintable

      We're encountering frequent NullPointerException errors in Jenkins, specifically related to the Build Trigger Badge Plugin. The errors occur when Jenkins attempts to evaluate build trigger information (e.g., it.displayName and it.tooltip) but fails due to a null cause. This is impacting our builds and causing issues with displaying trigger details.

      Here are some examples of the errors:
      java.lang.NullPointerException: Cannot invoke "hudson.model.Cause.getShortDescription()" because "this.cause" is null
          at org.jenkinsci.plugins.buildtriggerbadge.BuildTriggerBadgeAction.getTooltip(BuildTriggerBadgeAction.java:24)
       

            batmat Baptiste Mathus
            hamidnk Hamid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: