The build monitor view fails with "Sorry to bother you, but Jenkins is having a problem :-(" error
agoyalxifin opened this issue · 4 comments
Jenkins and plugins versions report
I am working on Jenkins version 2.401 and Build Monitor View version [1.14-744.v35fd6fa_a_26b_2]
What Operating System are you using (both controller, and any agents involved in the problem)?
I am on Windows 10 Enterprise and running Jenkins on Google chrome 120.0.6099.110
Reproduction steps
The view fails randomly when trying to add new Jenkins jobs to it.
I am selecting individual jobs from the Jobs list in Job Filter section of the view.
The view fails if the number of jobs selected gets too high. Yesterday, it was failing when the number of job selected was above 38 but today it's failing for >12.
Steps -
- Log into Jenkins
- Go to My views and add a build monitor view
- Select the jobs from Jobs list in Job Filters
- Click apply and save
Expected Results
Creates a view with selected jobs
Actual Results
Anything else?
I am using the build view plugin and have not made any changes in pom.xml in the code anywhere for this.
I am sure this is not an issue but I need help understanding what is missing and how to fix this.
Are you interested in contributing a fix?
No response
I'm seeing this behaviour as well:
Jenkins version: 2.426.2
Plugin version: 1.14-826.vb_a_c11536174d
Getting such error as well when using plugin Dashboard View.
From my observations, plugin fails with this error when any of the jobs from the list was triggered by upstream project.
I have nightly triggers for different jobs, and in the morning I get error from the dashboard.
No valid crumb was included in request for /view/Dashboard%20View/job/my-job/widget/ExecutorsWidget/ajax by user. Returning 403.
java.lang.ClassCastException: class hudson.model.FreeStyleBuild cannot be cast to class org.jenkinsci.plugins.workflow.job.WorkflowRun (hudson.model.FreeStyleBuild is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @7b420819; org.jenkinsci.plugins.workflow.job.WorkflowRun is in unnamed module of loader jenkins.util.URLClassLoader2 @4a638e9b)
Jenkins 2.441
Any update on this? Seems like the same issue is in Jira - https://issues.jenkins.io/browse/JENKINS-71469?jql=resolution%20is%20EMPTY%20and%20component%3D17722
One of the commenters suggests disabling the "Display committers" option fixes the issue.
(I'm using multibranch pipelines)
I confirm disabling "Display committers" seems to bypass the issue