{"action":"created","issue":{"url":"https://api.github.com/repos/jshiell/checkstyle-idea/issues/150","labels_url":"https://api.github.com/repos/jshiell/checkstyle-idea/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/jshiell/checkstyle-idea/issues/150/comments","events_url":"https://api.github.com/repos/jshiell/checkstyle-idea/issues/150/events","html_url":"https://github.com/jshiell/checkstyle-idea/issues/150","id":67539781,"number":150,"title":"CheckStylePluginException: The inspection could not be executed","user":{"login":"mikrobestie","id":7079073,"avatar_url":"https://avatars.githubusercontent.com/u/7079073?v=3","gravatar_id":"","url":"https://api.github.com/users/mikrobestie","html_url":"https://github.com/mikrobestie","followers_url":"https://api.github.com/users/mikrobestie/followers","following_url":"https://api.github.com/users/mikrobestie/following{/other_user}","gists_url":"https://api.github.com/users/mikrobestie/gists{/gist_id}","starred_url":"https://api.github.com/users/mikrobestie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikrobestie/subscriptions","organizations_url":"https://api.github.com/users/mikrobestie/orgs","repos_url":"https://api.github.com/users/mikrobestie/repos","events_url":"https://api.github.com/users/mikrobestie/events{/privacy}","received_events_url":"https://api.github.com/users/mikrobestie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-10T08:22:35Z","updated_at":"2015-04-10T18:41:57Z","closed_at":null,"body":"Hello again,\r\n\r\nI'm now using the newest version of your checkstyle plugin, and it fails to scan any file. The exception thrown is:\r\n\r\n```\r\nThe inspection could not be executed.\r\norg.infernus.idea.checkstyle.exception.CheckStylePluginException: The inspection could not be executed.\r\n\tat org.infernus.idea.checkstyle.CheckStylePlugin.processError(CheckStylePlugin.java:120)\r\n\tat org.infernus.idea.checkstyle.CheckStyleInspection.checkFile(CheckStyleInspection.java:240)\r\n\tat com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:151)\r\n\tat com.intellij.psi.impl.source.PsiJavaFileBaseImpl.accept(PsiJavaFileBaseImpl.java:412)\r\n\tat com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:80)\r\n\tat com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$4.process(LocalInspectionsPass.java:309)\r\n\tat com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$4.process(LocalInspectionsPass.java:304)\r\n\tat com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:122)\r\n\tat com.intellij.concurrency.ApplierCompleter.access$000(ApplierCompleter.java:44)\r\n\tat com.intellij.concurrency.ApplierCompleter$1.run(ApplierCompleter.java:85)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1104)\r\n\tat com.intellij.concurrency.ApplierCompleter$2.run(ApplierCompleter.java:94)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:449)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)\r\n\tat com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)\r\n\tat com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:106)\r\n\tat com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:82)\r\n\tat jsr166e.CountedCompleter.exec(CountedCompleter.java:684)\r\n\tat jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n\tat jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)\r\n\tat jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)\r\n\tat jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)\r\n\tat jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)\r\nCaused by: java.lang.NullPointerException\r\n\tat com.google.common.io.Flushables.flush(Flushables.java:56)\r\n\tat com.puppycrawl.tools.checkstyle.PropertyCacheFile.flushAndCloseOutStream(PropertyCacheFile.java:135)\r\n\tat com.puppycrawl.tools.checkstyle.PropertyCacheFile.destroy(PropertyCacheFile.java:123)\r\n\tat com.puppycrawl.tools.checkstyle.TreeWalker.destroy(TreeWalker.java:499)\r\n\tat com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:299)\r\n\tat org.infernus.idea.checkstyle.CheckStyleInspection.scanFile(CheckStyleInspection.java:281)\r\n\tat org.infernus.idea.checkstyle.CheckStyleInspection.checkFile(CheckStyleInspection.java:227)\r\n\t... 22 more\r\n```\r\n\r\nI can post our configuration file if it's needed. Thank you for your time."},"comment":{"url":"https://api.github.com/repos/jshiell/checkstyle-idea/issues/comments/91648542","html_url":"https://github.com/jshiell/checkstyle-idea/issues/150#issuecomment-91648542","issue_url":"https://api.github.com/repos/jshiell/checkstyle-idea/issues/150","id":91648542,"user":{"login":"mikrobestie","id":7079073,"avatar_url":"https://avatars.githubusercontent.com/u/7079073?v=3","gravatar_id":"","url":"https://api.github.com/users/mikrobestie","html_url":"https://github.com/mikrobestie","followers_url":"https://api.github.com/users/mikrobestie/followers","following_url":"https://api.github.com/users/mikrobestie/following{/other_user}","gists_url":"https://api.github.com/users/mikrobestie/gists{/gist_id}","starred_url":"https://api.github.com/users/mikrobestie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikrobestie/subscriptions","organizations_url":"https://api.github.com/users/mikrobestie/orgs","repos_url":"https://api.github.com/users/mikrobestie/repos","events_url":"https://api.github.com/users/mikrobestie/events{/privacy}","received_events_url":"https://api.github.com/users/mikrobestie/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T18:41:57Z","updated_at":"2015-04-10T18:41:57Z","body":"It doesn't matter, we would be glad to have this issue resolved for everyone. Thanks!"}}