-
Bug
-
Resolution: Duplicate
-
Major
-
Jenkins in docker
Jenkins: 2.277.2
OS: Linux - 4.15.0-65-generic
---
workflow-cps-global-lib:2.18
blueocean-rest:1.24.6
pam-auth:1.6
git-client:3.7.1
blueocean:1.24.6
ant:1.11
favorite:2.3.3
durable-task:1.35
blueocean-web:1.24.6
bitbucket:1.1.27
ssh-slaves:1.31.5
pipeline-github-lib:1.0
htmlpublisher:1.25
blueocean-autofavorite:1.2.4
token-macro:2.15
display-url-api:2.3.4
workflow-durable-task-step:2.38
cloudbees-bitbucket-branch-source:2.9.8
okhttp-api:3.14.9
bootstrap4-api:4.6.0-3
github-api:1.123
blueocean-github-pipeline:1.24.6
email-ext:2.82
build-timeout:1.20
pipeline-model-extensions:1.8.4
trilead-api:1.0.13
snakeyaml-api:1.27.0
authentication-tokens:1.4
bouncycastle-api:2.20
font-awesome-api:5.15.2-2
apache-httpcomponents-client-4-api:4.5.13-1.0
github-branch-source:2.10.2
echarts-api:5.0.2-1
lockable-resources:2.10
blueocean-events:1.24.6
jquery3-api:3.6.0-1
cloudbees-folder:6.15
blueocean-commons:1.24.6
pipeline-milestone-step:1.3.2
pipeline-model-definition:1.8.4
workflow-support:3.8
pubsub-light:1.13
pipeline-stage-step:2.5
mailer:1.34
script-security:1.76
ws-cleanup:0.39
gradle:1.36
blueocean-pipeline-api-impl:1.24.6
branch-api:2.6.3
workflow-step-api:2.23
blueocean-personalization:1.24.6
workflow-cps:2.90
matrix-auth:2.6.6
git-server:1.9
jenkins-design-language:1.24.6
ssh-credentials:1.18.1
blueocean-i18n:1.24.6
jdk-tool:1.5
momentjs:1.1.1
ace-editor:1.1
plugin-util-api:2.1.0
Office-365-Connector:4.14.0
plain-credentials:1.7
command-launcher:1.5
blueocean-config:1.24.6
jjwt-api:0.11.2-9.c8b45b8bb173
sse-gateway:1.24
credentials:2.3.18
popper-api:1.16.1-2
handy-uri-templates-2-api:2.1.8-1.0
antisamy-markup-formatter:2.1
workflow-aggregator:2.6
pipeline-stage-tags-metadata:1.8.4
authorize-project:1.4.0
azure-ad:155.v745ce80af7ea
workflow-job:2.40
scm-api:2.6.4
handlebars:3.0.8
jsch:0.1.55.2
pipeline-stage-view:2.19
github:1.33.1
blueocean-pipeline-editor:1.24.6
greenballs:1.15.1
credentials-binding:1.24
structs:1.22
pipeline-rest-api:2.19
blueocean-pipeline-scm-api:1.24.6
pipeline-build-step:2.13
ldap:2.5
workflow-scm-step:2.12
matrix-project:1.18
blueocean-core-js:1.24.6
blueocean-bitbucket-pipeline:1.24.6
pipeline-model-api:1.8.4
variant:1.4
workflow-api:2.42
blueocean-dashboard:1.24.6
pipeline-graph-analysis:1.10
resource-disposer:0.15
workflow-basic-steps:2.23
junit:1.49
jackson2-api:2.12.3
blueocean-git-pipeline:1.24.6
blueocean-rest-impl:1.24.6
workflow-multibranch:2.23
pipeline-input-step:2.12
git:4.7.1
timestamper:1.12
blueocean-jwt:1.24.6
mercurial:2.14
blueocean-display-url:2.4.1
checks-api:1.7.0
configuration-as-code:1.47
Result: [Plugin:workflow-cps-global-lib, Plugin:blueocean-rest, Plugin:pam-auth, Plugin:git-client, Plugin:blueocean, Plugin:ant, Plugin:favorite, Plugin:durable-task, Plugin:blueocean-web, Plugin:bitbucket, Plugin:ssh-slaves, Plugin:pipeline-github-lib, Plugin:htmlpublisher, Plugin:blueocean-autofavorite, Plugin:token-macro, Plugin:display-url-api, Plugin:workflow-durable-task-step, Plugin:cloudbees-bitbucket-branch-source, Plugin:okhttp-api, Plugin:bootstrap4-api, Plugin:github-api, Plugin:blueocean-github-pipeline, Plugin:email-ext, Plugin:build-timeout, Plugin:pipeline-model-extensions, Plugin:trilead-api, Plugin:snakeyaml-api, Plugin:authentication-tokens, Plugin:bouncycastle-api, Plugin:font-awesome-api, Plugin:apache-httpcomponents-client-4-api, Plugin:github-branch-source, Plugin:echarts-api, Plugin:lockable-resources, Plugin:blueocean-events, Plugin:jquery3-api, Plugin:cloudbees-folder, Plugin:blueocean-commons, Plugin:pipeline-milestone-step, Plugin:pipeline-model-definition, Plugin:workflow-support, Plugin:pubsub-light, Plugin:pipeline-stage-step, Plugin:mailer, Plugin:script-security, Plugin:ws-cleanup, Plugin:gradle, Plugin:blueocean-pipeline-api-impl, Plugin:branch-api, Plugin:workflow-step-api, Plugin:blueocean-personalization, Plugin:workflow-cps, Plugin:matrix-auth, Plugin:git-server, Plugin:jenkins-design-language, Plugin:ssh-credentials, Plugin:blueocean-i18n, Plugin:jdk-tool, Plugin:momentjs, Plugin:ace-editor, Plugin:plugin-util-api, Plugin:Office-365-Connector, Plugin:plain-credentials, Plugin:command-launcher, Plugin:blueocean-config, Plugin:jjwt-api, Plugin:sse-gateway, Plugin:credentials, Plugin:popper-api, Plugin:handy-uri-templates-2-api, Plugin:antisamy-markup-formatter, Plugin:workflow-aggregator, Plugin:pipeline-stage-tags-metadata, Plugin:authorize-project, Plugin:azure-ad, Plugin:workflow-job, Plugin:scm-api, Plugin:handlebars, Plugin:jsch, Plugin:pipeline-stage-view, Plugin:github, Plugin:blueocean-pipeline-editor, Plugin:greenballs, Plugin:credentials-binding, Plugin:structs, Plugin:pipeline-rest-api, Plugin:blueocean-pipeline-scm-api, Plugin:pipeline-build-step, Plugin:ldap, Plugin:workflow-scm-step, Plugin:matrix-project, Plugin:blueocean-core-js, Plugin:blueocean-bitbucket-pipeline, Plugin:pipeline-model-api, Plugin:variant, Plugin:workflow-api, Plugin:blueocean-dashboard, Plugin:pipeline-graph-analysis, Plugin:resource-disposer, Plugin:workflow-basic-steps, Plugin:junit, Plugin:jackson2-api, Plugin:blueocean-git-pipeline, Plugin:blueocean-rest-impl, Plugin:workflow-multibranch, Plugin:pipeline-input-step, Plugin:git, Plugin:timestamper, Plugin:blueocean-jwt, Plugin:mercurial, Plugin:blueocean-display-url, Plugin:checks-api, Plugin:configuration-as-code]Jenkins in docker Jenkins: 2.277.2 OS: Linux - 4.15.0-65-generic --- workflow-cps-global-lib:2.18 blueocean-rest:1.24.6 pam-auth:1.6 git-client:3.7.1 blueocean:1.24.6 ant:1.11 favorite:2.3.3 durable-task:1.35 blueocean-web:1.24.6 bitbucket:1.1.27 ssh-slaves:1.31.5 pipeline-github-lib:1.0 htmlpublisher:1.25 blueocean-autofavorite:1.2.4 token-macro:2.15 display-url-api:2.3.4 workflow-durable-task-step:2.38 cloudbees-bitbucket-branch-source:2.9.8 okhttp-api:3.14.9 bootstrap4-api:4.6.0-3 github-api:1.123 blueocean-github-pipeline:1.24.6 email-ext:2.82 build-timeout:1.20 pipeline-model-extensions:1.8.4 trilead-api:1.0.13 snakeyaml-api:1.27.0 authentication-tokens:1.4 bouncycastle-api:2.20 font-awesome-api:5.15.2-2 apache-httpcomponents-client-4-api:4.5.13-1.0 github-branch-source:2.10.2 echarts-api:5.0.2-1 lockable-resources:2.10 blueocean-events:1.24.6 jquery3-api:3.6.0-1 cloudbees-folder:6.15 blueocean-commons:1.24.6 pipeline-milestone-step:1.3.2 pipeline-model-definition:1.8.4 workflow-support:3.8 pubsub-light:1.13 pipeline-stage-step:2.5 mailer:1.34 script-security:1.76 ws-cleanup:0.39 gradle:1.36 blueocean-pipeline-api-impl:1.24.6 branch-api:2.6.3 workflow-step-api:2.23 blueocean-personalization:1.24.6 workflow-cps:2.90 matrix-auth:2.6.6 git-server:1.9 jenkins-design-language:1.24.6 ssh-credentials:1.18.1 blueocean-i18n:1.24.6 jdk-tool:1.5 momentjs:1.1.1 ace-editor:1.1 plugin-util-api:2.1.0 Office-365-Connector:4.14.0 plain-credentials:1.7 command-launcher:1.5 blueocean-config:1.24.6 jjwt-api:0.11.2-9.c8b45b8bb173 sse-gateway:1.24 credentials:2.3.18 popper-api:1.16.1-2 handy-uri-templates-2-api:2.1.8-1.0 antisamy-markup-formatter:2.1 workflow-aggregator:2.6 pipeline-stage-tags-metadata:1.8.4 authorize-project:1.4.0 azure-ad:155.v745ce80af7ea workflow-job:2.40 scm-api:2.6.4 handlebars:3.0.8 jsch:0.1.55.2 pipeline-stage-view:2.19 github:1.33.1 blueocean-pipeline-editor:1.24.6 greenballs:1.15.1 credentials-binding:1.24 structs:1.22 pipeline-rest-api:2.19 blueocean-pipeline-scm-api:1.24.6 pipeline-build-step:2.13 ldap:2.5 workflow-scm-step:2.12 matrix-project:1.18 blueocean-core-js:1.24.6 blueocean-bitbucket-pipeline:1.24.6 pipeline-model-api:1.8.4 variant:1.4 workflow-api:2.42 blueocean-dashboard:1.24.6 pipeline-graph-analysis:1.10 resource-disposer:0.15 workflow-basic-steps:2.23 junit:1.49 jackson2-api:2.12.3 blueocean-git-pipeline:1.24.6 blueocean-rest-impl:1.24.6 workflow-multibranch:2.23 pipeline-input-step:2.12 git:4.7.1 timestamper:1.12 blueocean-jwt:1.24.6 mercurial:2.14 blueocean-display-url:2.4.1 checks-api:1.7.0 configuration-as-code:1.47 Result: [Plugin:workflow-cps-global-lib, Plugin:blueocean-rest, Plugin:pam-auth, Plugin:git-client, Plugin:blueocean, Plugin:ant, Plugin:favorite, Plugin:durable-task, Plugin:blueocean-web, Plugin:bitbucket, Plugin:ssh-slaves, Plugin:pipeline-github-lib, Plugin:htmlpublisher, Plugin:blueocean-autofavorite, Plugin:token-macro, Plugin:display-url-api, Plugin:workflow-durable-task-step, Plugin:cloudbees-bitbucket-branch-source, Plugin:okhttp-api, Plugin:bootstrap4-api, Plugin:github-api, Plugin:blueocean-github-pipeline, Plugin:email-ext, Plugin:build-timeout, Plugin:pipeline-model-extensions, Plugin:trilead-api, Plugin:snakeyaml-api, Plugin:authentication-tokens, Plugin:bouncycastle-api, Plugin:font-awesome-api, Plugin:apache-httpcomponents-client-4-api, Plugin:github-branch-source, Plugin:echarts-api, Plugin:lockable-resources, Plugin:blueocean-events, Plugin:jquery3-api, Plugin:cloudbees-folder, Plugin:blueocean-commons, Plugin:pipeline-milestone-step, Plugin:pipeline-model-definition, Plugin:workflow-support, Plugin:pubsub-light, Plugin:pipeline-stage-step, Plugin:mailer, Plugin:script-security, Plugin:ws-cleanup, Plugin:gradle, Plugin:blueocean-pipeline-api-impl, Plugin:branch-api, Plugin:workflow-step-api, Plugin:blueocean-personalization, Plugin:workflow-cps, Plugin:matrix-auth, Plugin:git-server, Plugin:jenkins-design-language, Plugin:ssh-credentials, Plugin:blueocean-i18n, Plugin:jdk-tool, Plugin:momentjs, Plugin:ace-editor, Plugin:plugin-util-api, Plugin:Office-365-Connector, Plugin:plain-credentials, Plugin:command-launcher, Plugin:blueocean-config, Plugin:jjwt-api, Plugin:sse-gateway, Plugin:credentials, Plugin:popper-api, Plugin:handy-uri-templates-2-api, Plugin:antisamy-markup-formatter, Plugin:workflow-aggregator, Plugin:pipeline-stage-tags-metadata, Plugin:authorize-project, Plugin:azure-ad, Plugin:workflow-job, Plugin:scm-api, Plugin:handlebars, Plugin:jsch, Plugin:pipeline-stage-view, Plugin:github, Plugin:blueocean-pipeline-editor, Plugin:greenballs, Plugin:credentials-binding, Plugin:structs, Plugin:pipeline-rest-api, Plugin:blueocean-pipeline-scm-api, Plugin:pipeline-build-step, Plugin:ldap, Plugin:workflow-scm-step, Plugin:matrix-project, Plugin:blueocean-core-js, Plugin:blueocean-bitbucket-pipeline, Plugin:pipeline-model-api, Plugin:variant, Plugin:workflow-api, Plugin:blueocean-dashboard, Plugin:pipeline-graph-analysis, Plugin:resource-disposer, Plugin:workflow-basic-steps, Plugin:junit, Plugin:jackson2-api, Plugin:blueocean-git-pipeline, Plugin:blueocean-rest-impl, Plugin:workflow-multibranch, Plugin:pipeline-input-step, Plugin:git, Plugin:timestamper, Plugin:blueocean-jwt, Plugin:mercurial, Plugin:blueocean-display-url, Plugin:checks-api, Plugin:configuration-as-code]
Jenkins can't connect to Bitbucket repositories. Logging indicates a duplicate class definition error (see stack trace below). Office 365 plugin is installed and configured. Trying to reproduce the error in local development setup. Ran the docker setup locally and connection to Bitbucket works. Office plugin installed but not configured at the moment locally but ongoing to see if the error appears.
Stacktrace jenkins logging:
Apr 29, 2021 7:29:31 AM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException
Caught unhandled exception with ID f02655e9-d341-4058-bc2a-234d6a09964f
java.lang.LinkageError: loader (instance of hudson/ClassicPluginStrategy$AntClassLoader2): attempted duplicate class definition for name: "com/cloudbees/plugins/credentials/CredentialsMatcher$CQL"
at com.cloudbees.jenkins.plugins.bitbucket.api.credentials.BitbucketOAuthAuthenticatorSource.matcher(BitbucketOAuthAuthenticatorSource.java:56)
at jenkins.authentication.tokens.api.AuthenticationTokens.matcher(AuthenticationTokens.java:87)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketCredentials.fillCredentialsIdItems(BitbucketCredentials.java:90)
at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource$DescriptorImpl.doFillCredentialsIdItems(BitbucketSCMSource.java:1163)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
Caused: javax.servlet.ServletException
- duplicates
-
JENKINS-65766 java.lang.LinkageError: ... attempted duplicate class definition for name: ...
- Closed
- relates to
-
JENKINS-65261 Warnings trend chart does not appear; duplicate classes in echarts-api.jar and echarts-build-trends-2.0.0.jar in ECharts API Plugin
- Resolved