java.lang.NoSuchMethodError

com.sun.tools.javac.code.Symbol$TypeSymbol.members()Lcom/sun/tools/javac/code/Scope$WriteableScope;

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2690

  • via GitHub by regrog
    , 1 year ago
    com.sun.tools.javac.code.Symbol$TypeSymbol.members()Lcom/sun/tools/javac/code/Scope$WriteableScope;
  • via Google Groups by Derek Peirce, 6 months ago
    com.sun.tools.javac.parser.Parser$Factory.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/Parser$Factory;
  • com.sun.tools.javac.main.RecognizedOptions.getJavacFileManagerOptions(Lcom/sun/tools/javac/main/RecognizedOptions$OptionHelper;)[Lcom/sun/tools/javac/main/JavacOption$Option;
  • Stack trace

    • java.lang.NoSuchMethodError: com.sun.tools.javac.code.Symbol$TypeSymbol.members()Lcom/sun/tools/javac/code/Scope$WriteableScope; at com.google.errorprone.util.ASTHelpers.findSuperMethods(ASTHelpers.java:395) at com.google.errorprone.bugpatterns.Overrides.matchMethod(Overrides.java:58) at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:815) at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:800) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:1050) at com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:146) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99) at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:133) at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:590) at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:1050) at com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:146) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120) at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:601) at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:50) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:70) at com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:1036) at com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:45) at com.google.errorprone.ErrorProneAnalyzer.reportReadyForAnalysis(ErrorProneAnalyzer.java:172) at com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:115) at com.google.errorprone.ErrorProneJavacJavaCompiler.postFlow(ErrorProneJavacJavaCompiler.java:109) at com.google.errorprone.ErrorProneJavacJavaCompiler.flow(ErrorProneJavacJavaCompiler.java:93) at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1286) at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:894) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860) at com.sun.tools.javac.main.Main.compile(Main.java:523) at com.sun.tools.javac.main.Main.compile(Main.java:381) at com.sun.tools.javac.main.Main.compile(Main.java:370) at com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:253) at com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:163) at com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:92) at com.google.errorprone.ErrorProneAntCompilerAdapter$AntRunner.apply(ErrorProneAntCompilerAdapter.java:39) at com.google.errorprone.ErrorProneAntCompilerAdapter$AntRunner.apply(ErrorProneAntCompilerAdapter.java:36) at com.google.errorprone.ErrorProneAntCompilerAdapter.execute(ErrorProneAntCompilerAdapter.java:72) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1160) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:936) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.eclipse.ant.internal.launching.remote.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:34) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:309) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:224) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.eclipse.ant.internal.launching.remote.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:34) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:309) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:224) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) at org.apache.tools.ant.Project.executeTarget(Project.java:1376) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36) at org.apache.tools.ant.Project.executeTargets(Project.java:1260) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:453) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:140)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.