Sonar scan on azure devops pipelines

  • SonarQube- Version : 6.2.0
  • how is SonarQube deployed: Sonar scan on azure devops pipelines
  • Upgraded sonarqube@5 to sonarqube@6 on our pipelines and i could see that scanning if successful however we are getting an issue below in short
    ##[error]Exception in thread “Thread-1” java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

##[debug]Processed: ##vso[task.logissue type=error;]Exception in thread “Thread-1” java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

Exception in thread “Thread-1” java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

##[error]at ch.qos.logback.classic.spi.LoggingEvent.(LoggingEvent.java:145)

at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:424)

at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:386)

at ch.qos.logback.classic.Logger.error(Logger.java:543)

at org.eclipse.jgit.internal.util.ShutdownHook.cleanup(ShutdownHook.java:87)

at java.base/java.lang.Thread.run(Thread.java:840)

Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.ThrowableProxy

at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)

at org.sonarsource.scanner.api.internal.IsolatedClassloader.loadClass(IsolatedClassloader.java:82)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)

I have also attached the complete logs in text file.
Please note that our applications are developed using .NET technology. can you please assist ?

Sonar-logs.txt (4.9 MB)

Hey there.

In good news, your analysis was actually successful.

2024-07-10T10:47:53.4682246Z 10:47:53.467 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarqube.insim.biz/dashboard?id=nn-qd-Flecs

These log messages you posted at the end are just noise, but the noise is killed in SonarQube v10.6 (you’re running v10.5)

2024-07-10T10:47:09.9173625Z 10:47:09.916 DEBUG: Enterprise 10.5.1.90531

Hi Colin,
Thanks for the confirmation. we will wait for the version 10.6. can you please let me know that any tentative release date for 10.6 ?

Sorry I wasn’t more clear, it’s already released!