java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCContinue cannot be cast to com.sun.tools.javac.tree.JCTree$JCExpression

Oracle Community | 843851 | 7 years ago
  1. 0

    Problem with continue in a for loop

    Oracle Community | 7 years ago | 843851
    java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCContinue cannot be cast to com.sun.tools.javac.tree.JCTree$JCExpression
  2. 0

    Ordering.from fails if 'from' method is statically imported

    GitHub | 2 years ago | cushon
    java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCIdent cannot be cast to com.sun.tools.javac.tree.JCTree$JCFieldAccess
  3. 0

    Compilation error with JDK 7 (1.7.0_71) on mac

    GitHub | 2 years ago | thegreatdao
    java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCLiteral cannot be cast to com.sun.tools.javac.tree.JCTree$JCAnnotation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug ID: JDK-6670278 ClassCastException com.sun.tools.javac.tree.JCTree$JCErroneous in APT

    sun.com | 4 months ago
    java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCErroneous cannot be cast to com.sun.tools.javac.tree.JCTree$JCAnnotation
  6. 0

    java-1.7.0-openjdk: java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCFieldAccess

    https://bugzilla.redhat.com/bugzilla/ | 3 years ago | Stanislav Ochotnicky
    java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCFieldAccess cannot be cast to com.sun.tools.javac.tree.JCTree$JCIdent

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

      com.sun.tools.javac.tree.JCTree$JCContinue cannot be cast to com.sun.tools.javac.tree.JCTree$JCExpression

      at com.sun.tools.javafx.comp.JavafxToJava.translateToExpression()
    2. com.sun.tools
      Main.main
      1. com.sun.tools.javafx.comp.JavafxToJava.translateToExpression(JavafxToJava.java:568)
      2. com.sun.tools.javafx.comp.JavafxToJava.visitBlockExpression(JavafxToJava.java:2320)
      3. com.sun.tools.javafx.tree.JFXBlock.accept(JFXBlock.java:83)
      4. com.sun.tools.javafx.comp.JavafxToJava.translateToExpression(JavafxToJava.java:565)
      5. com.sun.tools.javafx.comp.JavafxToJava.translateAsValue(JavafxToJava.java:575)
      6. com.sun.tools.javafx.comp.JavafxToJava.visitIfExpression(JavafxToJava.java:3595)
      7. com.sun.tools.javafx.tree.JFXIfExpression.accept(JFXIfExpression.java:48)
      8. com.sun.tools.javafx.comp.JavafxToJava.translateToExpression(JavafxToJava.java:565)
      9. com.sun.tools.javafx.comp.JavafxToJava.visitBlockExpression(JavafxToJava.java:2320)
      10. com.sun.tools.javafx.tree.JFXBlock.accept(JFXBlock.java:83)
      11. com.sun.tools.javafx.comp.JavafxToJava.translateToExpression(JavafxToJava.java:565)
      12. com.sun.tools.javafx.comp.JavafxToJava.translateAsValue(JavafxToJava.java:575)
      13. com.sun.tools.javafx.comp.JavafxToJava$5.addElement(JavafxToJava.java:3007)
      14. com.sun.tools.javafx.comp.JavafxToJava.visitForExpression(JavafxToJava.java:3212)
      15. com.sun.tools.javafx.tree.JFXForExpression.accept(JFXForExpression.java:50)
      16. com.sun.tools.javafx.comp.JavafxToJava.translateToExpression(JavafxToJava.java:565)
      17. com.sun.tools.javafx.comp.JavafxToJava.translateAsValue(JavafxToJava.java:575)
      18. com.sun.tools.javafx.comp.JavafxToJava.translateNonBoundInit(JavafxToJava.java:1861)
      19. com.sun.tools.javafx.comp.JavafxToJava.translateDefinitionalAssignmentToValueArg(JavafxToJava.java:1876)
      20. com.sun.tools.javafx.comp.JavafxToJava.translateDefinitionalAssignmentToSetExpression(JavafxToJava.java:1917)
      21. com.sun.tools.javafx.comp.JavafxToJava.visitVarScriptInit(JavafxToJava.java:1976)
      22. com.sun.tools.javafx.tree.JFXVarScriptInit.accept(JFXVarScriptInit.java:67)
      23. com.sun.tools.javafx.comp.JavafxToJava.translateToStatement(JavafxToJava.java:598)
      24. com.sun.tools.javafx.comp.JavafxToJava.translateToStatement(JavafxToJava.java:628)
      25. com.sun.tools.javafx.comp.JavafxToJava.visitBlockExpression(JavafxToJava.java:2306)
      26. com.sun.tools.javafx.tree.JFXBlock.accept(JFXBlock.java:83)
      27. com.sun.tools.javafx.comp.JavafxToJava.translateToStatement(JavafxToJava.java:598)
      28. com.sun.tools.javafx.comp.JavafxToJava.access$700(JavafxToJava.java:89)
      29. com.sun.tools.javafx.comp.JavafxToJava$FunctionTranslator.makeRunMethodBody(JavafxToJava.java:2164)
      30. com.sun.tools.javafx.comp.JavafxToJava$FunctionTranslator.methodBody(JavafxToJava.java:2224)
      31. com.sun.tools.javafx.comp.JavafxToJava$FunctionTranslator.doit(JavafxToJava.java:2279)
      32. com.sun.tools.javafx.comp.JavafxToJava.visitFunctionDefinition(JavafxToJava.java:2292)
      33. com.sun.tools.javafx.tree.JFXFunctionDefinition.accept(JFXFunctionDefinition.java:93)
      34. com.sun.tools.javafx.comp.JavafxToJava.translateGeneric(JavafxToJava.java:500)
      35. com.sun.tools.javafx.comp.JavafxToJava.translate(JavafxToJava.java:509)
      36. com.sun.tools.javafx.comp.JavafxToJava.visitClassDeclaration(JavafxToJava.java:1261)
      37. com.sun.tools.javafx.tree.JFXClassDeclaration.accept(JFXClassDeclaration.java:141)
      38. com.sun.tools.javafx.comp.JavafxToJava.translateGeneric(JavafxToJava.java:500)
      39. com.sun.tools.javafx.comp.JavafxToJava.translate(JavafxToJava.java:521)
      40. com.sun.tools.javafx.comp.JavafxToJava.visitScript(JavafxToJava.java:1147)
      41. com.sun.tools.javafx.tree.JFXScript.accept(JFXScript.java:89)
      42. com.sun.tools.javafx.comp.JavafxToJava.translateGeneric(JavafxToJava.java:500)
      43. com.sun.tools.javafx.comp.JavafxToJava.translate(JavafxToJava.java:517)
      44. com.sun.tools.javafx.comp.JavafxToJava.toJava(JavafxToJava.java:691)
      45. com.sun.tools.javafx.main.JavafxCompiler.jfxToJava(JavafxCompiler.java:728)
      46. com.sun.tools.javafx.main.JavafxCompiler.jfxToJava(JavafxCompiler.java:699)
      47. com.sun.tools.javafx.main.JavafxCompiler.compile2(JavafxCompiler.java:785)
      48. com.sun.tools.javafx.main.JavafxCompiler.compile(JavafxCompiler.java:685)
      49. com.sun.tools.javafx.main.Main.compile(Main.java:624)
      50. com.sun.tools.javafx.main.Main.compile(Main.java:312)
      51. com.sun.tools.javafx.Main.compile(Main.java:84)
      52. com.sun.tools.javafx.Main.main(Main.java:69)
      52 frames