SonarQube
  1. SonarQube
  2. SONAR-1746

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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
    • Number of attachments :
      0

      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
          Alexander Krist added a comment -
          Show
          Alexander Krist added a comment - Some more information about that: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHECKSTYLE-20
          Show
          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:
              Alexander Krist
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: