{"action":"closed","issue":{"url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/366","labels_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/366/comments","events_url":"https://api.github.com/repos/sevntu-checkstyle/sevntu.checkstyle/issues/366/events","html_url":"https://github.com/sevntu-checkstyle/sevntu.checkstyle/issues/366","id":90660749,"number":366,"title":"LineLengthExtendedCheck: java.lang.NoSuchMethodError in Sonar Checkstyle plugin v2.3","user":{"login":"rdiachenko","id":875939,"avatar_url":"https://avatars.githubusercontent.com/u/875939?v=3","gravatar_id":"","url":"https://api.github.com/users/rdiachenko","html_url":"https://github.com/rdiachenko","followers_url":"https://api.github.com/users/rdiachenko/followers","following_url":"https://api.github.com/users/rdiachenko/following{/other_user}","gists_url":"https://api.github.com/users/rdiachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/rdiachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdiachenko/subscriptions","organizations_url":"https://api.github.com/users/rdiachenko/orgs","repos_url":"https://api.github.com/users/rdiachenko/repos","events_url":"https://api.github.com/users/rdiachenko/events{/privacy}","received_events_url":"https://api.github.com/users/rdiachenko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-24T12:24:56Z","updated_at":"2015-11-13T14:43:22Z","closed_at":"2015-11-13T14:43:22Z","body":"The following exception occurred when LineLengthExtendedCheck is turned on in Sonar:\r\n\r\n```\r\n[WARN] [04:51:27.061] /A.java: Got an exception - java.lang.NoSuchMethodError: com.puppycrawl.tools.checkstyle.Utils.lengthExpandedTabs(Ljava/lang/String;II)I\r\n[ERROR] [04:51:27.062] Exception occurred during the analysis of file /A.java .\r\njava.lang.NoSuchMethodError: com.puppycrawl.tools.checkstyle.Utils.lengthExpandedTabs(Ljava/lang/String;II)I\r\nat com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck.finishTree(LineLengthExtendedCheck.java:239)\r\nat com.puppycrawl.tools.checkstyle.TreeWalker.notifyEnd(TreeWalker.java:430)\r\nat com.puppycrawl.tools.checkstyle.TreeWalker.walk(TreeWalker.java:386)\r\nat com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered(TreeWalker.java:216)\r\nat com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.process(AbstractFileSetCheck.java:79)\r\nat com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:271)\r\nat org.sonar.plugins.checkstyle.CheckstyleExecutor.execute(CheckstyleExecutor.java:85)\r\nat org.sonar.plugins.checkstyle.CheckstyleSensor.analyse(CheckstyleSensor.java:57)\r\nat org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:79)\r\nat org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:70)\r\nat org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:119)\r\nat org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:194)\r\nat org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)\r\nat org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)\r\nat org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:233)\r\n```\r\n\r\nCurrent Checkstyle plugin for Sonar v2.3 uses Checkstyle 6.4.1 (http://docs.sonarqube.org/display/PLUG/Checkstyle+Plugin) but in Checkstyle 6.5 the backward compatibility was broken (http://checkstyle.sourceforge.net/releasenotes.html#Release_6.5). As a result the aforementioned exception occurred."}}