{"action":"created","issue":{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/34","repository_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi","labels_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/34/comments","events_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/34/events","html_url":"https://github.com/fabriciocolombo/sonar-delphi/issues/34","id":124715149,"number":34,"title":"Crash with pointer on a not valid line","user":{"login":"Aarklendoia","id":1765298,"avatar_url":"https://avatars.githubusercontent.com/u/1765298?v=3","gravatar_id":"","url":"https://api.github.com/users/Aarklendoia","html_url":"https://github.com/Aarklendoia","followers_url":"https://api.github.com/users/Aarklendoia/followers","following_url":"https://api.github.com/users/Aarklendoia/following{/other_user}","gists_url":"https://api.github.com/users/Aarklendoia/gists{/gist_id}","starred_url":"https://api.github.com/users/Aarklendoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aarklendoia/subscriptions","organizations_url":"https://api.github.com/users/Aarklendoia/orgs","repos_url":"https://api.github.com/users/Aarklendoia/repos","events_url":"https://api.github.com/users/Aarklendoia/events{/privacy}","received_events_url":"https://api.github.com/users/Aarklendoia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/milestones/2","html_url":"https://github.com/fabriciocolombo/sonar-delphi/milestones/0.3.4","labels_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/milestones/2/labels","id":1466057,"number":2,"title":"0.3.4","description":null,"creator":{"login":"fabriciocolombo","id":842859,"avatar_url":"https://avatars.githubusercontent.com/u/842859?v=3","gravatar_id":"","url":"https://api.github.com/users/fabriciocolombo","html_url":"https://github.com/fabriciocolombo","followers_url":"https://api.github.com/users/fabriciocolombo/followers","following_url":"https://api.github.com/users/fabriciocolombo/following{/other_user}","gists_url":"https://api.github.com/users/fabriciocolombo/gists{/gist_id}","starred_url":"https://api.github.com/users/fabriciocolombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabriciocolombo/subscriptions","organizations_url":"https://api.github.com/users/fabriciocolombo/orgs","repos_url":"https://api.github.com/users/fabriciocolombo/repos","events_url":"https://api.github.com/users/fabriciocolombo/events{/privacy}","received_events_url":"https://api.github.com/users/fabriciocolombo/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":4,"state":"open","created_at":"2015-12-18T02:35:15Z","updated_at":"2016-01-19T12:12:11Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-01-04T08:30:41Z","updated_at":"2016-03-21T11:53:44Z","closed_at":null,"body":"Sonar crash during analyse (file with the problem : [EPSSCallBackController.zip](https://github.com/fabriciocolombo/sonar-delphi/files/76966/EPSSCallBackController.zip)) :\r\n\r\nINFO: ------------------------------------------------------------------------\r\nINFO: EXECUTION FAILURE\r\nINFO: ------------------------------------------------------------------------\r\nTotal time: 23.984s\r\nFinal Memory: 51M/823M\r\nINFO: ------------------------------------------------------------------------\r\nERROR: Error during Sonar runner execution\r\norg.sonar.runner.impl.RunnerException: Unable to execute Sonar\r\n        at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)\r\n        at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)\r\n        at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)\r\n        at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)\r\n        at org.sonar.runner.api.Runner.execute(Runner.java:100)\r\n        at org.sonar.runner.Main.executeTask(Main.java:70)\r\n        at org.sonar.runner.Main.execute(Main.java:59)\r\n        at org.sonar.runner.Main.main(Main.java:53)\r\nCaused by: java.lang.IllegalArgumentException: 711 is not a valid line for pointer. File [moduleKey=GRANT, relative=work\r\nspace/EPERMIT.XE8/EPERMITSS00/EPSSCallBackController.pas, basedir=E:\\jenkins\\jobs\\Grant] has 147 line(s)\r\n        at org.sonar.api.internal.google.common.base.Preconditions.checkArgument(Preconditions.java:148)\r\n        at org.sonar.api.batch.fs.internal.DefaultInputFile.checkValid(DefaultInputFile.java:214)\r\n        at org.sonar.api.batch.fs.internal.DefaultInputFile.newPointer(DefaultInputFile.java:208)\r\n        at org.sonar.api.batch.fs.internal.DefaultInputFile.selectLine(DefaultInputFile.java:243)\r\n        at org.sonar.batch.issue.DeprecatedIssueBuilderWrapper.line(DeprecatedIssueBuilderWrapper.java:59)\r\n        at org.sonar.plugins.delphi.metrics.ComplexityMetrics.addIssue(ComplexityMetrics.java:281)\r\n        at org.sonar.plugins.delphi.metrics.ComplexityMetrics.processFunction(ComplexityMetrics.java:191)\r\n        at org.sonar.plugins.delphi.metrics.ComplexityMetrics.analyse(ComplexityMetrics.java:144)\r\n        at org.sonar.plugins.delphi.DelphiSensor.processFiles(DelphiSensor.java:131)\r\n        at org.sonar.plugins.delphi.DelphiSensor.analyse(DelphiSensor.java:112)\r\n        at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)\r\n        at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)\r\n        at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:98)\r\n        at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)\r\n        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:100)\r\n        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:85)\r\n        at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:258)\r\n        at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:253)\r\n        at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:243)\r\n        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:100)\r\n        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:85)\r\n        at org.sonar.batch.bootstrap.GlobalContainer.executeAnalysis(GlobalContainer.java:153)\r\n        at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:110)\r\n        at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:76)\r\n        at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n        at java.lang.reflect.Method.invoke(Unknown Source)\r\n        at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)\r\n        ... 9 more"},"comment":{"url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/comments/199239567","html_url":"https://github.com/fabriciocolombo/sonar-delphi/issues/34#issuecomment-199239567","issue_url":"https://api.github.com/repos/fabriciocolombo/sonar-delphi/issues/34","id":199239567,"user":{"login":"rajkumar7774","id":8033795,"avatar_url":"https://avatars.githubusercontent.com/u/8033795?v=3","gravatar_id":"","url":"https://api.github.com/users/rajkumar7774","html_url":"https://github.com/rajkumar7774","followers_url":"https://api.github.com/users/rajkumar7774/followers","following_url":"https://api.github.com/users/rajkumar7774/following{/other_user}","gists_url":"https://api.github.com/users/rajkumar7774/gists{/gist_id}","starred_url":"https://api.github.com/users/rajkumar7774/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajkumar7774/subscriptions","organizations_url":"https://api.github.com/users/rajkumar7774/orgs","repos_url":"https://api.github.com/users/rajkumar7774/repos","events_url":"https://api.github.com/users/rajkumar7774/events{/privacy}","received_events_url":"https://api.github.com/users/rajkumar7774/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T11:53:44Z","updated_at":"2016-03-21T11:53:44Z","body":"Hi, Will some body help on this.\r\n\r\nERROR: Error during Sonar runner execution\r\nERROR: Unable to execute Sonar\r\nERROR: Caused by: 712 is not a valid line for pointer.\r\n\r\nFile count of xxxx.java is 582, where us in sonar findbugs-result.. It's considering as 712 lines.."}}