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

Method Execution Trend Chart not shown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • testng-plugin
    • None

      In newest version of the plugin the Method Execution Trend Chart is not shown (see image BugTestNG.png).

      In the JS console the folowing errors are shown:

      GET http://jenkinsurl/job/ourjob/349/testngreports/pathToTest/graph 500 (Server Error)
      
      AND
      
      GET http://jenkinsurl/job/ourjob/349/testngreports/pathToTest/graphMap 500 (Server Error) 

      Looking at the jenkins server log it shows the following corresponding errors:

      Error while serving http://jenkinsurl/job/ourjob/349/testngreports/pathToTest/graph
      java.lang.NullPointerException
          at hudson.plugins.testng.results.BaseResult.getDynamic(BaseResult.java:77)
          at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
          at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:398)
      Caused: java.lang.reflect.InvocationTargetException
      ...
      
      AND
      
      Error while serving http://jenkinsurl/job/ourjob/349/testngreports/pathToTest/graphMap
      java.lang.NullPointerException
          at hudson.plugins.testng.results.BaseResult.getDynamic(BaseResult.java:77)
          at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
          at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:398)
      Caused: java.lang.reflect.InvocationTargetException
      ... 

       

      The graph used to work with version 1.15.

      Also the Trend in the Build overview is showing an empty graph (see image BugTestNG2.png). Maybe this a connected.

        1. BugTestNG.png
          6 kB
          Markus Krüger
        2. BugTestNG2.png
          6 kB
          Markus Krüger

            Unassigned Unassigned
            benzman81 Markus Krüger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: