com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find class for com.puppycrawl.tools.checkstyle.checks.sizes.SuppressionCommentFilter

GitHub | a1exmac | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Checkstyle Exception while SonarQube execution

    Google Groups | 8 months ago | Unknown author
    com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find class for com.puppycrawl.tools.checkstyle.checks.sizes.SuppressionCommentFilter
  2. 0

    missing key 'severity' in SuppressionCommentFilter

    GitHub | 8 months ago | a1exmac
    com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find class for com.puppycrawl.tools.checkstyle.checks.sizes.SuppressionCommentFilter
  3. 0

    SonarQube ClassNotFoundException for python custom rule

    Stack Overflow | 5 months ago | Cormandyr
    org.sonar.api.utils.SonarException: Unable to initialize the XPath engine, perhaps because of an invalid query: //FILE_INPUT/STATEMENT[0][@tokenValue[not(contains(.,"''' Copyright .... '''"))]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SonarQube Jenkins plugin - ClassNotFoundException: org.sonar.api.batch.TimeMachine

    Stack Overflow | 1 year ago | Alejandro Goñi
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project parent.pom: Unable to register extension es.excentia.sonar.citymodel.CityDecorator

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      com.puppycrawl.tools.checkstyle.checks.sizes.SuppressionCommentFilter

      at org.sonar.classloader.ParentFirstStrategy.loadClass()
    2. org.sonar.classloader
      ClassRealm.loadClass
      1. org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)[sonar-scanner-engine-shaded-5.6.jar:na]
      3. org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)[sonar-scanner-engine-shaded-5.6.jar:na]
      3 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)[na:1.8.0_91]
      2. java.lang.Class.forName(Class.java:348)[na:1.8.0_91]
      2 frames
    4. checkstyle
      AutomaticBean.configure
      1. com.puppycrawl.tools.checkstyle.PackageObjectFactory.createObject(PackageObjectFactory.java:127)[checkstyle-all-2.4.jar:na]
      2. com.puppycrawl.tools.checkstyle.PackageObjectFactory.doMakeObject(PackageObjectFactory.java:105)[checkstyle-all-2.4.jar:na]
      3. com.puppycrawl.tools.checkstyle.PackageObjectFactory.createModule(PackageObjectFactory.java:151)[checkstyle-all-2.4.jar:na]
      4. com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:158)[checkstyle-all-2.4.jar:na]
      5. com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:138)[checkstyle-all-2.4.jar:na]
      5 frames
    5. Sonar Checkstyle plugin
      CheckstyleSensor.analyse
      1. org.sonar.plugins.checkstyle.CheckstyleExecutor.execute(CheckstyleExecutor.java:86)[sonar-checkstyle-plugin-2.4.jar:na]
      2. org.sonar.plugins.checkstyle.CheckstyleSensor.analyse(CheckstyleSensor.java:57)[sonar-checkstyle-plugin-2.4.jar:na]
      2 frames
    6. SonarQube
      ModuleScanContainer.doAfterStart
      1. org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)[sonar-scanner-engine-shaded-5.6.jar:na]
      3. org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)[sonar-scanner-engine-shaded-5.6.jar:na]
      4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)[sonar-scanner-engine-shaded-5.6.jar:na]
      4 frames
    7. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    8. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)[sonar-scanner-engine-shaded-5.6.jar:na]
      3. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)[sonar-scanner-engine-shaded-5.6.jar:na]
      3 frames
    9. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    10. org.sonar.batch
      TaskContainer.doAfterStart
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    11. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    12. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    13. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)[sonar-scanner-api-batch8564566822583896050.jar:na]
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
      4 frames
    15. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)[sonar-scanner-cli-2.6.1.jar:na]
      1 frame
    16. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)[na:na]
      1 frame
    17. org.sonarsource.scanner
      Main.main
      1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)[sonar-scanner-cli-2.6.1.jar:na]
      2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)[sonar-scanner-cli-2.6.1.jar:na]
      3. org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)[sonar-scanner-cli-2.6.1.jar:na]
      4. org.sonarsource.scanner.cli.Main.execute(Main.java:72)[sonar-scanner-cli-2.6.1.jar:na]
      5. org.sonarsource.scanner.cli.Main.main(Main.java:60)[sonar-scanner-cli-2.6.1.jar:na]
      5 frames