-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
AdoptOpenJDK jre-8.0.282.8-hotspot
Jenkins 2.277.1
Warnings Next Generation Plugin 8.10.1
Analysis Model API Plugin 9.8.1
Checks API plugin 1.7.0
DataTables.net API Plugin 1.10.23-3
ECharts API Plugin 5.0.1-1
Forensics API Plugin 1.0.0
Git Forensics Plugin 1.0.0
Plugin Utilities API Plugin 2.1.0
Jackson 2 API Plugin 2.12.1AdoptOpenJDK jre-8.0.282.8-hotspot Jenkins 2.277.1 Warnings Next Generation Plugin 8.10.1 Analysis Model API Plugin 9.8.1 Checks API plugin 1.7.0 DataTables.net API Plugin 1.10.23-3 ECharts API Plugin 5.0.1-1 Forensics API Plugin 1.0.0 Git Forensics Plugin 1.0.0 Plugin Utilities API Plugin 2.1.0 Jackson 2 API Plugin 2.12.1
On the web page of a branch of a multibranch project, the warnings trend chart does not render. Instead, there is a placeholder with a progress ring and the text "loading". The developer tools in the Web browser show HTTP status 500 from a POST /jenkins/$stapler/bound/6d08ec1b-ebf8-4765-ad4e-b89a4089ea71/getBuildTrendModel request, and the Jenkins log shows various exceptions, depending on plugin and JVM versions and perhaps other things:
- java.lang.NoClassDefFoundError: edu/hm/hafner/echarts/LineSeries
- java.lang.LinkageError: edu.hm.hafner.echarts.LineSeries
- java.lang.LinkageError: A duplicate class definition for edu/hm/hafner/echarts/JacksonFacade is found
- java.lang.LinkageError: loader (instance of hudson/ClassicPluginStrategy$AntClassLoader2): attempted duplicate class definition for name: "edu/hm/hafner/echarts/JacksonFacade"
The classes edu.hm.hafner.echarts.LineSeries and edu.hm.hafner.echarts.JacksonFacade are defined in both plugins/echarts-api/WEB-INF/lib/echarts-api.jar and plugins/echarts-api/WEB-INF/lib/echarts-build-trends-2.0.0.jar. Those jar files are included in plugins/echarts-api.jpi (ECharts API Plugin 5.0.1-1). This seems to be a bug in that plugin, then.
$ unzip -l plugins/echarts-api/WEB-INF/lib/echarts-build-trends-2.0.0.jar Archive: plugins/echarts-api/WEB-INF/lib/echarts-build-trends-2.0.0.jar Length Date Time Name --------- ---------- ----- ---- 221 2020-05-13 01:12 META-INF/MANIFEST.MF 0 2020-05-13 01:12 META-INF/ 0 2020-05-13 01:12 edu/ 0 2020-05-13 01:12 edu/hm/ 0 2020-05-13 01:12 edu/hm/hafner/ 0 2020-05-13 01:12 edu/hm/hafner/echarts/ 0 2020-05-13 01:12 META-INF/maven/ 0 2020-05-13 01:12 META-INF/maven/edu.hm.hafner/ 0 2020-05-13 01:12 META-INF/maven/edu.hm.hafner/echarts-build-trends/ 1287 2020-05-13 01:12 edu/hm/hafner/echarts/ChartModelConfiguration.class 2914 2020-05-13 01:12 edu/hm/hafner/echarts/LineSeries.class 13228 2020-05-13 01:12 edu/hm/hafner/echarts/SeriesBuilder.class 4002 2020-05-13 01:12 edu/hm/hafner/echarts/LinesDataSet.class 2313 2020-05-13 01:12 edu/hm/hafner/echarts/Palette.class 2168 2020-05-13 01:12 edu/hm/hafner/echarts/ResultTime.class 976 2020-05-13 01:12 edu/hm/hafner/echarts/BuildResult.class 2743 2020-05-13 01:12 edu/hm/hafner/echarts/LinesChartModel.class 1247 2020-05-13 01:12 edu/hm/hafner/echarts/ChartModelConfiguration$AxisType.class 3454 2020-05-13 01:12 edu/hm/hafner/echarts/PercentagePieChart.class 283 2020-05-13 01:12 edu/hm/hafner/echarts/package-info.class 1490 2020-05-13 01:12 edu/hm/hafner/echarts/PieData.class 1689 2020-05-13 01:12 edu/hm/hafner/echarts/PieChartModel.class 1917 2020-05-13 01:12 edu/hm/hafner/echarts/LocalDateLabel.class 2111 2020-05-13 01:12 edu/hm/hafner/echarts/Build.class 1073 2020-05-13 01:12 edu/hm/hafner/echarts/JacksonFacade.class 579 2020-05-13 01:12 edu/hm/hafner/echarts/AreaStyle.class 485 2020-05-13 01:12 edu/hm/hafner/echarts/ItemStyle.class 1176 2020-05-13 01:12 edu/hm/hafner/echarts/LineSeries$StackedMode.class 1159 2020-05-13 01:12 edu/hm/hafner/echarts/LineSeries$FilledMode.class 1496 2020-05-13 01:12 edu/hm/hafner/echarts/TimeFacade.class 4969 2020-05-13 01:12 META-INF/maven/edu.hm.hafner/echarts-build-trends/pom.xml 68 2020-05-13 01:12 META-INF/maven/edu.hm.hafner/echarts-build-trends/pom.properties --------- ------- 53048 32 files
$ unzip -l plugins/echarts-api/WEB-INF/lib/echarts-api.jar Archive: plugins/echarts-api/WEB-INF/lib/echarts-api.jar Length Date Time Name --------- ---------- ----- ---- 0 2021-03-03 18:04 META-INF/ 808 2021-03-03 18:04 META-INF/MANIFEST.MF 0 2021-03-03 18:04 edu/ 0 2021-03-03 18:04 edu/hm/ 0 2021-03-03 18:04 edu/hm/hafner/ 0 2021-03-03 18:04 edu/hm/hafner/echarts/ 0 2021-03-03 18:04 io/ 0 2021-03-03 18:04 io/jenkins/ 0 2021-03-03 18:04 io/jenkins/plugins/ 0 2021-03-03 18:04 io/jenkins/plugins/echarts/ 0 2021-03-03 18:04 charts/ 1287 2020-05-13 01:12 edu/hm/hafner/echarts/ChartModelConfiguration.class 2914 2020-05-13 01:12 edu/hm/hafner/echarts/LineSeries.class 13228 2020-05-13 01:12 edu/hm/hafner/echarts/SeriesBuilder.class 4002 2020-05-13 01:12 edu/hm/hafner/echarts/LinesDataSet.class 2313 2020-05-13 01:12 edu/hm/hafner/echarts/Palette.class 2168 2020-05-13 01:12 edu/hm/hafner/echarts/ResultTime.class 976 2020-05-13 01:12 edu/hm/hafner/echarts/BuildResult.class 2743 2020-05-13 01:12 edu/hm/hafner/echarts/LinesChartModel.class 1247 2020-05-13 01:12 edu/hm/hafner/echarts/ChartModelConfiguration$AxisType.class 3454 2020-05-13 01:12 edu/hm/hafner/echarts/PercentagePieChart.class 283 2020-05-13 01:12 edu/hm/hafner/echarts/package-info.class 1490 2020-05-13 01:12 edu/hm/hafner/echarts/PieData.class 1689 2020-05-13 01:12 edu/hm/hafner/echarts/PieChartModel.class 1917 2020-05-13 01:12 edu/hm/hafner/echarts/LocalDateLabel.class 2111 2020-05-13 01:12 edu/hm/hafner/echarts/Build.class 1073 2020-05-13 01:12 edu/hm/hafner/echarts/JacksonFacade.class 579 2020-05-13 01:12 edu/hm/hafner/echarts/AreaStyle.class 485 2020-05-13 01:12 edu/hm/hafner/echarts/ItemStyle.class 1176 2020-05-13 01:12 edu/hm/hafner/echarts/LineSeries$StackedMode.class 1159 2020-05-13 01:12 edu/hm/hafner/echarts/LineSeries$FilledMode.class 1496 2020-05-13 01:12 edu/hm/hafner/echarts/TimeFacade.class 877 2021-03-03 18:04 io/jenkins/plugins/echarts-common.jelly 863 2021-03-03 18:04 io/jenkins/plugins/echarts.jelly 3815 2021-03-03 18:04 io/jenkins/plugins/echarts/BuildActionIterator.class 3078 2021-03-03 18:04 io/jenkins/plugins/echarts/AsyncTrendJobAction.class 2209 2021-03-03 18:04 io/jenkins/plugins/echarts/BuildActionIterator$ActionSelector.class 307 2021-03-03 18:04 io/jenkins/plugins/echarts/AsyncTrendChart.class 877 2021-03-03 18:04 io/jenkins/plugins/echarts-simple.jelly 0 2021-03-03 18:04 charts/taglib 1485 2021-03-03 18:04 charts/trend-chart.jelly 1476 2021-03-03 18:04 charts/pie-chart.jelly 1373 2021-03-03 18:04 charts/progress-chart.jelly 0 2021-03-03 18:04 META-INF/maven/ 0 2021-03-03 18:04 META-INF/maven/io.jenkins.plugins/ 0 2021-03-03 18:04 META-INF/maven/io.jenkins.plugins/echarts-api/ 5608 2021-03-03 18:04 META-INF/maven/io.jenkins.plugins/echarts-api/pom.xml 116 2021-03-03 18:04 META-INF/maven/io.jenkins.plugins/echarts-api/pom.properties --------- ------- 70682 48 files
- relates to
-
JENKINS-65766 java.lang.LinkageError: ... attempted duplicate class definition for name: ...
- Closed
-
JENKINS-64864 LinkageError loader attempted duplicate class definition
- Resolved
-
JENKINS-65510 attempted duplicate class definition for name: "com/cloudbees/plugins/credentials/CredentialsMatcher$CQL"
- Resolved
- links to