net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ...

Jenkins JIRA | Shakir Ali | 1 year ago
  1. 0

    [ERROR] net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... at net.sourceforge.cobertura.javancss.parser.JavaParser.generateParseException(JavaParser.java:10296) at net.sourceforge.cobertura.javancss.parser.JavaParser.jj_consume_token(JavaParser.java:10172) at net.sourceforge.cobertura.javancss.parser.JavaParser.AnnotationTypeDeclaration(JavaParser.java:4895) at net.sourceforge.cobertura.javancss.parser.JavaParser.TypeDeclaration(JavaParser.java:629) at net.sourceforge.cobertura.javancss.parser.JavaParser.CompilationUnit(JavaParser.java:353) at net.sourceforge.cobertura.javancss.parser.JavaParser.parse(JavaParser.java:137) at net.sourceforge.cobertura.javancss.Javancss._measureSource(Javancss.java:256) at net.sourceforge.cobertura.javancss.Javancss._measureRoot(Javancss.java:339) at net.sourceforge.cobertura.javancss.Javancss.<init>(Javancss.java:419) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getAccumlatedCCNForSource(ComplexityCalculator.java:102) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getAccumlatedCCNForSingleFile(ComplexityCalculator.java:139) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForSourceFileNameInternal(ComplexityCalculator.java:224) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForPackageInternal(ComplexityCalculator.java:194) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForProject(ComplexityCalculator.java:164) at net.sourceforge.cobertura.reporting.xml.XMLReport.<init>(XMLReport.java:80) at net.sourceforge.cobertura.reporting.Main.parseArguments(Main.java:107) at net.sourceforge.cobertura.reporting.Main.main(Main.java:174) net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "class" "class "" at line 11, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... [cobertura] WARN [main] net.sourceforge.cobertura.reporting.ComplexityCalculator - JavaNCSS got an error while parsing the java file Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ...

    Jenkins JIRA | 1 year ago | Shakir Ali
    net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ...
  2. 0

    [ERROR] net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... at net.sourceforge.cobertura.javancss.parser.JavaParser.generateParseException(JavaParser.java:10296) at net.sourceforge.cobertura.javancss.parser.JavaParser.jj_consume_token(JavaParser.java:10172) at net.sourceforge.cobertura.javancss.parser.JavaParser.AnnotationTypeDeclaration(JavaParser.java:4895) at net.sourceforge.cobertura.javancss.parser.JavaParser.TypeDeclaration(JavaParser.java:629) at net.sourceforge.cobertura.javancss.parser.JavaParser.CompilationUnit(JavaParser.java:353) at net.sourceforge.cobertura.javancss.parser.JavaParser.parse(JavaParser.java:137) at net.sourceforge.cobertura.javancss.Javancss._measureSource(Javancss.java:256) at net.sourceforge.cobertura.javancss.Javancss._measureRoot(Javancss.java:339) at net.sourceforge.cobertura.javancss.Javancss.<init>(Javancss.java:419) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getAccumlatedCCNForSource(ComplexityCalculator.java:102) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getAccumlatedCCNForSingleFile(ComplexityCalculator.java:139) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForSourceFileNameInternal(ComplexityCalculator.java:224) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForPackageInternal(ComplexityCalculator.java:194) at net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForProject(ComplexityCalculator.java:164) at net.sourceforge.cobertura.reporting.xml.XMLReport.<init>(XMLReport.java:80) at net.sourceforge.cobertura.reporting.Main.parseArguments(Main.java:107) at net.sourceforge.cobertura.reporting.Main.main(Main.java:174) net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "class" "class "" at line 11, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... [cobertura] WARN [main] net.sourceforge.cobertura.reporting.ComplexityCalculator - JavaNCSS got an error while parsing the java file Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ...

    Jenkins JIRA | 1 year ago | Shakir Ali
    net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ...
  3. 0

    Exception from cobertura plugin during maven site generation

    GitHub | 2 years ago | romani
    net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "final" "final "" at line 277, column 14. Was expecting one of: "assert" ... "boolean" ... "byte" ... "char" ... "double" ... "enum" ... "false" ... "float" ... "int" ... "long" ... "new" ... "null" ... "short" ... "super" ... "this" ... "true" ... "void" ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <CHARACTER_LITERAL> ... <STRING_LITERAL> ... <IDENTIFIER> ... "(" ... ")" ... "!" ... "~" ... "++" ... "--" ... "+" ... "-" ...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    bug

    GitHub | 3 years ago | youpengfei
    net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "else" "else "" at line 158, column 11. Was expecting one of: "abstract" ... "assert" ... "boolean" ... "byte" ... "char" ... "class" ... "double" ... "enum" ... "final" ... "float" ... "int" ... "interface" ... "long" ... "native" ... "private" ... "protected" ... "public" ... "short" ... "static" ... "strictfp" ... "synchronized" ... "transient" ... "void" ... "volatile" ... <IDENTIFIER> ... "{" ... "}" ... ";" ... "@" ... "<" ...
  6. 0

    Issue with parsing code

    GitHub | 3 years ago | christ66
    net.sourceforge.cobertura.javancss.parser.ParseException: Encountered " "+=" "+= "" at line 395, column 30. Was expecting one of: "instanceof" ... ")" ... "=" ... ">" ... "<" ... "?" ... "==" ... "<=" ... ">=" ... "!=" ... "||" ... "&&" ... "++" ... "--" ... "+" ... "-" ... "*" ... "/" ... "&" ... "|" ... "^" ... "%" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... ">" ... "<" ... "<" ... ")" ... "<" ...

    1 unregistered visitors
    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. net.sourceforge.cobertura.javancss.parser.ParseException

      Encountered " "class" "class "" at line 14, column 14. Was expecting one of: "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ... "@" ...

      at net.sourceforge.cobertura.javancss.parser.JavaParser.generateParseException()
    2. Cobertura code coverage
      Main.main
      1. net.sourceforge.cobertura.javancss.parser.JavaParser.generateParseException(JavaParser.java:10296)
      2. net.sourceforge.cobertura.javancss.parser.JavaParser.jj_consume_token(JavaParser.java:10172)
      3. net.sourceforge.cobertura.javancss.parser.JavaParser.AnnotationTypeDeclaration(JavaParser.java:4895)
      4. net.sourceforge.cobertura.javancss.parser.JavaParser.TypeDeclaration(JavaParser.java:629)
      5. net.sourceforge.cobertura.javancss.parser.JavaParser.CompilationUnit(JavaParser.java:353)
      6. net.sourceforge.cobertura.javancss.parser.JavaParser.parse(JavaParser.java:137)
      7. net.sourceforge.cobertura.javancss.Javancss._measureSource(Javancss.java:256)
      8. net.sourceforge.cobertura.javancss.Javancss._measureRoot(Javancss.java:339)
      9. net.sourceforge.cobertura.javancss.Javancss.<init>(Javancss.java:419)
      10. net.sourceforge.cobertura.reporting.ComplexityCalculator.getAccumlatedCCNForSource(ComplexityCalculator.java:102)
      11. net.sourceforge.cobertura.reporting.ComplexityCalculator.getAccumlatedCCNForSingleFile(ComplexityCalculator.java:139)
      12. net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForSourceFileNameInternal(ComplexityCalculator.java:224)
      13. net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForPackageInternal(ComplexityCalculator.java:194)
      14. net.sourceforge.cobertura.reporting.ComplexityCalculator.getCCNForProject(ComplexityCalculator.java:164)
      15. net.sourceforge.cobertura.reporting.xml.XMLReport.<init>(XMLReport.java:80)
      16. net.sourceforge.cobertura.reporting.Main.parseArguments(Main.java:107)
      17. net.sourceforge.cobertura.reporting.Main.main(Main.java:174)
      17 frames