Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The build monitor view fails with "Sorry to bother you, but Jenkins is having a problem :-(" error #871

Open
agoyalxifin opened this issue Dec 19, 2023 · 4 comments
Labels

Comments

@agoyalxifin
Copy link

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.
image
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 -

  1. Log into Jenkins
  2. Go to My views and add a build monitor view
  3. Select the jobs from Jobs list in Job Filters
  4. Click apply and save

Expected Results

Creates a view with selected jobs

Actual Results

Fails with this error
image

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

@HairyMike
Copy link

I'm seeing this behaviour as well:

Jenkins version: 2.426.2
Plugin version: 1.14-826.vb_a_c11536174d

@andreygaizler
Copy link

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

@HairyMike
Copy link

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)

@HairyMike
Copy link

I confirm disabling "Display committers" seems to bypass the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants