com.puppycrawl.tools.checkstyle.api.CheckstyleException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Checkstyle Exception while SonarQube execution
    via by Unknown author,
    • com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find class for com.puppycrawl.tools.checkstyle.checks.sizes.SuppressionCommentFilter at com.puppycrawl.tools.checkstyle.PackageObjectFactory.createObject(PackageObjectFactory.java:133)[checkstyle-all-2.4.jar:na] at com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(PackageObjectFactory.java:105)[checkstyle-all-2.4.jar:na] at com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:151)[checkstyle-all-2.4.jar:na] at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:158)[checkstyle-all-2.4.jar:na] at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:138)[checkstyle-all-2.4.jar:na] at org.sonar.plugins.checkstyle.CheckstyleExecutor.execute(CheckstyleExecutor.java:86)[sonar-checkstyle-plugin-2.4.jar:na] at org.sonar.plugins.checkstyle.CheckstyleSensor.analyse(CheckstyleSensor.java:57)[sonar-checkstyle-plugin-2.4.jar:na] at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)[sonar-scanner-api-batch8564566822583896050.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91] at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)[sonar-scanner-cli-2.6.1.jar:na] at com.sun.proxy.$Proxy0.execute(Unknown Source)[na:na] at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)[sonar-scanner-cli-2.6.1.jar:na] at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)[sonar-scanner-cli-2.6.1.jar:na] at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)[sonar-scanner-cli-2.6.1.jar:na] at org.sonarsource.scanner.cli.Main.execute(Main.java:72)[sonar-scanner-cli-2.6.1.jar:na] at org.sonarsource.scanner.cli.Main.main(Main.java:60)[sonar-scanner-cli-2.6.1.jar:na] Caused by: java.lang.ClassNotFoundException: com.puppycrawl.tools.checkstyle.checks.sizes.SuppressionCommentFilter at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)[sonar-scanner-engine-shaded-5.6.jar:na] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)[sonar-scanner-engine-shaded-5.6.jar:na] at java.lang.Class.forName0(Native Method)[na:1.8.0_91] at java.lang.Class.forName(Class.java:348)[na:1.8.0_91] at com.puppycrawl.tools.checkstyle.PackageObjectFactory.createObject(PackageObjectFactory.java:127)[checkstyle-all-2.4.jar:na] ... 35 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,