Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0
-
Component/s: Checkstyle
-
Labels:None
-
Environment:sonar light mode for an ANT project
-
Number of attachments :
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
- duplicates
-
SONAR-3032
When the "Redundant Throws" Checkstyle check can't manage to get a class information, a runtime exception is thrown and the analysis of this file is stopped
-
Some more information about that:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPCHECKSTYLE-20