Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3:19:39 PM CheckStylePluginException: An error occurred while scanning a file.: An error occurred during a file scan. #408

Closed
Nikki1993 opened this issue Dec 15, 2015 · 2 comments

Comments

@Nikki1993
Copy link

An error occurred during a file scan.
org.infernus.idea.checkstyle.exception.CheckStylePluginException: An error occurred during a file scan.
at org.infernus.idea.checkstyle.exception.CheckStylePluginException.wrap(CheckStylePluginException.java:34)
at org.infernus.idea.checkstyle.checker.CheckFilesThread.run(CheckFilesThread.java:43)
Caused by: java.lang.NoClassDefFoundError: com/github/sevntu/checkstyle/Utils
at com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck.visitToken(AvoidModifiersForTypesCheck.java:187)
at com.puppycrawl.tools.checkstyle.TreeWalker.notifyVisit(TreeWalker.java:390)
at com.puppycrawl.tools.checkstyle.TreeWalker.processIter(TreeWalker.java:501)
at com.puppycrawl.tools.checkstyle.TreeWalker.walk(TreeWalker.java:332)
at com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered(TreeWalker.java:204)
at com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.process(AbstractFileSetCheck.java:79)
at com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:266)
at org.infernus.idea.checkstyle.checker.CheckStyleChecker.processAndAudit(CheckStyleChecker.java:64)
at org.infernus.idea.checkstyle.checker.CheckStyleChecker.scan(CheckStyleChecker.java:40)
at org.infernus.idea.checkstyle.checker.FileScanner.lambda$checkPsiFile$12(FileScanner.java:90)
at java.util.Optional.map(Optional.java:215)
at org.infernus.idea.checkstyle.checker.FileScanner.checkPsiFile(FileScanner.java:90)
at org.infernus.idea.checkstyle.checker.FileScanner.run(FileScanner.java:42)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:943)
at org.infernus.idea.checkstyle.checker.CheckFilesThread.runFileScanner(CheckFilesThread.java:30)
at org.infernus.idea.checkstyle.checker.AbstractCheckerThread.processFilesForModuleInfoAndScan(AbstractCheckerThread.java:113)
at org.infernus.idea.checkstyle.checker.CheckFilesThread.run(CheckFilesThread.java:39)

Running latest Intellij IDEA 15.0.2 on ArchLinux with JDK 8. I am a bit lost why it doesn't work when I try to run it so could anyone point me out to the right direction?

@romani
Copy link
Member

romani commented Dec 15, 2015

checkstyle is a library , we do not do any plugins, all of them supported by other teams.

please read http://checkstyle.sourceforge.net/report_issue.html#How_to_report_a_bug to see what issue report we expect.

mostlikely you need to file issue against https://github.com/jshiell/checkstyle-idea .

@romani
Copy link
Member

romani commented Dec 15, 2015

com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck

hmm, sevntu, it is https://github.com/sevntu-checkstyle/sevntu.checkstyle , please go to sevntu project to open an issue and please make sure that you provide all details and version of used IntelijIdea checkstyle plugin and sevntu plugin.

@romani romani closed this as completed Dec 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants