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

NullPointerException when a project's builds don't all have parameter data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Project was created without the "This build is parameterized" option, a few builds were ran, and then the parameter option got turned on and a few more builds were ran.

      Here is the relevant part of the NullPointerException report:

      Caused by: java.lang.NullPointerException
      	at com.nullin.jenkins.spbr.SimpleParameterizedBuildsReportAction.getParameterValues(SimpleParameterizedBuildsReportAction.java:102)
      	at com.nullin.jenkins.spbr.SimpleParameterizedBuildsReportAction.getBuildsMap(SimpleParameterizedBuildsReportAction.java:76)
      	at com.nullin.jenkins.spbr.SimpleParameterizedBuildsReportAction$getBuildsMap.call(Unknown Source)
      	at com.nullin.jenkins.spbr.SimpleParameterizedBuildsReportAction.index.showTable(index.groovy:24)
      	at com.nullin.jenkins.spbr.SimpleParameterizedBuildsReportAction.index.this$6$showTable(index.groovy)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      

            nullin Nalin Makar
            jwagner Justin Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: