Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

SonarQube 6 - Faux Pas Error #19

Closed
macostea opened this issue Mar 6, 2017 · 1 comment
Closed

SonarQube 6 - Faux Pas Error #19

macostea opened this issue Mar 6, 2017 · 1 comment

Comments

@macostea
Copy link

macostea commented Mar 6, 2017

Hello,

After upgrading to SonarQube 6 and updating the plugin to the 0.6 version as well, Faux Pas reports are not parsed anymore.

I get the following exception:

ERROR: Error during SonarQube Scanner execution
java.lang.NullPointerException
	at org.sonar.scanner.issue.DeprecatedIssueBuilderWrapper.line(DeprecatedIssueBuilderWrapper.java:57)
	at org.sonar.plugins.objectivec.violations.fauxpas.FauxPasReportParser.recordIssue(FauxPasReportParser.java:110)
	at org.sonar.plugins.objectivec.violations.fauxpas.FauxPasReportParser.parseReport(FauxPasReportParser.java:72)
	at org.sonar.plugins.objectivec.violations.fauxpas.FauxPasSensor.parseReportIn(FauxPasSensor.java:83)
	at org.sonar.plugins.objectivec.violations.fauxpas.FauxPasSensor.analyse(FauxPasSensor.java:68)
	at org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:57)
	at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:49)
	at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:78)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:182)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:247)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:242)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:232)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
	at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)
	at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
	at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115)
	at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:116)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:244)
	at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:154)
	at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:72)
	at org.sonarsource.scanner.cli.Main.main(Main.java:60)
@zippy1978
Copy link

PR is merged !

Thanks a lot @macostea

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants