question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

4.6.0 update Lint fails with lombok/ast/Node

See original GitHub issue

After updating to 4.6.0 Lint fails with:

:app:lintPlayReleaseUnexpected failure during lint analysis of null (this is a bug in lint or one of the libraries it depends on)

`NoClassDefFoundError:PermissionRequirement.getAnnotationStringValue(PermissionRequirement.java:244)←PermissionRequirement.create(PermissionRequirement.java:111)←SupportAnnotationDetector.checkAnnotations(SupportAnnotationDetector.java:502)←SupportAnnotationDetector.access$100(SupportAnnotationDetector.java:178)←SupportAnnotationDetector$CallVisitor.checkCall(SupportAnnotationDetector.java:2772)←SupportAnnotationDetector$CallVisitor.visitCallExpression(SupportAnnotationDetector.java:2671)←UElementVisitor$DispatchPsiVisitor.visitCallExpression(UElementVisitor.java:520)←UElementVisitor$DelegatingPsiVisitor.visitCallExpression(UElementVisitor.java:1041)`

You can set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.
java.lang.NoClassDefFoundError: lombok/ast/Node

I am using: Gradle: 4.2.1 ‘com.android.tools.build:gradle:3.0.0’ buildToolsVersion “27.0.0”

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
LozariaVinokcommented, Nov 24, 2017

Hi! I had this issue in my project. May be it will be helpful for somebody. I had retrolambda in my project with this solution: https://stackoverflow.com/questions/29316332/retrolambda-lint-crashes-when-using-lambda-expressions-with-retrolambda/30536556#30536556 And after updating of android studio for 3.0.0 I have removed retrolambda but I have forgotten to delete the line configurations.classpath.exclude group: ‘com.android.tools.external.lombok’ And naturally I had issue java.lang.NoClassDefFoundError: lombok/ast/Node Now everything is fine.

0reactions
vanniktechcommented, Dec 11, 2017

Seems like this can be closed now, right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

gradle build fails on lint task - android - Stack Overflow
When I run the application from Android Studio, the build runs fine and executes correctly on my devices. But when I try (from...
Read more >
Changelog - NPM Groovy Lint - Nicolas Vuillamy
Update list of rules; Use new CodeNarc JSON console Output instead of temporary XML files; Call CodeNarc to get its version instead of...
Read more >
npm-package-json-lint - Snyk
Configurable linter for package.json files. For more information about how to use this package see README · Ensure you're using the healthiest npm...
Read more >
Git Lint | Alchemists
Git Lint is a command line interface for linting Git commits by ensuring you maintain a clean, easy to read, debuggable, and maintainable ......
Read more >
ts-lint | Yarn - Package Manager
custom lint rules; custom formatters (failure reporters); inline disabling / enabling ... [enhancement] Updated recommended rules to include ban-types and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found