timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-64682] 'Apply' for all the maven projects shows an empty 'Error' pop-over window #1376

Closed timja closed 3 years ago

timja commented 3 years ago

In Jenkins 2.276, when attempting to create a maven project, clicking "Apply" results in an empty "Error" pop-over box on the page. No error message is displayed.

The same thing happens for the maven projects, that worked properly before (it was Jenkins 2.258', the version of the plugins is in the comments). For some reason, I can't "Apply" them anymore (even if I change nothing in the job configuration). 

I also can't see any errors, related to this issue, in the Jenkins log.

Steps to reproduce:

  1. Create a new item
  2. Set name and choose the "Maven project", save the project
  3. Press "Apply"

The screenshot is attached.

Update:  The plugin list in a format that can be used to build another Jenkins is attached (plugins.txt)

Update: The problem is resolved, it was related to *Checkstyle Plug-in, which caused this issue. This plugin is marked as deprecated.


Originally reported by dice2011, imported from: 'Apply' for all the maven projects shows an empty 'Error' pop-over window
  • status: Closed
  • priority: Blocker
  • resolution: Fixed
  • resolved: 2021-02-04T01:17:44+00:00
  • imported: 2022/01/10
timja commented 3 years ago

danielbeck:

worked properly before

What's the last known "good" release of all components involved, especially Jenkins itself?

timja commented 3 years ago

timja:

I can't reproduce with maven plugin standalone,

Can you post the plugin list in a format that can be used to build another Jenkins:
https://www.jenkins.io/doc/developer/views/table-to-div-migration/#some-plugins-are-known-to-be-broken

JENKINS_HOST=username:password@myhost.com:port
curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=/*/*/shortName|/*/*/version&wrapper=plugins" | perl -pe 's/.*?([\w-]+).*?([^<]+)()(<\/\w+>)+/\1 \2\n/g'| sed 's/ /:/' | cut -d ':' -f 1 | sort > plugins.txt
timja commented 3 years ago

JIRAUSER131127:

timja,  done, the file with the plugins is attached to the post

timja commented 3 years ago

JIRAUSER131127:

danielbeck, The "good" release was Jenkins 2.258. When I update it to the latest version, maven projects apply stops working.

 

The list of plugins and versions:

JavaScript GUI Lib: Moment.js bundle plugin (momentjs): 1.1.1
Credentials Plugin (credentials): 2.3.13
Structs Plugin (structs): 1.20
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin (jquery-detached): 1.2.1
LDAP Plugin (ldap): 1.26
Pipeline (workflow-aggregator): 2.6
Analysis Model API Plug-in (analysis-model-api): 8.0.1
Pipeline: Declarative Agent API (pipeline-model-declarative-agent): 1.1.1
Mercurial plugin (mercurial): 2.10
Dashboard for Blue Ocean (blueocean-dashboard): 1.24.0
Web for Blue Ocean (blueocean-web): 1.24.0
Run Condition Plugin (run-condition): 1.3
Pipeline Maven Integration Plugin (pipeline-maven): 3.9.3
Pub-Sub "light" Bus (pubsub-light): 1.13
Email Extension Plugin (email-ext): 2.76
Display URL API (display-url-api): 2.3.3
CloudBees Disk Usage Simple Plugin (cloudbees-disk-usage-simple): 0.10
Hashicorp Vault Pipeline Plugin (hashicorp-vault-pipeline): 1.3
Pipeline: Groovy (workflow-cps): 2.83
jQuery plugin (jquery): 1.12.4-1
JIRA Integration for Blue Ocean (blueocean-jira): 1.24.0
Pipeline: Declarative (pipeline-model-definition): 1.7.2
Token Macro Plugin (token-macro): 2.12
Pipeline Utility Steps (pipeline-utility-steps): 2.6.1
Dashboard View (dashboard-view): 2.13
Amazon Web Services SDK (aws-java-sdk): 1.11.854
JWT for Blue Ocean (blueocean-jwt): 1.24.0
Git client plugin (git-client): 3.5.0
Pipeline NPM Integration Plugin (pipeline-npm): 0.9.2
HTML Publisher plugin (htmlpublisher): 1.23
Gradle Plugin (gradle): 1.36
GitHub plugin (github): 1.31.0
Handy Uri Templates 2.x API Plugin (handy-uri-templates-2-api): 2.1.8-1.0
SSH Slaves plugin (ssh-slaves): 1.30.1
JSch dependency plugin (jsch): 0.1.55.2
Maven Integration plugin (maven-plugin): 3.7
Blue Ocean Executor Info (blueocean-executor-info): 1.24.0
Script Security Plugin (script-security): 1.74
CloudBees AWS Credentials Plugin (aws-credentials): 1.28
Metrics Plugin (metrics): 4.0.2.6
Pipeline: Shared Groovy Libraries (workflow-cps-global-lib): 2.17
DataTables.net API Plugin (data-tables-api): 1.10.21-2
Folders Plugin (cloudbees-folder): 6.14
Xvnc plugin (xvnc): 1.25
Build Name and Description Setter (build-name-setter): 2.1.0
EC2 Fleet Jenkins Plugin (ec2-fleet): 2.1.3
Timestamper (timestamper): 1.11.5
Durable Task Plugin (durable-task): 1.35
Resource Disposer Plugin (resource-disposer): 0.14
Sonar Quality Gates Plugin (sonar-quality-gates): 1.3.1
Pipeline: GitHub Groovy Libraries (pipeline-github-lib): 1.0
Authentication Tokens API Plugin (authentication-tokens): 1.4
WMI Windows Agents Plugin (windows-slaves): 1.6
bouncycastle API Plugin (bouncycastle-api): 2.18
Apache HttpComponents Client 4.x API Plugin (apache-httpcomponents-client-4-api): 4.5.10-2.0
Bitbucket Pipeline for Blue Ocean (blueocean-bitbucket-pipeline): 1.24.0
Build Authorization Token Root Plugin (build-token-root): 1.7
i18n for Blue Ocean (blueocean-i18n): 1.24.0
Javadoc Plugin (javadoc): 1.6
Lockable Resources plugin (lockable-resources): 2.8
Git plugin (git): 4.4.3
Monitoring (monitoring): 1.85.0
Build Timeout (build-timeout): 1.20
Pipeline: Supporting APIs (workflow-support): 3.5
Jira plugin (jira): 3.1.1
Matrix Authorization Strategy Plugin (matrix-auth): 2.6.4
Design Language (jenkins-design-language): 1.24.0
Command Agent Launcher Plugin (command-launcher): 1.4
Build Pipeline Plugin (build-pipeline-plugin): 1.5.8
Pipeline: Declarative Extension Points API (pipeline-model-extensions): 1.7.2
Font Awesome API Plugin (font-awesome-api): 5.14.0-1
Pipeline: Stage Step (pipeline-stage-step): 2.5
Branch API Plugin (branch-api): 2.6.0
Popper.js API Plugin (popper-api): 1.16.0-6
External Monitor Job Type Plugin (external-monitor-job): 1.7
OWASP Markup Formatter Plugin (antisamy-markup-formatter): 1.6
REST Implementation for Blue Ocean (blueocean-rest-impl): 1.24.0
Multijob plugin (jenkins-multijob-plugin): 1.33
Docker Commons Plugin (docker-commons): 1.17
Events API for Blue Ocean (blueocean-events): 1.24.0
Variant Plugin (variant): 1.3
Plain Credentials Plugin (plain-credentials): 1.7
Snakeyaml API Plugin (snakeyaml-api): 1.27.0
ECharts API Plugin (echarts-api): 4.8.0-2
GIT server Plugin (git-server): 1.9
Pipeline implementation for Blue Ocean (blueocean-pipeline-api-impl): 1.24.0
Display URL for Blue Ocean (blueocean-display-url): 2.4.0
Rebuilder (rebuild): 1.31
Common API for Blue Ocean (blueocean-commons): 1.24.0
Simple Theme Plugin (simple-theme-plugin): 0.6
Pipeline: Nodes and Processes (workflow-durable-task-step): 2.35
Blue Ocean Pipeline Editor (blueocean-pipeline-editor): 1.24.0
Pipeline: Model API (pipeline-model-api): 1.7.2
SonarQube Scanner for Jenkins (sonar): 2.12
Amazon EC2 plugin (ec2): 1.53
Personalization for Blue Ocean (blueocean-personalization): 1.24.0
Mailer Plugin (mailer): 1.32.1
Pipeline SCM API for Blue Ocean (blueocean-pipeline-scm-api): 1.24.0
Docker Pipeline (docker-workflow): 1.24
Config File Provider Plugin (config-file-provider): 3.7.0
GitHub Pipeline for Blue Ocean (blueocean-github-pipeline): 1.24.0
JIRA Pipeline Steps (jira-steps): 1.6.0
Pipeline: API (workflow-api): 2.40
Quality Gates Plugin (quality-gates): 2.5
Bootstrap 4 API Plugin (bootstrap4-api): 4.5.2-1
JavaScript GUI Lib: ACE Editor bundle plugin (ace-editor): 1.1
Blue Ocean (blueocean): 1.24.0
H2 API Plugin (h2-api): 1.4.199
JUnit Plugin (junit): 1.35
Pipeline: Basic Steps (workflow-basic-steps): 2.21
Pipeline: Input Step (pipeline-input-step): 2.12
Git Pipeline for Blue Ocean (blueocean-git-pipeline): 1.24.0
SSH Credentials Plugin (ssh-credentials): 1.18.1
Pipeline: Step API (workflow-step-api): 2.22
JaCoCo plugin (jacoco): 3.0.8
SCM API Plugin (scm-api): 2.6.3
REST API for Blue Ocean (blueocean-rest): 1.24.0
Favorite (favorite): 2.3.2
Bitbucket Branch Source Plugin (cloudbees-bitbucket-branch-source): 2.9.2
Pipeline: Multibranch (workflow-multibranch): 2.22
Plugin Utilities API Plugin (plugin-util-api): 1.2.5
Oracle Java SE Development Kit Installer Plugin (jdk-tool): 1.4
HashiCorp Vault Plugin (hashicorp-vault-plugin): 3.6.1
Copy Artifact Plugin (copyartifact): 1.42.1
JavaScript GUI Lib: Handlebars bundle plugin (handlebars): 1.1.1
Pipeline: Build Step (pipeline-build-step): 2.13
Pipeline: REST API Plugin (pipeline-rest-api): 2.15
Workspace Cleanup Plugin (ws-cleanup): 0.38
PAM Authentication plugin (pam-auth): 1.6
GitHub API Plugin (github-api): 1.116
Forensics API Plugin (forensics-api): 0.7.0
JQuery3 API Plugin (jquery3-api): 3.5.1-1
Matrix Project Plugin (matrix-project): 1.18
Pipeline: SCM Step (workflow-scm-step): 2.11
Pipeline: Stage Tags Metadata (pipeline-stage-tags-metadata): 1.7.2
Environment Injector Plugin (envinject): 2.3.0
Checkstyle Plug-in (checkstyle): 4.0.0
Build Monitor View (build-monitor-plugin): 1.12+build.201809061734
Python Plugin (python): 1.3
Jackson 2 API Plugin (jackson2-api): 2.11.2
GitHub Branch Source Plugin (github-branch-source): 2.9.0
Green Balls (greenballs): 1.15
Pipeline Graph Analysis Plugin (pipeline-graph-analysis): 1.10
Autofavorite for Blue Ocean (blueocean-autofavorite): 1.2.4
Trilead API Plugin (trilead-api): 1.0.10
Pipeline: Job (workflow-job): 2.40
Warnings Next Generation Plugin (warnings-ng): 8.1.0
Blue Ocean Core JS (blueocean-core-js): 1.24.0
Embeddable Build Status Plugin (embeddable-build-status): 2.0.3
EnvInject API Plugin (envinject-api): 1.7
Credentials Binding Plugin (credentials-binding): 1.23
Parameterized Trigger plugin (parameterized-trigger): 2.39
Static Analysis Utilities (analysis-core): 1.96
OkHttp Plugin (okhttp-api): 3.14.9
Cucumber reports (cucumber-reports): 5.3.1
Conditional BuildStep (conditional-buildstep): 1.3.6
Bitbucket Plugin (bitbucket): 1.1.25
NodeJS Plugin (nodejs): 1.3.9
Allure Jenkins Plugin (allure-jenkins-plugin): 2.29.0
Pipeline: Stage View Plugin (pipeline-stage-view): 2.15
Config API for Blue Ocean (blueocean-config): 1.24.0
TAP Plugin (tap): 2.3
built-on-column (built-on-column): 1.1
Node Iterator API Plugin (node-iterator-api): 1.5.0
Server Sent Events (SSE) Gateway Plugin (sse-gateway): 1.23
Ant Plugin (ant): 1.11
Extended Read Permission Plugin (extended-read-permission): 3.2
Pipeline: Milestone Step (pipeline-milestone-step): 1.3.1

timja commented 3 years ago

JIRAUSER131127:

timja, danielbeck, Update: The problem is resolved, it was related to *Checkstyle Plug-in, which caused this issue. This plugin is marked as deprecated.

timja commented 3 years ago

markewaite:

Issue reporter noted that the problem was resolved by removing the deprecated checkstyle plugin