Empty error message box on clicking apply button in Jenkins 2.277+

58 views
Skip to first unread message

SAQIB

unread,
Apr 27, 2021, 1:48:54 PM4/27/21
to jenkins...@googlegroups.com
Hi 

I am getting an "Error" popup when I click on the 'Apply' button after opening any current Jenkins job as well as opening a new Jenkins job.

This only happens when I move my Jenkins to version 2.277+.

When I downgrade my Jenkins to any of the Jenkins version 2.263+, there is no error message when clicking the 'Apply' button. 

I am running plugins having dependency over 2.277+.

I am attaching a snapshot for your reference.

Thanks,
Saqib
jenkins_errror_2_277.JPG

Mark Waite

unread,
Apr 27, 2021, 2:21:39 PM4/27/21
to Jenkins Users
Jenkins 2.277.1 modernizes the configuration form handling to use HTML div markup for layout instead of using HTML table markup for layout.  The changes are described in the Jenkins 2.277.1 webinar and its slides.

As part of the Jenkins 2.277.1 changelog and upgrade guide, the following steps are recommended:
  • Remove unused plugins from your installation
  • Remove deprecated plugins from your installation (like the findbugs plugin, the DRY plugin, the checkstyle plugin, the Visual Studio Team plugin, etc.)
  • Remove plugins with security vulnerabilities from your installation (like the TFS plugin)
  • Update your plugins to the latest releases (this assures that the latest authentication plugins are installed before the Jenkins version upgrade)
  • Upgrade your Jenkins version
  • Upgrade your plugins to the latest releases (get the latest plugin releases for the new Jenkins installation)
If that set of steps does not resolve the issue, then consult the list of plugins with known tables to divs issues.  Uninstall any of those plugins or volunteer to adopt those plugins and provide the necessary fixes for them.

If all those steps still do not resolve the issue, then open a bug report at https://issues.jenkins.io with ALL THE INFORMATION REQUESTED AT "How to report a bug" including the Jenkins version and the names and versions of all installed plugins.  Forgive my shouting, but the common practice seems to be to submit an issue "this is not working" without enough information to allow others to help.  Days later, the submitter updates the bug report with the necessary information and hopes someone will help them.

Please don't open the bug report until you've completed all the preceding steps.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAOFY6-EAkHMPk%2BvTxajWR7N4EHfqb1tMnd9oZnrdxcGULo2yKQ%40mail.gmail.com.

saqib butt

unread,
Apr 27, 2021, 10:10:46 PM4/27/21
to Jenkins Users
Thanks, Mark for your time and guidance. 

saqib butt

unread,
Apr 28, 2021, 3:20:29 AM4/28/21
to Jenkins Users
Hi

In the pursuit of resolving the Jenkins warnings, I do the following steps to get rid of all warnings, 
1. Update the plugins 
2. Update the Jenkins to 2.287.

Now Jenkins is showing no warning at all, but when I do create a 'Freestyle' project in Jenkins and open it to configure, the CSS styling somehow is not loaded (broken_ui1.png ... broken_ui4.png) and I am getting the following errors mentioned in to attach file "jenkins.log", this log is taken from the Jenkin's UI.

Also, I am attaching some images where CSS or JavaScript does not seem to load properly.

At the end the blank Error message popup on click 'Apply' remains (error_popup.png).

jenkins.log
broken_ui2.png
error_popup.png
broken_ui3.png
broken_ui4.png
broken_ui1.png

Mark Waite

unread,
Apr 28, 2021, 11:08:21 PM4/28/21
to Jenkins Users
My initial suspicion is that you have not yet performed this step:

If that set of steps does not resolve the issue, then consult the list of plugins with known tables to divs issues.  Uninstall any of those plugins or volunteer to adopt those plugins and provide the necessary fixes for them.

There are likely plugins in your installation that have problems with configuration form modernization. 

saqib butt

unread,
Apr 29, 2021, 7:38:01 AM4/29/21
to Jenkins Users
Thanks, Mark, I am finally able to run the latest Jenkins 2.290 with all the latest plugins (no plugin in Plugin's Manager update queue) without any errors.
Reply all
Reply to author
Forward
0 new messages