java.lang.reflect.InvocationTargetException

GitHub | mernst | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. jtb.ParseException

    Parse error at line 3, column 24. Encountered: <EOF>

    at jtb.JavaParser.generateParseException()
  2. jtb
    JavaParser.FormalParameter
    1. jtb.JavaParser.generateParseException(JavaParser.java:8606)
    2. jtb.JavaParser.jj_consume_token(JavaParser.java:8556)
    3. jtb.JavaParser.VariableDeclaratorId(JavaParser.java:1107)
    4. jtb.JavaParser.FormalParameter(JavaParser.java:1452)
    4 frames
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  4. daikon.tools.jtb
    PptNameMatcher.getMatches
    1. daikon.tools.jtb.Ast.create(Ast.java:148)
    2. daikon.tools.jtb.Ast.create(Ast.java:138)
    3. daikon.tools.jtb.Ast.getType(Ast.java:183)
    4. daikon.tools.jtb.PptNameMatcher.getUngenerifiedType(PptNameMatcher.java:106)
    5. daikon.tools.jtb.PptNameMatcher.typeMatch(PptNameMatcher.java:272)
    6. daikon.tools.jtb.PptNameMatcher.matches(PptNameMatcher.java:259)
    7. daikon.tools.jtb.PptNameMatcher.matches(PptNameMatcher.java:178)
    8. daikon.tools.jtb.PptNameMatcher.getMatchesInternal(PptNameMatcher.java:135)
    9. daikon.tools.jtb.PptNameMatcher.getMatches(PptNameMatcher.java:123)
    9 frames
  5. daikon.tools.runtimechecker
    InstrumentVisitor.visit
    1. daikon.tools.runtimechecker.InstrumentVisitor.visit(InstrumentVisitor.java:228)
    1 frame
  6. jtb.syntaxtree
    NodeChoice.accept
    1. jtb.syntaxtree.ConstructorDeclaration.accept(ConstructorDeclaration.java:70)
    2. jtb.syntaxtree.NodeChoice.accept(NodeChoice.java:24)
    2 frames
  7. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:35)
    1 frame
  8. jtb.syntaxtree
    NodeChoice.accept
    1. jtb.syntaxtree.NodeSequence.accept(NodeSequence.java:34)
    2. jtb.syntaxtree.NodeChoice.accept(NodeChoice.java:24)
    2 frames
  9. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:226)
    1 frame
  10. jtb.syntaxtree
    ClassOrInterfaceBodyDeclaration.accept
    1. jtb.syntaxtree.ClassOrInterfaceBodyDeclaration.accept(ClassOrInterfaceBodyDeclaration.java:25)
    1 frame
  11. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:25)
    1 frame
  12. jtb.syntaxtree
    NodeListOptional.accept
    1. jtb.syntaxtree.NodeListOptional.accept(NodeListOptional.java:34)
    1 frame
  13. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:216)
    1 frame
  14. daikon.tools.runtimechecker
    InstrumentVisitor.visit
    1. daikon.tools.runtimechecker.InstrumentVisitor.visit(InstrumentVisitor.java:170)
    1 frame
  15. jtb.syntaxtree
    ClassOrInterfaceBody.accept
    1. jtb.syntaxtree.ClassOrInterfaceBody.accept(ClassOrInterfaceBody.java:40)
    1 frame
  16. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:112)
    1 frame
  17. jtb.syntaxtree
    NodeChoice.accept
    1. jtb.syntaxtree.ClassOrInterfaceDeclaration.accept(ClassOrInterfaceDeclaration.java:43)
    2. jtb.syntaxtree.NodeChoice.accept(NodeChoice.java:24)
    2 frames
  18. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:35)
    1 frame
  19. jtb.syntaxtree
    NodeChoice.accept
    1. jtb.syntaxtree.NodeSequence.accept(NodeSequence.java:34)
    2. jtb.syntaxtree.NodeChoice.accept(NodeChoice.java:24)
    2 frames
  20. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:226)
    1 frame
  21. jtb.syntaxtree
    ClassOrInterfaceBodyDeclaration.accept
    1. jtb.syntaxtree.ClassOrInterfaceBodyDeclaration.accept(ClassOrInterfaceBodyDeclaration.java:25)
    1 frame
  22. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:25)
    1 frame
  23. jtb.syntaxtree
    NodeListOptional.accept
    1. jtb.syntaxtree.NodeListOptional.accept(NodeListOptional.java:34)
    1 frame
  24. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:216)
    1 frame
  25. daikon.tools.runtimechecker
    InstrumentVisitor.visit
    1. daikon.tools.runtimechecker.InstrumentVisitor.visit(InstrumentVisitor.java:170)
    1 frame
  26. jtb.syntaxtree
    ClassOrInterfaceBody.accept
    1. jtb.syntaxtree.ClassOrInterfaceBody.accept(ClassOrInterfaceBody.java:40)
    1 frame
  27. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:112)
    1 frame
  28. jtb.syntaxtree
    NodeChoice.accept
    1. jtb.syntaxtree.ClassOrInterfaceDeclaration.accept(ClassOrInterfaceDeclaration.java:43)
    2. jtb.syntaxtree.NodeChoice.accept(NodeChoice.java:24)
    2 frames
  29. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:35)
    1 frame
  30. jtb.syntaxtree
    NodeChoice.accept
    1. jtb.syntaxtree.NodeSequence.accept(NodeSequence.java:34)
    2. jtb.syntaxtree.NodeChoice.accept(NodeChoice.java:24)
    2 frames
  31. jtb.visitor
    DepthFirstVisitor.visit
    1. jtb.visitor.DepthFirstVisitor.visit(DepthFirstVisitor.java:95)
    1 frame
  32. jtb.syntaxtree
    TypeDeclaration.accept
    1. jtb.syntaxtree.TypeDeclaration.accept(TypeDeclaration.java:24)
    1 frame
  33. daikon.tools.runtimechecker
    Main.main
    1. daikon.tools.runtimechecker.InstrumentHandler.handle(InstrumentHandler.java:122)
    2. daikon.tools.runtimechecker.Main.nonStaticMain(Main.java:45)
    3. daikon.tools.runtimechecker.Main.main(Main.java:71)
    3 frames