java.lang.UnsupportedOperationException: com.github.javaparser.ast.expr.SuperExpr

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

    UnsupportedOperationException when solving MethodCallExpr on super

    GitHub | 10 months ago | mlangkabel
    java.lang.UnsupportedOperationException: com.github.javaparser.ast.expr.SuperExpr

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      com.github.javaparser.ast.expr.SuperExpr

      at me.tomassetti.symbolsolver.javaparsermodel.JavaParserFacade.getTypeConcrete()
    2. me.tomassetti.symbolsolver
      JavaParserFacade.solveMethodAsUsage
      1. me.tomassetti.symbolsolver.javaparsermodel.JavaParserFacade.getTypeConcrete(JavaParserFacade.java:394)
      2. me.tomassetti.symbolsolver.javaparsermodel.JavaParserFacade.getType(JavaParserFacade.java:136)
      3. me.tomassetti.symbolsolver.javaparsermodel.JavaParserFacade.getType(JavaParserFacade.java:130)
      4. me.tomassetti.symbolsolver.javaparsermodel.contexts.MethodCallExprContext.solveMethodAsUsage(MethodCallExprContext.java:156)
      5. me.tomassetti.symbolsolver.javaparsermodel.JavaParserFacade.solveMethodAsUsage(JavaParserFacade.java:496)
      5 frames
    3. io.coati
      JavaAstVisitor.visit
      1. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:371)
      2. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:1)
      2 frames
    4. com.github.javaparser
      VoidVisitorAdapter.visit
      1. com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:73)
      2. com.github.javaparser.ast.visitor.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:399)
      3. com.github.javaparser.ast.stmt.ExpressionStmt.accept(ExpressionStmt.java:53)
      4. com.github.javaparser.ast.visitor.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:170)
      5. com.github.javaparser.ast.stmt.BlockStmt.accept(BlockStmt.java:58)
      6. com.github.javaparser.ast.visitor.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:562)
      6 frames
    5. io.coati
      JavaAstVisitor.visit
      1. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:216)
      2. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:1)
      2 frames
    6. com.github.javaparser
      VoidVisitorAdapter.visit
      1. com.github.javaparser.ast.body.MethodDeclaration.accept(MethodDeclaration.java:111)
      2. com.github.javaparser.ast.visitor.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:223)
      2 frames
    7. io.coati
      JavaAstVisitor.visit
      1. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:135)
      2. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:1)
      2 frames
    8. com.github.javaparser
      VoidVisitorAdapter.visit
      1. com.github.javaparser.ast.body.ClassOrInterfaceDeclaration.accept(ClassOrInterfaceDeclaration.java:85)
      2. com.github.javaparser.ast.visitor.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:223)
      2 frames
    9. io.coati
      JavaAstVisitor.visit
      1. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:135)
      2. io.coati.JavaAstVisitor.visit(JavaAstVisitor.java:1)
      2 frames
    10. com.github.javaparser
      CompilationUnit.accept
      1. com.github.javaparser.ast.body.ClassOrInterfaceDeclaration.accept(ClassOrInterfaceDeclaration.java:85)
      2. com.github.javaparser.ast.visitor.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:251)
      3. com.github.javaparser.ast.CompilationUnit.accept(CompilationUnit.java:84)
      3 frames
    11. io.coati
      JavaIndexer.processFile
      1. io.coati.JavaIndexer.processFile(JavaIndexer.java:107)
      1 frame