Skip to content

Checkstyle 8.42 doesn't work with JavadocMethod.accessModifiers #525

@remal

Description

@remal

In Checkstyle 8.42 scope property for JavadocMethod and MissingJavadocMethod modules was replaced with accessModifiers (see checkstyle/checkstyle#7417).

I've selected 8.42 as a checkstyle version for the plugin, however, the checkstyle.xml file from attached checkstyle.zip still can't be parsed. I still have this error message:

The Checkstyle rules file could not be parsed.
cannot initialize module TreeWalker - cannot initialize module MissingJavadocMethod - Property 'accessModifiers' does not exist, please check the documentation
The file has been blocked for 60s.

Is there a chance that I broke smth when I manually set checkstyle version to 8.42 in .idea/checkstyle-idea.xml before updating the plugin? If "yes" how it can be debugged and fixed?

I tried to enable debug logging for the plugin, but IDEA log doesn't contain a full Checkstyle exception with its stacktrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions