# A problem occurred while processing the request (build-pipeline)

**URL:** <https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656>\
**Category:** Using Jenkins\
**Tags:** question\
**Created:** [February 26, 2022, 7:07am UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656 "2022-02-26T07:07:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![san](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@san](https://community.jenkins.io/u/san)\
**Post date:** [February 26, 2022, 7:07am UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656/1 "2022-02-26T07:07:51Z")

</div>

Hi,

Installed build pipeline plugin but while configuring new build pipeline I am getting " A problem occurred while processing the request" Kindly advise.  
trace  
\*  
Feb 26, 2022 6:39:47 AM INFO hudson.WebAppMain contextInitialized  
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get(“JENKINS\_HOME”)  
Feb 26, 2022 6:39:47 AM INFO org.eclipse.jetty.server.handler.ContextHandler doStart  
Started w.@3224a577{Jenkins v2.336,/,file:///var/lib/jenkins/%25C/jenkins/war/,AVAILABLE}{/var/lib/jenkins/%C/jenkins/war}  
Feb 26, 2022 6:39:47 AM INFO org.eclipse.jetty.server.AbstractConnector doStart  
Started ServerConnector@36f6e879{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}  
Feb 26, 2022 6:39:47 AM INFO org.eclipse.jetty.server.Server doStart  
Started @1703ms  
Feb 26, 2022 6:39:47 AM INFO winstone.Logger logInternal  
Winstone Servlet Engine running: controlPort=disabled  
Feb 26, 2022 6:39:48 AM WARNING hudson.lifecycle.SystemdLifecycle notify  
null  
com.sun.jna.LastErrorException: [1] Operation not permitted  
at com.sun.jna.Native.invokeInt(Native Method)  
at com.sun.jna.Function.invoke(Function.java:426)  
at com.sun.jna.Function.invoke(Function.java:361)  
at com.sun.jna.Library$Handler.invoke(Library.java:265)  
at hudson.lifecycle.$Proxy19.sd\_notify(Unknown Source)  
at hudson.lifecycle.SystemdLifecycle.notify(SystemdLifecycle.java:64)  
at hudson.lifecycle.SystemdLifecycle.onExtendTimeout(SystemdLifecycle.java:53)  
at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1184)  
at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:88)  
at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:108)  
at org.jvnet.hudson.reactor.ReactorListener$Aggregator.run(ReactorListener.java:115)  
at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onAttained(ReactorListener.java:108)  
at org.jvnet.hudson.reactor.Reactor$1.run(Reactor.java:183)  
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:121)  
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  
at java.lang.Thread.run(Thread.java:750)

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [February 26, 2022, 8:05am UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656/2 "2022-02-26T08:05:42Z")

</div>

I would recommend opening a bug for Jenkins core at [issues.jenkins.io](http://issues.jenkins.io)

Make sure to indicate what version of Java (my guess is Java version). Any details you can share about the pipeline your creating. And how you installed it (rpm, Deb, docker, war file, etc)

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [February 26, 2022, 12:03pm UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656/3 "2022-02-26T12:03:27Z")

</div>

> [@san](#):
>
> Installed build pipeline plugin but while configuring new build pipeline I am getting " A problem occurred while processing the request" Kindly advise.

Thanks very much for sharing the stack trace! I can duplicate the problem in Jenkins weekly 2.336 in a large scale configuration that I have. Based on testing with a pre-release build of 2.337, the stack trace mentioning systemd is no longer happening when the larger boolean radio button bug in 2.336 is fixed.

You may want to reconsider your use of the build pipeline plugin. The build pipeline plugin was last released 4 years ago and has a known security vulnerability. It is not being actively maintained.

What Jenkins version are you running?

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [February 26, 2022, 1:33pm UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656/4 "2022-02-26T13:33:19Z")

</div>

While exploring the problem further, I see the boolean radio button bug that my poor testing skills allowed to arrive in Jenkins 2.336. When I attempt to create a build pipeline view in Jenkins 2.336, it fails with the stack trace

```auto
org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of boolean
        at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:288)
        at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:822)
        at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:85)
        at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:726)
Caused: java.lang.IllegalArgumentException: Failed to instantiate boolean from {"value":"false"}
        at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:729)

```

I’m confident that problem is fixed by the change in [PR-6311](https://github.com/jenkinsci/jenkins/pull/6311) by @timja . I’ve tested with a local build of that PR and the view is defined correctly. The images are broken in the view because that plugin depends on images that have been deleted from Jenkins 2.335 and later, but the view behaves as expected without generating any stack trace.

The most immediate solution is to use the Jenkins LTS instead of the Jenkins weekly release for your use case. I checked that it is well-behaved with the Jenkins 2.332.1 release candidate and I’m confident that it is well-behaved with the Jenkins 2.319.3 LTS release.

I need to spend more time exploring to see if I can duplicate the systemd lifecycle stack trace after the fix in [PR-6311](https://github.com/jenkinsci/jenkins/pull/6311)

---

<div class="post-metadata">

**Author:** ![san](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@san](https://community.jenkins.io/u/san)\
**Post date:** [February 26, 2022, 2:16pm UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656/5 "2022-02-26T14:16:12Z")

</div>

Thanks, Mark, Below is jenkins version details.  
Jenkins Automation Server Engine 2.336

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [February 26, 2022, 2:22pm UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656/6 "2022-02-26T14:22:08Z")

</div>

> [@san](#):
>
> Below is jenkins version details.  
> Jenkins Automation Server Engine 2.336

Simplest short term solution is to use the Jenkins LTS 2.319.3. It doesn’t have this problem.

I still think that the build pipeline plugin is a poor choice because it has a known security vulnerability, but that’s a choice you need to make.

---

<div class="post-metadata">

**Author:** ![san](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@san](https://community.jenkins.io/u/san)\
**Post date:** [March 8, 2022, 5:57am UTC](https://community.jenkins.io/t/a-problem-occurred-while-processing-the-request-build-pipeline/1656/7 "2022-03-08T05:57:42Z")

</div>

Thanks Mark, Jenkins LTS 2.319.3 is working fine with build pipeline plugin.
