sonar-r-plugin icon indicating copy to clipboard operation
sonar-r-plugin copied to clipboard

Generate Release 0.2.3 to include StringUtils fix

Open luma-sb opened this issue 1 year ago • 0 comments

Hi there,

I've noticed https://github.com/Merck/sonar-r-plugin/commit/bfffd7bec344e756c7231ace9eda4d151c7bace2 appears to include a fix for issue I've hit when using latest 0.2.2 Release when trying to run from Azure DevOps.

##[error]ERROR: Error during SonarScanner execution
##[debug]Processed: ##vso[task.logissue type=error;]ERROR: Error during SonarScanner execution
ERROR: Error during SonarScanner execution
##[error]java.lang.NoClassDefFoundError: org/sonar/api/internal/apachecommons/lang/StringUtils
##[debug]Processed: ##vso[task.logissue type=error;]java.lang.NoClassDefFoundError: org/sonar/api/internal/apachecommons/lang/StringUtils
java.lang.NoClassDefFoundError: org/sonar/api/internal/apachecommons/lang/StringUtils
##[error]at com.msd.gin.common.sonar.LintRSensor.readLintrOutputFile(LintRSensor.java:88)
##[debug]Processed: ##vso[task.logissue type=error;]at com.msd.gin.common.sonar.LintRSensor.readLintrOutputFile(LintRSensor.java:88)
	at com.msd.gin.common.sonar.LintRSensor.readLintrOutputFile(LintRSensor.java:88)
##[error]at com.msd.gin.common.sonar.LintRSensor.execute(LintRSensor.java:67)

Appears there is no release that includes above fix yet. I built out latest of master locally and this has resolved my issue, so may benefit others if a new release is created.

luma-sb avatar May 11 '23 09:05 luma-sb