[BUILDTOOLS-676] apache-maven-compiler NullPointerException Created: 23/Apr/24  Updated: 25/Dec/24  Resolved: 24/Apr/24

Status: Resolved
Project: BuildTools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: John Assignee: Unassigned
Resolution: Done Votes: 0
Labels: BuildTools
Environment:

Java Version: Java 21
Current Path: /home/john/Minecraft/Chillcraft/BuildTools
git version 2.25.1
openjdk version "21.0.2" 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13-Ubuntu-120.04.1)
OpenJDK 64-Bit Server VM (build 21.0.2+13-Ubuntu-120.04.1, mixed mode, sharing)


Attachments: Text File BuildTools.log.txt    
Version: git-BuildTools-a50d932-181 (#181)
Guidelines Read: Yes

 Description   

Unable to compile Spigot 1.20.5 using BuildTools CLI. Confirmed that the same environment was able to build Spigot 1.20.4 with no problems (even after upgrade to Java 21). Recently upgraded from openjdk17 to openJDK 21 JRE headless version.

OS Version: Ubuntu 20.04

See attached log file.



 Comments   
Comment by John [ 03/May/24 ]

Compilation works with installation of Java 21 JDK from OpenJDK. JRE version confirmed no longer functional on newer version of maven-compiler.

Comment by md_5 [ 24/Apr/24 ]

The issue is you only have JRE not JDK installed. Looking to see if there is anything we can do but probably not

Comment by md_5 [ 24/Apr/24 ]

I've downgraded maven-compiler. Please try the latest version in 10 minutes

Comment by md_5 [ 23/Apr/24 ]

More information about your environment please.

OS, file system, etc

Generated at Sun Mar 30 03:50:02 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.