Lombok Eclipse Problem: "Java AST Request from Selection"

I have a Lombok plugin installed in my Eclipse. So far, it has been working fine since many days. Suddenly, I often get a popup in my Eclipse with the following details:

An error has occurred. See error log for more details.
lombok/launch/PatchFixesHider$PatchFixes


An internal error occurred during: "Requesting Java AST from selection".
lombok/launch/PatchFixesHider$PatchFixes

The Eclipse error log has the following:

!ENTRY org.eclipse.ui.workbench 4 2 2016-08-29 13:18:38.631
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.LinkageError: lombok/launch/PatchFixesHider$PatchFixes
    at org.eclipse.jdt.internal.ui.search.OccurrencesFinder.addUsage(OccurrencesFinder.java)
    at org.eclipse.jdt.internal.ui.search.OccurrencesFinder.visit(OccurrencesFinder.java:158)
    at org.eclipse.jdt.core.dom.QualifiedName.accept0(QualifiedName.java:168)
    at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)
    at org.eclipse.jdt.core.dom.PackageDeclaration.accept0(PackageDeclaration.java:225)
    at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
    at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2759)

Eclipse Version:

Eclipse Java EE IDE for Web Developers.

Version: Neon Release (4.6.0)
Build id: 20160613-1800

This popup happens quite often and is very annoying. Does anyone know how to fix this?

+4
source share
2 answers

The old bank was removed and updated with the last lombok bank (version 1.16.10) .. restarted my system. this fixed the problem. Not sure what the cause of this problem is.

+2
source

, Eclipse .

0

Source: https://habr.com/ru/post/1652812/


All Articles