{"action":"created","issue":{"url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin/issues/2","repository_url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin","labels_url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin/issues/2/comments","events_url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin/issues/2/events","html_url":"https://github.com/sleroy/SonarEsLintPlugin/issues/2","id":309517891,"number":2,"title":"java.lang.NullPointerException","user":{"login":"deuvarneys","id":4229341,"avatar_url":"https://avatars2.githubusercontent.com/u/4229341?v=4","gravatar_id":"","url":"https://api.github.com/users/deuvarneys","html_url":"https://github.com/deuvarneys","followers_url":"https://api.github.com/users/deuvarneys/followers","following_url":"https://api.github.com/users/deuvarneys/following{/other_user}","gists_url":"https://api.github.com/users/deuvarneys/gists{/gist_id}","starred_url":"https://api.github.com/users/deuvarneys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deuvarneys/subscriptions","organizations_url":"https://api.github.com/users/deuvarneys/orgs","repos_url":"https://api.github.com/users/deuvarneys/repos","events_url":"https://api.github.com/users/deuvarneys/events{/privacy}","received_events_url":"https://api.github.com/users/deuvarneys/received_events","type":"User","site_admin":false},"labels":[{"id":528619404,"url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"sleroy","id":5766034,"avatar_url":"https://avatars3.githubusercontent.com/u/5766034?v=4","gravatar_id":"","url":"https://api.github.com/users/sleroy","html_url":"https://github.com/sleroy","followers_url":"https://api.github.com/users/sleroy/followers","following_url":"https://api.github.com/users/sleroy/following{/other_user}","gists_url":"https://api.github.com/users/sleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/sleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleroy/subscriptions","organizations_url":"https://api.github.com/users/sleroy/orgs","repos_url":"https://api.github.com/users/sleroy/repos","events_url":"https://api.github.com/users/sleroy/events{/privacy}","received_events_url":"https://api.github.com/users/sleroy/received_events","type":"User","site_admin":false},"assignees":[{"login":"sleroy","id":5766034,"avatar_url":"https://avatars3.githubusercontent.com/u/5766034?v=4","gravatar_id":"","url":"https://api.github.com/users/sleroy","html_url":"https://github.com/sleroy","followers_url":"https://api.github.com/users/sleroy/followers","following_url":"https://api.github.com/users/sleroy/following{/other_user}","gists_url":"https://api.github.com/users/sleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/sleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleroy/subscriptions","organizations_url":"https://api.github.com/users/sleroy/orgs","repos_url":"https://api.github.com/users/sleroy/repos","events_url":"https://api.github.com/users/sleroy/events{/privacy}","received_events_url":"https://api.github.com/users/sleroy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-28T20:23:40Z","updated_at":"2018-04-01T20:11:10Z","closed_at":null,"author_association":"NONE","body":"When running a scan with following your instructions from the README.md and the versions below, I get the following output. Is there a way that I can resolve this or am I running the tests incorrectly?\r\n```\r\nSonarQube: 6.7.2\r\nESLint: 4.5.0\r\nJava: 1.8\r\nESLint Plugin: 0.2.0\r\n```\r\n\r\n```\r\n21:57:01.595 INFO: Sensor Linting sensor for Javascript files [eslintplugin]\r\n21:57:01.595 DEBUG: Found sonar.eslint.eslintpath Lint path to be 'node_modules/eslint/bin/eslint.js'\r\n21:57:01.595 DEBUG: #1 Trying to resolve path in node_modules/eslint/bin/eslint.js\r\n21:57:01.596 DEBUG: #2 Trying to resolve path in /Users/dsanderson/Projects/src/react/node_modules/eslint/bin/eslint.js\r\n21:57:01.596 DEBUG: EsLint Absolute path is Optional[/Users/dsanderson/Projects/src/react/node_modules/eslint/bin/eslint.js]\r\n21:57:01.597 DEBUG: Found sonar.eslint.eslintconfigpath Lint path to be './eslint.json'\r\n21:57:01.597 DEBUG: #1 Trying to resolve path in ./eslint.json\r\n21:57:01.597 DEBUG: #2 Trying to resolve path in /Users/dsanderson/Projects/src/react/./eslint.json\r\n21:57:01.597 DEBUG: EsLint Absolute path is Optional[/Users/dsanderson/Projects/src/react/./eslint.json]\r\n21:57:01.597 DEBUG: #1 Trying to resolve path in .eslintrc\r\n21:57:01.597 DEBUG: #2 Trying to resolve path in /Users/dsanderson/Projects/src/react/.eslintrc\r\n21:57:01.597 DEBUG: #1 Trying to resolve path in .eslintrc.js\r\n21:57:01.598 DEBUG: #2 Trying to resolve path in /Users/dsanderson/Projects/src/react/.eslintrc.js\r\n21:57:01.598 DEBUG: #1 Trying to resolve path in .eslintrc.json\r\n21:57:01.598 DEBUG: #2 Trying to resolve path in /Users/dsanderson/Projects/src/react/.eslintrc.json\r\n21:57:01.598 DEBUG: #1 Trying to resolve path in .eslintrc.yaml\r\n21:57:01.598 DEBUG: #2 Trying to resolve path in /Users/dsanderson/Projects/src/react/.eslintrc.yaml\r\n21:57:01.598 DEBUG: #1 Trying to resolve path in .eslintrc.yml\r\n21:57:01.598 DEBUG: #2 Trying to resolve path in /Users/dsanderson/Projects/src/react/.eslintrc.yml\r\n21:57:01.599 DEBUG: Path sonar.eslint.eslintrulesdir not specified\r\n21:57:01.599 DEBUG: Path sonar.eslint.eslintrulesdir not specified, falling back to null\r\n21:57:01.606 DEBUG: Using a temporary path for EsLint output: /Users/dsanderson/Projects/src/react/.scannerwork/.sonartmp/3122295272195353071.tmp\r\n21:57:01.607 DEBUG: Split 728 files into  27 batches for processing\r\n21:57:01.607 DEBUG: Executing EsLint with command: node....\r\n\r\n....\r\n....\r\n....\r\n\r\n21:39:57.464 INFO: ------------------------------------------------------------------------\r\n21:39:57.464 INFO: EXECUTION FAILURE\r\n21:39:57.464 INFO: ------------------------------------------------------------------------\r\n21:39:57.464 INFO: Total time: 1:54.946s\r\n21:39:57.560 INFO: Final Memory: 36M/1536M\r\n21:39:57.561 INFO: ------------------------------------------------------------------------\r\n21:39:57.561 ERROR: Error during SonarQube Scanner execution\r\njava.lang.NullPointerException\r\n\tat io.github.sleroy.sonar.EsLintSensor.execute(EsLintSensor.java:121)\r\n\tat org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)\r\n\tat org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:88)\r\n\tat org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:82)\r\n\tat org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:68)\r\n\tat org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:88)\r\n\tat org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:180)\r\n\tat org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)\r\n\tat org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)\r\n\tat org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:288)\r\n\tat org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:283)\r\n\tat org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:261)\r\n\tat org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)\r\n\tat org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)\r\n\tat org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)\r\n\tat org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:84)\r\n\tat org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)\r\n\tat org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)\r\n\tat org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:121)\r\n\tat org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)\r\n\tat org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)\r\n\tat org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)\r\n\tat com.sun.proxy.$Proxy0.execute(Unknown Source)\r\n\tat org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:171)\r\n\tat org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:128)\r\n\tat org.sonarsource.scanner.cli.Main.execute(Main.java:111)\r\n\tat org.sonarsource.scanner.cli.Main.execute(Main.java:75)\r\n\tat org.sonarsource.scanner.cli.Main.main(Main.java:61)\r\n```"},"comment":{"url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin/issues/comments/377813287","html_url":"https://github.com/sleroy/SonarEsLintPlugin/issues/2#issuecomment-377813287","issue_url":"https://api.github.com/repos/sleroy/SonarEsLintPlugin/issues/2","id":377813287,"user":{"login":"sleroy","id":5766034,"avatar_url":"https://avatars3.githubusercontent.com/u/5766034?v=4","gravatar_id":"","url":"https://api.github.com/users/sleroy","html_url":"https://github.com/sleroy","followers_url":"https://api.github.com/users/sleroy/followers","following_url":"https://api.github.com/users/sleroy/following{/other_user}","gists_url":"https://api.github.com/users/sleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/sleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleroy/subscriptions","organizations_url":"https://api.github.com/users/sleroy/orgs","repos_url":"https://api.github.com/users/sleroy/repos","events_url":"https://api.github.com/users/sleroy/events{/privacy}","received_events_url":"https://api.github.com/users/sleroy/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T20:11:10Z","updated_at":"2018-04-01T20:11:10Z","author_association":"OWNER","body":"Fixed the bug :\r\n22:07:07.862 INFO: SonarQube Scanner 3.1.0.1141\r\n22:07:07.862 INFO: Java 1.8.0_121 Oracle Corporation (64-bit)\r\n22:07:07.862 INFO: Linux 4.13.0-36-generic amd64\r\n22:07:08.316 INFO: SonarQube server 6.7.2\r\n\r\n22:07:09.446 DEBUG:   * ESLint 0.3.0 (eslintplugin)\r\n\r\nThe plugin was performing a NPE if the JS analyzed file has a parsing error or is ignored by ESLint ."}}
{"actor":{"display_login":"sleroy"}}