SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-583

Do not log errors when filter name is missing

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JIRA-0.2
    • Fix Version/s: JIRA-0.2.1
    • Component/s: Jira
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The filter name must be set in the project settings page from Sonar UI. But this page is available only when the project has been analyzed.
      Because of the filter name is never set before the first analysis, it generates the following error :

      [ERROR]  Error accessing Jira web service, please verify the parameters
      java.lang.NullPointerException
      	at org.sonar.plugins.jira.JiraSensor.analyze(JiraSensor.java:89) [na:na]
      	at org.sonar.plugins.jira.JiraSensor.analyse(JiraSensor.java:65) [na:na]
      	at org.sonar.batch.SensorsExecutor.execute(SensorsExecutor.java:58) [sonar-batch-2.3-SNAPSHOT.jar:na]
      

        Activity

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Simon Brandhof
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: