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
-
Activity
Freddy Mallet
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Link | This issue relates to MPCHECKSTYLE-20 [ MPCHECKSTYLE-20 ] |
Freddy Mallet
made changes -
| Link | This issue relates to MCHECKSTYLE-111 [ MCHECKSTYLE-111 ] |
Simon Brandhof
made changes -
| Component/s | Maven Plugin [ 13194 ] |
Freddy Mallet
made changes -
| Link |
This issue duplicates |
Freddy Mallet
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 2.15 [ 18255 ] | |
| Resolution | Fixed [ 1 ] |
Evgeny Mandrikov
made changes -
| Link | This issue relates to MCHECKSTYLE-111 [ MCHECKSTYLE-111 ] |
Evgeny Mandrikov
made changes -
| Link | This issue relates to MPCHECKSTYLE-20 [ MPCHECKSTYLE-20 ] |