-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.89.3, testlink plugin 3.10, testlink 1.9.13
Grettings.
We have integrated Jenkins with Testlink and every thing works fine. Executing test and recollect Junit test results. But the test result trend chart is not displayed.
Investigating logs we have found the following error:
java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.Font2D.getFontMetrics(Font2D.java:415)
at java.awt.Font.defaultLineMetrics(Font.java:2176)
at java.awt.Font.getLineMetrics(Font.java:2246)
at org.jfree.chart.axis.NumberAxis.estimateMaximumTickLabelHeight(NumberAxis.java:974)
at org.jfree.chart.axis.NumberAxis.selectVerticalAutoTickUnit(NumberAxis.java:1104)
at org.jfree.chart.axis.NumberAxis.selectAutoTickUnit(NumberAxis.java:1048)
at org.jfree.chart.axis.NumberAxis.refreshTicksVertical(NumberAxis.java:1249)
at org.jfree.chart.axis.NumberAxis.refreshTicks(NumberAxis.java:1149)
at org.jfree.chart.axis.ValueAxis.reserveSpace(ValueAxis.java:788)
at org.jfree.chart.plot.CategoryPlot.calculateRangeAxisSpace(CategoryPlot.java:2650)
at org.jfree.chart.plot.CategoryPlot.calculateAxisSpace(CategoryPlot.java:2669)
at org.jfree.chart.plot.CategoryPlot.draw(CategoryPlot.java:2716)
at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1222)
at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1396)
at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1376)
at hudson.util.Graph.render(Graph.java:98)
at hudson.util.Graph.doMap(Graph.java:174)
at hudson.util.ChartUtil.generateClickableMap(ChartUtil.java:176)
at hudson.util.ChartUtil.generateClickableMap(ChartUtil.java:160)
at hudson.tasks.test.AbstractTestResultAction.doGraphMap(AbstractTestResultAction.java:312)
at hudson.tasks.test.TestResultProjectAction.doTrendMap(TestResultProjectAction.java:122)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
Aslo we can see http errors retriving two urls in the browser
GET https://JENKINSURL/job/JOBNAME/testLinkResult/graph 500 ()
prototype.js:1585 GET https://JENKINSURL/jenkinsRMMSCNS/job/JOBNAME/testLinkResult/graphMap 500 ()
request @ prototype.js:1585
prototype.js:1585 GET https:/JENKINSURL/jenkinsRMMSCNS/job/JOBNAME/test/trendMap?failureOnly=true 500 ()
Any help will be apreciated
Regards
- is related to
-
JENKINS-54319 java.lang.ArrayIndexOutOfBoundsException: 0 failed to render Test Results Graph
- Open