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

GitHub | regrog | 5 months ago
  1. 0

    NoSuchMethodError

    GitHub | 5 months ago | regrog
    java.lang.NoSuchMethodError: com.sun.tools.javac.code.Symbol$TypeSymbol.members()Lcom/sun/tools/javac/code/Scope$WriteableScope;
  2. 0

    Running Lombok Tests

    Google Groups | 7 months ago | Derek Peirce
    java.lang.NoSuchMethodError: com.sun.tools.javac.parser.Parser$Factory.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/Parser$Factory;
  3. 0

    Invoking JavaFX script from Java (JSR223, FXEvaluator) in JavaFX SDK 1.0

    Oracle Community | 8 years ago | 843851
    java.lang.NoSuchMethodError: com.sun.tools.javac.main.RecognizedOptions.getJavacFileManagerOptions(Lcom/sun/tools/javac/main/RecognizedOptions$OptionHelper;)[Lcom/sun/tools/javac/main/JavacOption$Option;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Creating JavaFX Classes from Java Classes then running?

    Oracle Community | 8 years ago | ahhughes
    java.lang.NoSuchMethodError: com.sun.tools.javac.main.RecognizedOptions.getJavacFileManagerOptions(Lcom/sun/tools/javac/main/RecognizedOptions$OptionHelper;)[Lcom/sun/tools/javac/main/JavacOption$Option;
  6. 0

    StubGenerator does not run under JDK 7 update 40

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.NoSuchMethodError: com.sun.tools.javac.processing.JavacProcessingEnvironment.instance(Lcom/sun/tool s/javac/util/Context;)Lcom/sun/tools/javac/processing/JavacProcessingEnvironment ;

    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.NoSuchMethodError

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

      at com.google.errorprone.util.ASTHelpers.findSuperMethods()
    2. com.google.errorprone
      ErrorProneScanner.visitMethod
      1. com.google.errorprone.util.ASTHelpers.findSuperMethods(ASTHelpers.java:395)
      2. com.google.errorprone.bugpatterns.Overrides.matchMethod(Overrides.java:58)
      3. com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:815)
      4. com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:146)
      4 frames
    3. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:800)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
      2 frames
    4. com.google.errorprone
      ErrorProneScanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:1050)
      3. com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:146)
      3 frames
    5. Java Tools
      TreeScanner.visitClass
      1. com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
      3. com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:133)
      3 frames
    6. com.google.errorprone
      ErrorProneScanner.visitClass
      1. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:590)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:146)
      2 frames
    7. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
      2 frames
    8. com.google.errorprone
      ErrorProneScanner.scan
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:91)
      2. com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:1050)
      3. com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:146)
      3 frames
    9. Java Tools
      TreeScanner.visitCompilationUnit
      1. com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
      2. com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
      3. com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
      3 frames
    10. com.google.errorprone
      ErrorProneScanner.visitCompilationUnit
      1. com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:601)
      2. com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:146)
      2 frames
    11. Java Tools
      TreePathScanner.scan
      1. com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
      2. com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:50)
      2 frames
    12. com.google.errorprone
      ErrorProneScannerTransformer.apply
      1. com.google.errorprone.scanner.Scanner.scan(Scanner.java:70)
      2. com.google.errorprone.scanner.ErrorProneScanner.scan(ErrorProneScanner.java:1036)
      3. com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:45)
      3 frames
    13. @BugPattern annotation
      ErrorProneJavacJavaCompiler.flow
      1. com.google.errorprone.ErrorProneAnalyzer.reportReadyForAnalysis(ErrorProneAnalyzer.java:172)
      2. com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:115)
      3. com.google.errorprone.ErrorProneJavacJavaCompiler.postFlow(ErrorProneJavacJavaCompiler.java:109)
      4. com.google.errorprone.ErrorProneJavacJavaCompiler.flow(ErrorProneJavacJavaCompiler.java:93)
      4 frames
    14. Java Tools
      Main.compile
      1. com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1286)
      2. com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:894)
      3. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
      4. com.sun.tools.javac.main.Main.compile(Main.java:523)
      5. com.sun.tools.javac.main.Main.compile(Main.java:381)
      6. com.sun.tools.javac.main.Main.compile(Main.java:370)
      6 frames
    15. @BugPattern annotation
      ErrorProneAntCompilerAdapter.execute
      1. com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:253)
      2. com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:163)
      3. com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:92)
      4. com.google.errorprone.ErrorProneAntCompilerAdapter$AntRunner.apply(ErrorProneAntCompilerAdapter.java:39)
      5. com.google.errorprone.ErrorProneAntCompilerAdapter$AntRunner.apply(ErrorProneAntCompilerAdapter.java:36)
      6. com.google.errorprone.ErrorProneAntCompilerAdapter.execute(ErrorProneAntCompilerAdapter.java:72)
      6 frames
    16. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1160)
      2. org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:936)
      3. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      3 frames
    17. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    18. Ant
      SingleCheckExecutor.executeTargets
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      6 frames
    19. org.eclipse.ant
      EclipseSingleCheckExecutor.executeTargets
      1. org.eclipse.ant.internal.launching.remote.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:34)
      1 frame
    20. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      2. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
      3. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:309)
      4. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:224)
      5. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      5 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    22. Ant
      SingleCheckExecutor.executeTargets
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      6 frames
    23. org.eclipse.ant
      EclipseSingleCheckExecutor.executeTargets
      1. org.eclipse.ant.internal.launching.remote.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:34)
      1 frame
    24. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      2. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
      3. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:309)
      4. org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:224)
      5. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      5 frames
    25. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    26. Ant
      DefaultExecutor.executeTargets
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      7 frames
    27. org.eclipse.ant
      EclipseDefaultExecutor.executeTargets
      1. org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36)
      1 frame
    28. Ant
      Project.executeTargets
      1. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      1 frame
    29. org.eclipse.ant
      InternalAntRunner.main
      1. org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:453)
      2. org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:140)
      2 frames