# Jenkins Local setup

**URL:** <https://community.jenkins.io/t/jenkins-local-setup/5968>\
**Category:** Code\
**Tags:** newcomer-contributor\
**Created:** [February 25, 2023, 11:39am UTC](https://community.jenkins.io/t/jenkins-local-setup/5968 "2023-02-25T11:39:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bandagiswapnil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/bandagiswapnil/32/3474_2.png) [@Bandagiswapnil](https://community.jenkins.io/u/Bandagiswapnil)\
**Post date:** [February 25, 2023, 11:39am UTC](https://community.jenkins.io/t/jenkins-local-setup/5968/1 "2023-02-25T11:39:40Z")

</div>

Hi  
I am new to Jenkins. I have Clone the code and done env setting as requiered by jenkins contributer page [jenkins/CONTRIBUTING.md at af424b5e64e89d9ec741e05363dcf6102adbfd62 · Bandagiswapnil/jenkins · GitHub](https://github.com/Bandagiswapnil/jenkins/blob/af424b5e64e89d9ec741e05363dcf6102adbfd62/CONTRIBUTING.md)

after executing the mvn -am -pl war,bom -Pquick-build clean install command  
i am getting this error :  
[INFO] — compiler:3.10.1:compile (default-compile) @ jenkins-core —  
[INFO] Changes detected - recompiling the module!  
[INFO] Compiling 1177 source files to D:\OpenSource\java\jenkins\core\target\classes  
[INFO] -------------------------------------------------------------  
[ERROR] COMPILATION ERROR :  
[INFO] -------------------------------------------------------------  
[ERROR] An exception has occurred in the compiler (11). Please file a bug against the Java compiler via the Java bug reporting page ([http://bugreport.java.com](http://bugreport.java.com)) after checking the Bug Database ([http://bugs.java.com](http://bugs.java.com)) for duplicates. Include your program and the following diagnostic in your report. Thank you.  
java.lang.NullPointerException  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1235)  
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)  
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitReturn(Flow.java:1210)  
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1546)  
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)  
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitBlock(Flow.java:997)  
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1020)  
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitMethodDef(Flow.java:964)  
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:866)  
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:927)  
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774)  
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:899)  
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774)  
at jdk.compiler/com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:398)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1327)  
at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1317)  
at jdk.compiler/com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:218)  
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1401)  
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1375)  
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:973)  
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:311)  
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)  
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)  
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)

[INFO] 1 error  
[INFO] -------------------------------------------------------------  
[INFO] ------------------------------------------------------------------------  
[INFO] Reactor Summary for Jenkins main module 2.393-SNAPSHOT:  
[INFO]  
[INFO] Jenkins main module … SUCCESS [4.702 s]  
[INFO] Jenkins BOM … SUCCESS [0.249 s]  
[INFO] Internal SPI for WebSocket … SUCCESS [3.940 s]  
[INFO] Jetty 9 implementation for WebSocket … SUCCESS [2.184 s]  
[INFO] Jetty 10 implementation for WebSocket … SUCCESS [2.044 s]  
[INFO] Jenkins cli … SUCCESS [12.278 s]  
[INFO] Jenkins core … FAILURE [01:15 min]  
[INFO] Jenkins war … SKIPPED  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: 01:43 min  
[INFO] Finished at: 2023-02-25T16:58:26+05:30

---

<div class="post-metadata">

**Author:** ![slide\_o\_mix](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/slide_o_mix/32/20977_2.png) [@slide\_o\_mix](https://community.jenkins.io/u/slide_o_mix)\
**Post date:** [February 25, 2023, 4:33pm UTC](https://community.jenkins.io/t/jenkins-local-setup/5968/2 "2023-02-25T16:33:47Z")

</div>

What version of Java are you using to build, what OS, what version of Maven, etc? Without more information it will be impossible to help.

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [February 25, 2023, 7:38pm UTC](https://community.jenkins.io/t/jenkins-local-setup/5968/3 "2023-02-25T19:38:06Z")

</div>

Hello @Bandagiswapnil and welcome to this community 👋

Alex is right, we do need some more information to begin with. 🤷

---

<div class="post-metadata">

**Author:** ![Bandagiswapnil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/bandagiswapnil/32/3474_2.png) [@Bandagiswapnil](https://community.jenkins.io/u/Bandagiswapnil)\
**Post date:** [February 28, 2023, 4:35am UTC](https://community.jenkins.io/t/jenkins-local-setup/5968/4 "2023-02-28T04:35:33Z")

</div>

Hi Alex,  
I am using java and manen version are :

C:\Users\Swapnil\>java -version  
openjdk version “11” 2018-09-25  
OpenJDK Runtime Environment 18.9 (build 11+28)  
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

C:\Users\Swapnil\>mvn -version  
Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)  
Maven home: D:\OpenSource\software\apache-maven-3.9.0  
Java version: 11, vendor: Oracle Corporation, runtime: D:\OpenSource\software\jdk-11  
Default locale: en\_IN, platform encoding: Cp1252  
OS name: “windows 10”, version: “10.0”, arch: “amd64”, family: “windows”

Please let me know if i am missing any thing.

---

<div class="post-metadata">

**Author:** ![danielbeck](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/danielbeck/32/89_2.png) [@danielbeck](https://community.jenkins.io/u/danielbeck)\
**Post date:** [March 1, 2023, 9:56am UTC](https://community.jenkins.io/t/jenkins-local-setup/5968/5 "2023-03-01T09:56:08Z")

</div>

> [@Bandagiswapnil](#):
>
> openjdk version “11” 2018-09-25

Try updating to a newer release of Java 11.

---

<div class="post-metadata">

**Author:** ![Bandagiswapnil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/bandagiswapnil/32/3474_2.png) [@Bandagiswapnil](https://community.jenkins.io/u/Bandagiswapnil)\
**Post date:** [March 1, 2023, 2:44pm UTC](https://community.jenkins.io/t/jenkins-local-setup/5968/6 "2023-03-01T14:44:58Z")

</div>

Hi danielbeck,  
after updating to a newer release of java 11 still it’s giving same error .
