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

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

    XMLWordPrintable

    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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: