Yes, it's lombok that needs to catch up with the latest java compiler spec (the EndPosTable has been permanently removed from com.sun.javac.tree.EndPosTable). Apparently NbJavaCompiler cleaned up to align with the java spec but lombok hasn't done so yet:
If you have a valid, working github account, you can raise an issue here: https://github.com/projectlombok/lombok/issues Problem in question: Caused by: java.lang.ExceptionInInitializerError at lombok.javac.Javac.getMethod(Javac.java:260) at lombok.javac.Javac.<clinit>(Javac.java:223) at lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:174) at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:96) at org.netbeans.modules.java.source.indexing.APTUtils$ErrorToleratingProcessor.init(APTUtils.java:1002) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1265) at org.netbeans.lib.nbjavac.services.NBJavaCompiler.processAnnotations(NBJavaCompiler.java:64) Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.tree.EndPosTable at java.base/java.lang.ClassLoader.findClass(ClassLoader.java:685) at lombok.launch.ShadowClassLoader.loadClass(ShadowClassLoader.java:565) at java.base/java.lang.Class.forName(Class.java:478) at lombok.javac.Javac.getMethod(Javac.java:260) at lombok.javac.Javac.<clinit>(Javac.java:223) On Tue, Aug 11, 2026 at 10:39 PM Geertjan Wielenga < [email protected]> wrote: > Lombok is not support on the latest releases of Java. Ask them to announce > that. > > Gj > > On Tue, 11 Aug 2026 at 22:22, Tim Mullé <[email protected]> wrote: > >> Ok I suspected that is the answer. >> >> I can stay on 30 for now, since we are heavily lombok based and they are >> not ready for jdk27. >> >> Maybe there should be a big migration notice on the Netbeans Download >> page stating that Lombok is currently not supported in NB31? So it jumps >> out at developers? I’m sure I’m not the only one who will run into this. >> >> >> > On Aug 11, 2026, at 4:18 PM, Michael Bien <[email protected]> wrote: >> > >> > On 8/11/26 21:06, Tim Mullé wrote: >> >> Just tried to use 31 on a very large project which works fine under 30 >> and lombok 1.18.38. >> >> >> >> Just changing the Netbeans IDE from 30 to 31 causes the javac/lombok >> collisions because I think the `nb-javac` is running against jdk 27? and >> lombok does’t support that yet so the code editor gives lots of warnings on >> any Lombok annotated classes. >> >> >> >> Compiling from the command line still works as usual. >> >> >> >> Is there a fix for 31? I had to revert back to 30 for now. >> > >> > the fix would be lombok adding support for JDK 27. >> > >> > The NetBeans 31 editor uses javac of JDK 27 for language support. >> > >> > NB 30 used the javac of JDK 26. Odd NB versions update the javac. >> > >> > regards, >> > >> > michael >> > >> > >> >> >> >> Thanks! >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> >> For additional commands, e-mail: [email protected] >> >> >> >> For further information about the NetBeans mailing lists, visit: >> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >> >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >>
