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

Cppncss graph is not painted when Treshold values are empty

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cppncss-plugin
    • None

      There is a java.lang.NullPointerException in GraphHelper.java if functionCcnViolationThreshold and functionNcssViolationThreshold are not defined in job configuration (When the 2 treshold fields associated with cppncss configuration are empty which is the default)
      The result is that the cppncss graph is not painted

          [JENKINS-21511] Cppncss graph is not painted when Treshold values are empty

          franck bonin created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153413 ] New: JNJira + In-Review [ 178515 ]

          Arno Moonen added a comment -

          I'm also seeing this behavior.

          Arno Moonen added a comment - I'm also seeing this behavior.

          Arno Moonen added a comment -

          Added PR on GitHub to fix this issue: https://github.com/jenkinsci/cppncss-plugin/pull/1

          Arno Moonen added a comment - Added PR on GitHub to fix this issue: https://github.com/jenkinsci/cppncss-plugin/pull/1

          Arno Moonen added a comment -

          Looks like the plug-in needs some more work.

          Arno Moonen added a comment - Looks like the plug-in needs some more work.
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Oleg Nenashev added a comment -

          I hit it while working on JENKINS-49237. Maybe this is also JENKINS-11436

          Oleg Nenashev added a comment - I hit it while working on JENKINS-49237 . Maybe this is also JENKINS-11436
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - I proposed a fix in https://github.com/jenkinsci/cppncss-plugin/pull/2
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/cppncss-plugin/pull/2 (Web Link)" [ 19993 ]

            oleg_nenashev Oleg Nenashev
            fbonin franck bonin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: