Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.2
    • Component/s: Parser
    • Labels:
      None
    • Environment:
      JDK1.5
    • Testcase included:
      yes
    • Number of attachments :
      2

      Description

      The parser fails on a basic java file, with given stack trace:
      {{{
      Exception in thread "main" com.thoughtworks.qdox.parser.ParseException: syntax error @[185,16] in file:/home/nono/projets/jautomata-2.0/jautomata-core/src/main/java/rationals/DefaultStateFactory.java
      at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:638)
      at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:747)
      at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:619)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:300)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:316)
      at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312)
      at com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:369)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:43)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      at com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(DirectoryScanner.java:52)
      at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:366)
      at oqube.patchwork.report.coverage.SourceMapper.process(SourceMapper.java:103)
      at oqube.patchwork.TestRunner.main(TestRunner.java:542)
      }}}

      The faulty file is sent as attachment.

      1. DefaultStateFactory.java
        10 kB
        Arnaud Bailly
      2. QDoxTest.java
        0.4 kB
        Arnaud Bailly

        Activity

        Hide
        Dennis Lundberg added a comment -

        I tried your test case and it fails with version 1.6.1 but works with 1.6.2, 1.6.3 and the current svn trunk.

        Show
        Dennis Lundberg added a comment - I tried your test case and it fails with version 1.6.1 but works with 1.6.2, 1.6.3 and the current svn trunk.
        Dennis Lundberg made changes -
        Field Original Value New Value
        Fix Version/s 1.6.2 [ 14091 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Arnaud Bailly
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: