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.

Exception in plugin Lombok (0.30-EAP)

See original GitHub issue

Short description

com.intellij.diagnostic.PluginException: Element: class de.plushnikov.intellij.plugin.psi.LombokLightMethodBuilder #JAVA because: psi is outdated invalidated at: no info [Plugin: Lombook Plugin]

Expected behavior

Lombok plugin stops working and doesn’t suggest annotations although I pressed shortcut keys in editor. Same as #854 .

Version information

  • IDEA Version: IntelliJ IDEA CE 2020.2
  • JDK Version: openJDK 11.02
  • OS Type & Version: Mac
  • Lombok Plugin Version: Lombok 0.30-EAP
  • Lombok Dependency Version: 1.18.12

Steps to reproduce

IDEA has updated before this problem occurred.

Stacktrace

If you are experiencing an issue and IntelliJ throws an error please provide the stacktrace.

com.intellij.diagnostic.PluginException: Element: class de.plushnikov.intellij.plugin.psi.LombokLightMethodBuilder [Plugin: Lombook Plugin] at com.intellij.ide.plugins.PluginManagerCore.createPluginException(PluginManagerCore.java:290) at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:12) at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:67) at com.intellij.psi.util.PsiUtilCore.ensureValid(PsiUtilCore.java:478) at com.intellij.psi.impl.PsiClassImplUtil.lambda$createMembersMap$4(PsiClassImplUtil.java:346) at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174) at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40) at com.intellij.psi.impl.PsiClassImplUtil$MembersMap.get(PsiClassImplUtil.java:326) at com.intellij.psi.impl.PsiClassImplUtil$MembersMap.access$000(PsiClassImplUtil.java:318) at com.intellij.psi.impl.PsiClassImplUtil.getMap(PsiClassImplUtil.java:175) at com.intellij.psi.impl.PsiClassImplUtil.getAllByMap(PsiClassImplUtil.java:166) at com.intellij.psi.impl.PsiClassImplUtil.getAllMethods(PsiClassImplUtil.java:58) at com.intellij.psi.impl.source.PsiClassImpl.getAllMethods(PsiClassImpl.java:335) at com.intellij.execution.junit.JUnitUtil.lambda$isJUnit5TestClass$1(JUnitUtil.java:308) at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76) at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150) at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120) at com.intellij.execution.junit.JUnitUtil.isJUnit5TestClass(JUnitUtil.java:306) at com.intellij.execution.junit.JUnit5Framework.isTestClass(JUnit5Framework.java:56) at com.intellij.testIntegration.JavaTestFramework.isTestClass(JavaTestFramework.java:55) at com.intellij.codeInsight.TestFrameworksImpl.isTestClass(TestFrameworksImpl.java:18) at com.intellij.psi.impl.ElementPresentationUtil.getClassKindImpl(ElementPresentationUtil.java:134) at com.intellij.psi.impl.ElementPresentationUtil.lambda$getClassKind$0(ElementPresentationUtil.java:100) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235) at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43) at com.intellij.psi.impl.ElementPresentationUtil.getClassKind(ElementPresentationUtil.java:103) at com.intellij.psi.impl.PsiClassImplUtil.lambda$static$0(PsiClassImplUtil.java:226) at com.intellij.ui.IconDeferrerImpl.deferImpl(IconDeferrerImpl.java:70) at com.intellij.ui.IconDeferrerImpl.defer(IconDeferrerImpl.java:60) at com.intellij.psi.impl.PsiClassImplUtil.getClassIcon(PsiClassImplUtil.java:248) at com.intellij.psi.impl.PsiClassImplUtil.getClassIcon(PsiClassImplUtil.java:235) at com.intellij.psi.impl.source.PsiClassImpl.getElementIcon(PsiClassImpl.java:533) at com.intellij.psi.impl.ElementBase.doComputeIconNow(ElementBase.java:110) at com.intellij.psi.impl.ElementBase.lambda$computeIconNow$2(ElementBase.java:97) at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) at com.intellij.psi.impl.ElementBase.computeIconNow(ElementBase.java:97) at com.intellij.psi.impl.ElementBase.lambda$static$0(ElementBase.java:41) at com.intellij.ui.CoreIconManager.lambda$createDeferredIcon$0(CoreIconManager.java:48) at com.intellij.ui.IconDeferrerImpl.deferImpl(IconDeferrerImpl.java:70) at com.intellij.ui.IconDeferrerImpl.defer(IconDeferrerImpl.java:60) at com.intellij.ui.CoreIconManager.createDeferredIcon(CoreIconManager.java:48) at com.intellij.psi.impl.ElementBase.computeIcon(ElementBase.java:89) at com.intellij.psi.impl.ElementBase.getIcon(ElementBase.java:68) at com.intellij.ide.JavaFileIconPatcher.patchIcon(JavaFileIconPatcher.java:56) at com.intellij.util.IconUtil.lambda$static$0(IconUtil.java:155) at com.intellij.ui.DeferredIconImpl.evaluate(DeferredIconImpl.java:279) at com.intellij.ui.DeferredIconImpl.lambda$scheduleEvaluation$0(DeferredIconImpl.java:166) at com.intellij.ui.IconDeferrerImpl.evaluateDeferred(IconDeferrerImpl.java:98) at com.intellij.ui.DeferredIconImpl.lambda$scheduleEvaluation$1(DeferredIconImpl.java:166) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:77) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:153) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:114) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:56) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:56) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:111) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:77) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:98) at com.intellij.ui.DeferredIconImpl.lambda$scheduleEvaluation$4(DeferredIconImpl.java:165) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:207) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:183) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: com.intellij.psi.PsiInvalidElementAccessException: Element: class de.plushnikov.intellij.plugin.psi.LombokLightMethodBuilder … 87 more


STACKTRACE HERE (inside code markup)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:14
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
948462448commented, Aug 5, 2020

I have the same problem

0reactions
mplushnikovcommented, Aug 9, 2020

Duplicate of #829

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception in plugin Lombok (0.30-EAP). Intellij Idea 2020.2
Exception in plugin Lombok (0.30-EAP). Expected behavior. The plugin stop working and sometimes it disable the shortcut keyboard in the editor.
Read more >
Lombok - IntelliJ IDEs Plugin - JetBrains Marketplace
IntelliJ Lombok plugin. A plugin that adds first-class support for Project Lombok. Features. @Getter and @Setter. @FieldNameConstants. @ToString.
Read more >
Lombok incompatible with IntelliJ 2020.2 - Stack Overflow
The solution for me was: Uninstall Lombok Plugin; Invalidate Caches & Restart; Install Lombok plugin 0.30 EAP; Invalidate Caches & Restart.
Read more >
A brand new website interface for an even better experience!
Exception in plugin Lombok (0.30-EAP). Intellij Idea 2020.2.
Read more >
Why My Lombok Plugin Always Fail Using Idea Version ...
Symptoms IDE shows the Start Failed dialog with the exception stacktrace and ... I've installed the latest version of lombok plugin 0.30 EAP...
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