[ https://issues.apache.org/jira/browse/NETBEANS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617127#comment-16617127 ]
Erik Martino Hansen edited comment on NETBEANS-928 at 9/17/18 6:21 AM: ----------------------------------------------------------------------- {{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not run during this compilation: java.lang.IllegalArgumentException: org.netbeans.modules.java.source.parsing.ProxyFileManager extends java.lang.Object implements javax.tools.JavaFileManager}} {{ at lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}} {{ at lombok.javac.apt.InterceptingJavaFileManager.<init>(InterceptingJavaFileManager.java:40)}} {{ at lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}} {{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}} {{ at lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}} {{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}} {{ at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}} {{ at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:683)}} {{ at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}} was (Author: xylifyx): I managed to get this stack trace {{lombok.javac.apt.LombokProcessor could not be initialized. Lombok will not run during this compilation: java.lang.IllegalArgumentException: org.netbeans.modules.java.source.parsing.ProxyFileManager extends java.lang.Object implements javax.tools.JavaFileManager}} {{ at lombok.javac.apt.LombokFileObjects.getCompiler(LombokFileObjects.java:130)}} {{ at lombok.javac.apt.InterceptingJavaFileManager.<init>(InterceptingJavaFileManager.java:40)}} {{ at lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:164)}} {{ at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:85)}} {{ at lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:87)}} {{ at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:140)}} {{ at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:69)}} {{ at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:683)}} {{ at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:78...}} > Lombok <1.6.22 does not work in Netbeans 9 RC1 (with JDK8) > ---------------------------------------------------------- > > Key: NETBEANS-928 > URL: https://issues.apache.org/jira/browse/NETBEANS-928 > Project: NetBeans > Issue Type: Bug > Affects Versions: 9.0 > Reporter: Nicolai Ehemann > Priority: Minor > > I recently installed Netbeans 9 RC1 on my Windows 10 PC with JDK 1.8.172. > When creating a minimal maven project with Lombok dependency <1.16.22, and > adding a simple class with lombok annotations, the generated methods are not > picked up by netbeans (they do not show up in navigator and are not > recognised in editor). For example, when I add a final field and > @RequiredArgsConstructor, the field is marked as "not initialized in default > constructor". As soon as I change the lombok version to 1.16.22 or 1.18.0, it > works as expected. > > I'm not 100% sure this is a netbeans issue, as I already found similar issued > for lombok (for example > [https://github.com/rzwitserloot/lombok/issues/1435),|https://github.com/rzwitserloot/lombok/issues/1435]),] > but those all mentioned JDK9, where I am using JDK8... -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists