Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created July 31, 2013 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuwei-k/6126569 to your computer and use it in GitHub Desktop.
Save xuwei-k/6126569 to your computer and use it in GitHub Desktop.
lombok NullPointerException
error] warning: No processor claimed any of these annotations: lombok.ToString,lombok.Getter,lombok.AllArgsConstructor
[error] Exception while resolving: NODE LOCAL (class com.sun.tools.javac.tree.JCTree$JCVariableDecl) @val()
[error] final java.lang.Object bos = new ByteArrayOutputStream()
[error] java.lang.NullPointerException
[error] at com.sun.tools.javac.comp.Check$Validator.visitTypeApply(Check.java:1066)
[error] at com.sun.tools.javac.tree.JCTree$JCTypeApply.accept(JCTree.java:1866)
[error] at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1150)
[error] at com.sun.tools.javac.comp.Check.validate(Check.java:1038)
[error] at com.sun.tools.javac.comp.Check.validate(Check.java:1035)
[error] at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:859)
[error] at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:725)
[error] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
[error] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
[error] at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
[error] at lombok.javac.JavacResolution.attrib(JavacResolution.java:364)
[error] at lombok.javac.JavacResolution.resolveMethodMember(JavacResolution.java:332)
[error] at lombok.javac.handlers.HandleVal.visitLocal(HandleVal.java:99)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:92)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:98)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:98)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:77)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:67)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:98)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:72)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:67)
[error] at lombok.javac.JavacAST.traverseChildren(JavacAST.java:116)
[error] at lombok.javac.JavacNode.traverse(JavacNode.java:62)
[error] at lombok.javac.JavacAST.traverse(JavacAST.java:112)
[error] at lombok.javac.HandlerLibrary.callASTVisitors(HandlerLibrary.java:259)
[error] at lombok.javac.JavacTransformer.transform(JavacTransformer.java:71)
[error] at lombok.javac.apt.Processor.process(Processor.java:252)
[error] at lombok.core.AnnotationProcessor$JavacDescriptor.process(AnnotationProcessor.java:117)
[error] at lombok.core.AnnotationProcessor.process(AnnotationProcessor.java:167)
[error] at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
[error] at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
[error] at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
[error] at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
[error] at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
[error] at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108)
[error] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
[error] at com.sun.tools.javac.main.Main.compile(Main.java:439)
[error] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[error] at com.sun.tools.javac.main.Main.compile(Main.java:342)
[error] at com.sun.tools.javac.main.Main.compile(Main.java:333)
[error] at com.sun.tools.javac.Main.compile(Main.java:76)
[error] at com.sun.tools.javac.Main.main(Main.java:61)
[error] error: Lombok visitor handler class lombok.javac.handlers.HandleVal failed: java.lang.NullPointerException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment