java.lang.LinkageError: loader constraint violation: when resolving overridden method "lombok.javac.apt.Javac7BaseFileObjectWrapper.isNameCompatible(Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Z" the class loader (instance of lombok/launch/ShadowClassLoader) of the current class, lombok/javac/apt/Javac7BaseFileObjectWrapper, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/tools/JavaFileObject$Kind used in the signature

GitHub | koral-- | 4 days ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1301#280533064

    GitHub | 4 days ago | koral--
    java.lang.LinkageError: loader constraint violation: when resolving overridden method "lombok.javac.apt.Javac7BaseFileObjectWrapper.isNameCompatible(Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Z" the class loader (instance of lombok/launch/ShadowClassLoader) of the current class, lombok/javac/apt/Javac7BaseFileObjectWrapper, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/tools/JavaFileObject$Kind used in the signature
  2. 0

    GitHub comment 102#121346100

    GitHub | 2 years ago | lombokissues
    java.lang.NullPointerException
  3. 0

    NPE while compiling with javac

    Google Groups | 8 years ago | Jon Stevens
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    fails to work in Intellij 13.0.2

    GitHub | 3 years ago | torstenwerner
    java.lang.NoClassDefFoundError: com/sun/tools/javac/code/TypeTags

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: when resolving overridden method "lombok.javac.apt.Javac7BaseFileObjectWrapper.isNameCompatible(Ljava/lang/String;Ljavax/tools/JavaFileObject$Kind;)Z" the class loader (instance of lombok/launch/ShadowClassLoader) of the current class, lombok/javac/apt/Javac7BaseFileObjectWrapper, and its superclass loader (instance of <bootloader>), have different Class objects for the type javax/tools/JavaFileObject$Kind used in the signature

      at lombok.javac.apt.LombokFileObjects$Compiler$2.wrap()
    2. lombok.javac.apt
      InterceptingJavaFileManager.getJavaFileForOutput
      1. lombok.javac.apt.LombokFileObjects$Compiler$2.wrap(LombokFileObjects.java:65)
      2. lombok.javac.apt.LombokFileObjects.createEmpty(LombokFileObjects.java:123)
      3. lombok.javac.apt.InterceptingJavaFileManager.getJavaFileForOutput(InterceptingJavaFileManager.java:47)
      3 frames
    3. Java Tools
      JavacFiler.createSourceFile
      1. com.sun.tools.javac.processing.JavacFiler.createSourceOrClassFile(JavacFiler.java:414)
      2. com.sun.tools.javac.processing.JavacFiler.createSourceFile(JavacFiler.java:388)
      2 frames
    4. lombok.javac.apt
      LombokProcessor.process
      1. lombok.javac.apt.LombokProcessor.forceNewRound(LombokProcessor.java:333)
      2. lombok.javac.apt.LombokProcessor.process(LombokProcessor.java:322)
      2 frames
    5. Lombok - AST fork
      AnnotationProcessor.process
      1. lombok.core.AnnotationProcessor$JavacDescriptor.process(AnnotationProcessor.java:114)
      2. lombok.core.AnnotationProcessor.process(AnnotationProcessor.java:164)
      2 frames
    6. Project Lombok
      AnnotationProcessorHider$AnnotationProcessor.process
      1. lombok.launch.AnnotationProcessorHider$AnnotationProcessor.process(AnnotationProcessor.java:74)
      1 frame
    7. Java Tools
      Main.compile
      1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:826)
      2. com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:742)
      3. com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2000(JavacProcessingEnvironment.java:100)
      4. com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1046)
      5. com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1153)
      6. com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1120)
      7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:814)
      8. com.sun.tools.javac.main.Main.compile(Main.java:257)
      8 frames
    8. @BugPattern annotation
      ErrorProneCompiler.compile
      1. com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:229)
      2. com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:107)
      3. com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:128)
      4. com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:70)
      4 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    10. net.ltgt.gradle
      ErrorProneCompiler.execute
      1. net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:57)
      2. net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:25)
      2 frames
    11. org.gradle.api
      JavaCompile.compile
      1. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
      2. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
      3. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
      4. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
      5. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
      6. org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:206)
      7. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:187)
      8. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:130)
      8 frames
    12. com.android.build
      AndroidJavaCompile.compile
      1. com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    14. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
      1 frame
    15. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)
      2. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
      3. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
      4. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
      7. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
      8. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      9. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
      10. org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
      11. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
      12. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
      13. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      14. org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
      15. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
      16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
      17. org.gradle.internal.Transformers$4.transform(Transformers.java:169)
      18. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
      19. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
      20. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
      21. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
      22. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
      23. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
      24. org.gradle.execution.taskgraph.ParallelTaskPlanExecutor.process(ParallelTaskPlanExecutor.java:50)
      25. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113)
      26. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
      27. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      28. org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
      29. org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
      30. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      31. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      32. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
      33. org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:196)
      34. org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:193)
      35. org.gradle.internal.Transformers$4.transform(Transformers.java:169)
      36. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
      37. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
      38. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:193)
      39. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
      40. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
      40 frames
    16. Gradle Launcher
      GradleBuildController.run
      1. org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
      1 frame
    17. org.gradle.tooling
      BuildModelActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:50)
      1 frame
    18. Gradle Launcher
      ChainingBuildActionRunner.run
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      1 frame
    19. org.gradle.tooling
      RunAsBuildOperationBuildActionRunner$1.execute
      1. org.gradle.tooling.internal.provider.runner.RunAsBuildOperationBuildActionRunner$1.execute(RunAsBuildOperationBuildActionRunner.java:43)
      2. org.gradle.tooling.internal.provider.runner.RunAsBuildOperationBuildActionRunner$1.execute(RunAsBuildOperationBuildActionRunner.java:40)
      2 frames
    20. Gradle Core
      DefaultBuildOperationExecutor.run
      1. org.gradle.internal.Transformers$4.transform(Transformers.java:169)
      2. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
      3. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
      3 frames
    21. org.gradle.tooling
      SubscribableBuildActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:40)
      2. org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:75)
      2 frames
    22. Gradle Launcher
      ForwardClientInput$2.call
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      2. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
      3. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
      4. org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
      5. org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
      6. org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)
      7. org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)
      8. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
      9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)
      12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      13. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
      14. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      15. org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
      16. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      17. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
      18. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
      18 frames
    23. Gradle Core
      Swapper.swap
      1. org.gradle.util.Swapper.swap(Swapper.java:38)
      1 frame
    24. Gradle Launcher
      DaemonStateCoordinator$1.run
      1. org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
      2. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      3. org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
      4. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      5. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
      6. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      7. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      8. org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
      9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
      12. org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
      12 frames
    25. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      2. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      2 frames
    26. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames