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

Improper parsing of KW 9.2 results file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • klocwork-plugin
    • None

      After update to 1.12 Klocwork plugin is no longer able to properly parse report from Klocwork 9.2. The same issue exists in 1.13 version of the plugin. I have Klocwork 9.2 installed and the plugin improperly detects KW 9.6

      I get following error from Jenkins log:

      Starting the klocwork analysis.
      Version 9.6 or later of Klocwork detected. Only Klocwork review is available. Parse_errors.log and build.log can be accessed on the review
      ERROR: Publisher com.thalesgroup.hudson.plugins.klocwork.KloPublisher aborted due to exception
      java.lang.NullPointerException
      at com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:141)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
      at hudson.model.Run.execute(Run.java:1527)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:236)

            gbois Gregory Boissinot
            ratm Mirek Gwiżdż
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: