This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Netbeans hangs on Lombok Annotation Processing | ||
---|---|---|---|
Product: | java | Reporter: | deveth0 |
Component: | Source | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Dump |
Will not handle for 8.2 release, niche userbase. I've tested with current dev build and it seems that Lombok has serious problems with bundled nbjavac / JDK9 implementation. NPEs, linkage errors etc. |
Created attachment 163326 [details] Dump Hi, this seems to be a reproducible bug, at least I get it each time I tried: If you mistype a Lombok Annotation (not sure with other annotations), you can get Netbeans to hang with full CPU usage on one core and multiple exceptions dumps in log file. Works: @Getter(onMethod = @__(@JsonValue)) Does not Work: @Getter(onMethod = (@__@JsonValue)) Exception in Log-File: java.lang.NullPointerException at lombok.javac.JavacAST.printMessage(JavacAST.java:420) at lombok.javac.JavacNode.addError(JavacNode.java:235) at lombok.javac.handlers.JavacHandlerUtil$1.setError(JavacHandlerUtil.java:286) at lombok.javac.HandlerLibrary.handleAnnotation(HandlerLibrary.java:244) at lombok.javac.JavacTransformer$AnnotationVisitor.visitAnnotationOnField(JavacTransformer.java:91) at lombok.javac.JavacNode.traverse(JavacNode.java:115) at lombok.javac.JavacAST.traverseChildren(JavacAST.java:143) at lombok.javac.JavacNode.traverse(JavacNode.java:80) at lombok.javac.JavacAST.traverseChildren(JavacAST.java:143) at lombok.javac.JavacNode.traverse(JavacNode.java:75) at lombok.javac.JavacAST.traverseChildren(JavacAST.java:143) at lombok.javac.JavacNode.traverse(JavacNode.java:70) at lombok.javac.JavacAST.traverse(JavacAST.java:139) at lombok.javac.JavacTransformer.transform(JavacTransformer.java:70) at lombok.javac.apt.LombokProcessor.process(LombokProcessor.java:250) at lombok.core.AnnotationProcessor$JavacDescriptor.process(AnnotationProcessor.java:114) at lombok.core.AnnotationProcessor.process(AnnotationProcessor.java:164) at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.process(AnnotationProcessor.java:59)