Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.1
-
None
-
None
Description
Running checkstyle:check against a project that uses Exceptions from dependencies that are provided scope causes checktyle errors such as the following:
<file name="/share/duncans/workspace/eclipse/cdcie-webapp-feedreader/src/main/java/mil/jfcom/cie/portal/feedreader/converter/ConverterImpl.java">
<error line="0" severity="error" message="Got an exception - java.lang.RuntimeException: Unable to get class information for ValidationException." source="com.puppyc
rawl.tools.checkstyle.TreeWalker"/>
These errors go away when the scope is changed to compile. This does not happen for checkstyle:checkstyle; the report correct indicates no checkstyle errors. This is preventing us from using the checkstyle plugin to enforce checkstyle rules.
Attachments
Attachments
Issue Links
- relates to
-
MCHECKSTYLE-89 java.lang.RuntimeException: Unable to get class information for XXXException
- Closed
- links to