jenkinsci/cccc-plugin — pull request #1 by mlinnosk (2011-11-24 14:45:47+00:00)
Title: https://issues.jenkins-ci.org/browse/JENKINS-10769

This commit "fixes" the issue mentioned in the topic. The code commented out in the commit seems to have no effect, since it's all inside the try-catch clause, unless it has side effects. I would have fixed the code propperly but couldn't guess what method actually should be reflected and what object should be used in the invoce call.

The actual cause is the typo in the reflection method name and causes the following stack trace in Jenkins:

com.thalesgroup.hudson.plugins.cccc.CCCCException: java.lang.NoSuchMethodException: com.thalesgroup.hudson.plugins.cccc.model.ProjectSummary.nbNodules()
at com.thalesgroup.hudson.plugins.cccc.CcccChartBuilder.buildDataset(CcccChartBuilder.java:143)
at com.thalesgroup.hudson.plugins.cccc.CcccChartBuilder.createGraph(CcccChartBuilder.java:63)
at hudson.util.Graph.render(Graph.java:87)
at hudson.util.Graph.doPng(Graph.java:98)
at com.thalesgroup.hudson.plugins.cccc.CcccProjectAction.doGraph(CcccProjectAction.java:123)
...