Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-1746

Unable to get class information for @throws tag <<custom exception>>

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      sonar light mode for an ANT project

      Description

      With sonar light mode for an ANT project the classpath does not embad the class dependencies for custom exceptions.

      There will be shown only this error in the result:

      <file name"<<java file>>">
      <error line="0" severity="error" message=""Got an exception - java.lang.RuntimeException: Unable to get class information for @throws tag '<<custom exception>>'." source="com.puppycrawl.tools.checkstyle.TreeWalker"/>
      </file>
      

      All other violations in this file will be ignored.

        Issue Links

          Activity

          Hide
          akit Alexander Krist added a comment -
          Show
          akit Alexander Krist added a comment - Some more information about that: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHECKSTYLE-20
          Show
          freddy.mallet Freddy Mallet added a comment - And here is the root issue : http://sourceforge.net/tracker/index.php?func=detail&aid=2777291&group_id=29721&atid=397078

            People

            • Assignee:
              Unassigned
              Reporter:
              akit Alexander Krist
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: