# Recently updated our Jenkins controller, now our jobs all fail with a Java error

**URL:** <https://community.jenkins.io/t/recently-updated-our-jenkins-controller-now-our-jobs-all-fail-with-a-java-error/28101>\
**Category:** Ask a question\
**Tags:** question\
**Created:** [March 11, 2025, 6:53pm UTC](https://community.jenkins.io/t/recently-updated-our-jenkins-controller-now-our-jobs-all-fail-with-a-java-error/28101 "2025-03-11T18:53:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aron23](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/aron23/32/13619_2.png) [@aron23](https://community.jenkins.io/u/aron23)\
**Post date:** [March 11, 2025, 6:53pm UTC](https://community.jenkins.io/t/recently-updated-our-jenkins-controller-now-our-jobs-all-fail-with-a-java-error/28101/1 "2025-03-11T18:53:22Z")

</div>

Jenkins setup:  
Version 2.501

Deployment based on this tutorial:

> **[GitHub - aws-samples/serverless-jenkins-on-aws-fargate](https://github.com/aws-samples/serverless-jenkins-on-aws-fargate)**
>
> Contribute to aws-samples/serverless-jenkins-on-aws-fargate development by creating an account on GitHub.

We just updated to 2.5 and then to 2.501 hoping it would help resolve our issue with 2.5. I am not able to recall exactly what version we were on before but it was around 2.47 something.

We saw a notice that there was a security issue and when we updated it would no longer spin up the cluster for the controller because agentProtocols was in our configuration. Eventually I was able to create a new image with agentProtocols removed and everything seemed to be working, but now all of our spot agents running jenkins/inbound-agent based images crash when running jobs with the message:

java.lang.NoSuchFieldError: Class org.jenkinsci.plugins.workflow.cps.global.WorkflowLibRepository does not have member field ‘java.io.File workspace’

I am unable to find any similar situations online.

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [March 11, 2025, 7:05pm UTC](https://community.jenkins.io/t/recently-updated-our-jenkins-controller-now-our-jobs-all-fail-with-a-java-error/28101/2 "2025-03-11T19:05:17Z")

</div>

Seems you’re using the deprecated plugin [Pipeline: Deprecated Groovy Libraries](https://plugins.jenkins.io/workflow-cps-global-lib/)  
That is the only plugin where I could find the class `WorkflowLibRepository`.  
It makes use of the [Git server](https://plugins.jenkins.io/git-server/) plugin which had a [change](https://github.com/jenkinsci/git-server-plugin/pull/134) recently that would explain the error.

---

<div class="post-metadata">

**Author:** ![aron23](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/aron23/32/13619_2.png) [@aron23](https://community.jenkins.io/u/aron23)\
**Post date:** [March 11, 2025, 9:20pm UTC](https://community.jenkins.io/t/recently-updated-our-jenkins-controller-now-our-jobs-all-fail-with-a-java-error/28101/3 "2025-03-11T21:20:37Z")

</div>

> [@mawinter69](#):
>
> Deprecated Groovy Libraries

That got me past that issue, thanks for the quick response!
