com.puppycrawl.tools.checkstyle.api.CheckstyleException: missing key 'severity' in SuppressionCommentFilter

GitHub | a1exmac | 6 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 | 6 months ago | Unknown author
    com.puppycrawl.tools.checkstyle.api.CheckstyleException: missing key 'severity' in SuppressionCommentFilter
  2. 0

    missing key 'severity' in SuppressionCommentFilter

    GitHub | 6 months ago | a1exmac
    com.puppycrawl.tools.checkstyle.api.CheckstyleException: missing key 'severity' in SuppressionCommentFilter
  3. 0

    skip unnecessary exception 'Severity not set, ignoring exception'

    GitHub | 2 months ago | romani
    com.puppycrawl.tools.checkstyle.api.CheckstyleException: missing key 'severity' in TreeWalker
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.puppycrawl.tools.checkstyle.api.CheckstyleException

      missing key 'severity' in SuppressionCommentFilter

      at com.puppycrawl.tools.checkstyle.DefaultConfiguration.getAttribute()
    2. checkstyle
      ConfigurationLoader$InternalLoader.endElement
      1. com.puppycrawl.tools.checkstyle.DefaultConfiguration.getAttribute(DefaultConfiguration.java:68)[checkstyle-all-2.4.jar:na]
      2. com.puppycrawl.tools.checkstyle.ConfigurationLoader$InternalLoader.endElement(ConfigurationLoader.java:481)[checkstyle-all-2.4.jar:na]
      2 frames
    3. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)[na:1.8.0_91]
      2. com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)[na:1.8.0_91]
      3. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:766)[na:1.8.0_91]
      4. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:357)[na:1.8.0_91]
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2781)[na:1.8.0_91]
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)[na:1.8.0_91]
      7. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)[na:1.8.0_91]
      8. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)[na:1.8.0_91]
      9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)[na:1.8.0_91]
      10. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)[na:1.8.0_91]
      11. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)[na:1.8.0_91]
      12. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)[na:1.8.0_91]
      13. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)[na:1.8.0_91]
      13 frames
    4. checkstyle
      ConfigurationLoader.loadConfiguration
      1. com.puppycrawl.tools.checkstyle.api.AbstractLoader.parseInputSource(AbstractLoader.java:99)[checkstyle-all-2.4.jar:na]
      2. com.puppycrawl.tools.checkstyle.ConfigurationLoader.parseInputSource(ConfigurationLoader.java:151)[checkstyle-all-2.4.jar:na]
      3. com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration(ConfigurationLoader.java:230)[checkstyle-all-2.4.jar:na]
      4. com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration(ConfigurationLoader.java:182)[checkstyle-all-2.4.jar:na]
      5. com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration(ConfigurationLoader.java:163)[checkstyle-all-2.4.jar:na]
      5 frames
    5. Sonar Checkstyle plugin
      CheckstyleSensor.analyse
      1. org.sonar.plugins.checkstyle.CheckstyleConfiguration.toCheckstyleConfiguration(CheckstyleConfiguration.java:107)[sonar-checkstyle-plugin-2.4.jar:na]
      2. org.sonar.plugins.checkstyle.CheckstyleConfiguration.getCheckstyleConfiguration(CheckstyleConfiguration.java:101)[sonar-checkstyle-plugin-2.4.jar:na]
      3. org.sonar.plugins.checkstyle.CheckstyleExecutor.execute(CheckstyleExecutor.java:86)[sonar-checkstyle-plugin-2.4.jar:na]
      4. org.sonar.plugins.checkstyle.CheckstyleSensor.analyse(CheckstyleSensor.java:57)[sonar-checkstyle-plugin-2.4.jar:na]
      4 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