Details

    • Similar Issues:
    • Released As:
      1.20.4

      Description

      We receive NPEs originating from the SonarQubePointGenerator lately:

      java.lang.NullPointerException
       at jenkinsci.plugins.influxdb.generators.SonarQubePointGenerator.getSonarProjectName(SonarQubePointGenerator.java:186)
       at jenkinsci.plugins.influxdb.generators.SonarQubePointGenerator.setSonarDetails(SonarQubePointGenerator.java:77)
       at jenkinsci.plugins.influxdb.generators.SonarQubePointGenerator.hasReport(SonarQubePointGenerator.java:65)
       at jenkinsci.plugins.influxdb.InfluxDbPublicationService.perform(InfluxDbPublicationService.java:234)
       at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:357)

      and

      java.lang.NullPointerException
       at jenkinsci.plugins.influxdb.generators.SonarQubePointGenerator.getSonarProjectName(SonarQubePointGenerator.java:187)
       at jenkinsci.plugins.influxdb.generators.SonarQubePointGenerator.setSonarDetails(SonarQubePointGenerator.java:78)
       at jenkinsci.plugins.influxdb.generators.SonarQubePointGenerator.hasReport(SonarQubePointGenerator.java:66)
       at jenkinsci.plugins.influxdb.InfluxDbPublicationService.perform(InfluxDbPublicationService.java:234)
       at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:357)

      Looks like the issue is coming from this line: https://github.com/jenkinsci/influxdb-plugin/blob/3af3be64df162c190374759e7947471432e7a8b5/src/main/java/jenkinsci/plugins/influxdb/generators/SonarQubePointGenerator.java#L186

       

      Error is occurring with v1.20.2 and v1.20.3.

       

        Attachments

          Activity

          ennef Christopher Fenner created issue -
          aleksisimell Aleksi Simell made changes -
          Field Original Value New Value
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          Resolution Fixed [ 1 ]
          aleksisimell Aleksi Simell made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]
          renescheibe René Scheibe made changes -
          Released As 1.20.3
          renescheibe René Scheibe made changes -
          Released As 1.20.3 1.20.4

            People

            • Assignee:
              aleksisimell Aleksi Simell
              Reporter:
              ennef Christopher Fenner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: