Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cnesreport-plugin-options Enable DOCX generation, Enable MD generation not working #266

Closed
inugravi opened this issue Jul 27, 2021 · 30 comments · Fixed by #265 or #279
Closed

cnesreport-plugin-options Enable DOCX generation, Enable MD generation not working #266

inugravi opened this issue Jul 27, 2021 · 30 comments · Fixed by #265 or #279
Labels
bug Something isn't working done This issue was solved but not merged in master
Milestone

Comments

@inugravi
Copy link

inugravi commented Jul 27, 2021

Describe the bug

Hi team,
I'm running Sonarqube 8.9 on AWS ECS FARGATE with NLB attached to it. Everything is running fine but, for few of the projects DOCX generation and MD generation options of cnes report plugin are not working. It is throwing an error as
{"errors":[{"msg":"An error has occurred. Please contact your administrator"}]}. If we uncheck those two options then the CSV files and XMLs are being generated properly. But I also want DOCX files and MD files as well.
Please help
Thanks in advance.
sonariss
sonar2iss
(the above one is working fine)
sonaradm

Note: I'm using the latest cnes report plugin version.

@inugravi inugravi added the bug Something isn't working label Jul 27, 2021
@inugravi inugravi changed the title cnesreport-Enable DOCX generation, Enable MD generation options not working cnesreport-plugin-options Enable DOCX generation, Enable MD generation not working Jul 27, 2021
@Sancretor
Copy link
Contributor

Hi @inugravi

Thanks for your feedback !
I suppose your are using code from the dev branch, so you should expect some bugs as it is a work in progress.

Could you please have a look at your SonarQube logs when you execute the plugin with DOCX generation, and paste here the error that occured. That would help us a lot to debug your issue.
Don't forget to remove sensitive data from your logs though.

@inugravi
Copy link
Author

inugravi commented Jul 29, 2021

Hi Alexis,
The following are the logs generated when trying to pull the report with Docx generation and MD generation features of the plugin.

2021.07.29 11:06:08 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component] done | time=711ms
2021.07.29 11:06:08 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view]...
2021.07.29 11:06:08 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view] done | time=308ms
2021.07.29 11:06:08 INFO web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue]...
2021.07.29 11:06:08 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 pending indexation task found to be deleted...
2021.07.29 11:06:08 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 completed indexation task found to be deleted...
2021.07.29 11:06:08 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Indexation task deletion complete.
2021.07.29 11:06:08 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Deleting tasks characteristics...
2021.07.29 11:06:08 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Tasks characteristics deletion complete.
2021.07.29 11:06:08 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 61 branch found in need of issue sync.
2021.07.29 11:06:08 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 55 projects found in need of issue sync.
2021.07.29 11:06:09 INFO web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue] done | time=425ms
2021.07.29 11:06:09 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth]...
2021.07.29 11:06:10 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth] done | time=1127ms
2021.07.29 11:06:10 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure]...
2021.07.29 11:06:11 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure] done | time=750ms
2021.07.29 11:06:11 INFO web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2021.07.29 11:06:11 INFO web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2021.07.29 11:06:11 INFO web[][o.s.s.p.Platform] WebServer is operational
2021.07.29 16:42:00 ERROR web[AXrx+yUu/ew4RfbvAACS][o.s.s.w.WebServiceEngine]
Fail to process request http://nlb-sonarqube-ha-58d1407168.elb.eu-east-1.amazonaws.com/api/cnesreport/report?key=IDENTITY&branch=master&language=en_US&author=Ravi&token=06629b75c023e791d2de4edf272&enableDocx=true&enableMd=true&enableXlsx=true&enableCsv=true&enableConf=true&generation=Generate
java.lang.NullPointerException: null

at fr.cnes.sonar.report.exporters.docx.DataAdapter.getSecurityHotspots(DataAdapter.java:578)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.export(DocXExporter.java:133)
at fr.cnes.sonar.report.factory.ReportFactory.report(ReportFactory.java:113)
at fr.cnes.sonar.report.ReportCommandLine.execute(ReportCommandLine.java:128)
at fr.cnes.sonar.plugin.ws.ExportTask.handle(ExportTask.java:176)
at org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:110)
at org.sonar.server.platform.web.WebServiceFilter.doFilter(WebServiceFilter.java:84)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139)
at org.sonar.server.platform.web.SonarLintConnectionFilter.doFilter(SonarLintConnectionFilter.java:66)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139

Note:

  1. Trimmed few things like token and nlb name to maintain confidentiality.
  2. Total number of projects associated with this setup is 55 and out of which like 8 projects are throwing the same error when enabled and the rest are working perfectly fine.

Thanks in advance,
Ravi.

@Sancretor
Copy link
Contributor

Hi @inugravi

Thanks a lot for the logs, we are working to find and solve this issue.

@Sancretor
Copy link
Contributor

We were able to reproduce your error, but with a very specific case.
If we analyze a project on which SonarQube finds a SecurityHotspot, then change the Quality Profile of the project to a new one in which this SecurityHotspot is not included, then the plugin fails with a null pointer exception on the very same line.
That's the only scenario we found to generate this error, does it match your own situation ?

Anyway, we know how to solve this like explained below.
This error happens because the project contains a SecurityHotspot issue that does not exists anymore inside the Quality Profile.
So if this happens, we will consider that this issue is not relevant because it will diseppear during the next analysis, and it will not be added inside the generated reports.
What do you think about it ?

@ErwanGauduchon ErwanGauduchon added this to the 4.0.0 milestone Aug 2, 2021
@ErwanGauduchon ErwanGauduchon mentioned this issue Aug 2, 2021
13 tasks
@inugravi
Copy link
Author

inugravi commented Aug 3, 2021

Hi Sancretor,

Thanks a lot for the update. We are verifying it. Please allow us some time for the above issue.

Thanks,
inugravi.

@Sancretor Sancretor linked a pull request Aug 3, 2021 that will close this issue
13 tasks
@Sancretor Sancretor added the done This issue was solved but not merged in master label Aug 10, 2021
@Sancretor
Copy link
Contributor

Hi @inugravi

Just to let you know that we merged a fix inside our "dev" branch, in case you want to test it.
It should fix your issue but don't hesitate to give us some feedback anytime.

@inugravi
Copy link
Author

inugravi commented Aug 11, 2021

Hello @Sancretor
Thanks a lot for the update. We have been waiting for this since very long time. As you said that this is merged to dev branch, Do I need to build it on dev branch freshly and use it or From where shall I download this new version ?
please guide us

Thanks,
inugravi

@Sancretor
Copy link
Contributor

Hi @inugravi
We did not generate a specific JAR for the dev branch as this is still a work in progress.
But you can clone the repo, switch to the dev branch and then compile it with Maven.

@inugravi
Copy link
Author

Hi @Sancretor

Thanks a lot for the your and guidance. I will compile with mvn and will let you know the feedback.

Thanks,
inugravi

@inugravi
Copy link
Author

inugravi commented Aug 11, 2021

Hi @Sancretor,

Thanks a ton for the bugfix and merge. I have compiled it with maven and tried with the newly built 4.0.0 plugin. The number of projects that are throwing error got reduced. And for the projects that throw the error are holding the below logs:
(I think the below logs are same as ones which I have shared previously).
Actually our desired result while using this plugin is to download the Docx report irrespective of the security hotspot presence in the project. here are the logs below:

Any inputs on this. ??

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1629)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
2021.08.11 16:20:14 ERROR web[AXs17zKRBcdtIibAABQv][o.s.s.w.WebServiceEngine] Fail to process request http://ggw-nlb-sonarq-fargate-25c0673873ea06f.elb.eu-east-1.amazonaws.com:81/api/cnesreport/report?key=LOOKUPSVC&branch=master&language=en_US&author=Ravitej&token=c422e4cdb6967b2&enableDocx=true&enableMd=true&enableXlsx=true&enableCsv=true&enableConf=true&generation=Generate
java.lang.NullPointerException: null
at fr.cnes.sonar.report.exporters.docx.DataAdapter.getSecurityHotspots(DataAdapter.java:578)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.export(DocXExporter.java:133)
at fr.cnes.sonar.report.factory.ReportFactory.report(ReportFactory.java:113)
at fr.cnes.sonar.report.ReportCommandLine.execute(ReportCommandLine.java:128)
at fr.cnes.sonar.plugin.ws.ExportTask.handle(ExportTask.java:176)
at org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:110)
at org.sonar.server.platform.web.WebServiceFilter.doFilter(WebServiceFilter.java:84)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139)
at org.sonar.server.platform.web.SonarLintConnectionFilter.doFilter(SonarLintConnectionFilter.java:66)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139)
at org.sonar.server.platform.web.MasterServletFilter.doFilter(MasterServletFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:81)
at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.CacheControlFilter.doFilter(CacheControlFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.SecurityServletFilter.doHttpFilter(SecurityServletFilter.java:76)
at org.sonar.server.platform.web.SecurityServletFilter.doFilter(SecurityServletFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RedirectFilter.doFilter(RedirectFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RequestIdFilter.doFilter(RequestIdFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RootFilter.doFilter(RootFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
at ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:256)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:353)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1629)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.11 16:20:35 INFO web[AXs17zKRBcdtIibAABSc][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.

Also I found the below strange logs. As per my knowledge, this is happening in either of two ways

  1. either the particular project is not recognizing the plugins & packages
  2. or the plugins & packages are not recognizing the projects.
    The either one of the above is happening.

The below are the logs.

tfgvjh

Also please find the below log

@Sancretor
Copy link
Contributor

Thanks for the feedback !

Are you absolutely sure you built and deployed the code from the "dev" branch ?
This one : https://github.com/cnescatlab/sonar-cnes-report/tree/dev
Because inside the new code, there's no way this line of code (DataAdapter.java:578) could throw a NullPointerException.
After you cloned the repo, be sure to execute a git checkout dev in order to get the right code.

If you're not sure, I could generate a JAR and attach it here.

@inugravi
Copy link
Author

Hi @Sancretor

I'm 100% sure that I have cloned the dev branch onto my local machine using the command git clone -b dev <github_url> and compiled the plugin with maven by using one of the maven goals mvn package.
However please generate a JAR file and help me in getting out of this issue. And that will be a great help to our team.

Thanks a million,
inugravi

@Sancretor
Copy link
Contributor

Alright, that's weird.
I'll look into it quickly, and maybe generate a JAR with some additonal debug code.
Sorry for the inconvenience...

@inugravi
Copy link
Author

Absolutely no problem :) !! @Sancretor

take your time. It's a great help !!

@Sancretor
Copy link
Contributor

Hi @inugravi
We were reviewing the code and I have to say we don't understand your issue.
There's no way this could happen on the specific line indicated by your SonarQube logs.
Our best bet is that you did not deploy in SonarQube the JAR file you produced from the dev branch.

Could you please make sure you deployed the correct JAR ?
If you are, consider deploying the JAR here (https://github.com/cnescatlab/sonar-cnes-report/releases/download/debug_266/sonar-cnes-report-4.0.0.jar), which will produce a specific debug message inside your SonarQube logs.
This way, we'll absolutely sure you deployed the fixed version.

@inugravi
Copy link
Author

Sure @Sancretor ,
Give me 15 mins I will deploy the JAR file given by you and I will let you know the result right away.

Thanks,
inugravi

@inugravi
Copy link
Author

Hi Sancretor,

I have tried it with the plugin which you have given me.
Can I send the sonar web server logs now ?

@Sancretor
Copy link
Contributor

If the issue still occurs yes, these logs may be useful.

@inugravi
Copy link
Author

inugravi commented Aug 12, 2021

Hello @Sancretor
Please don't be annoyed to see the same logs.
I have changed the NLB name and some changes in token to maintain confidentiality.

Please guide me If I'm missing anything from my end.

The below are the complete logs:

2021.08.12 09:27:33 INFO web[][o.s.p.ProcessEntryPoint] Starting web
2021.08.12 09:27:34 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2021.08.12 09:27:35 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2021.08.12 09:27:35 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 8.9.0.43852 / 681d1975f698b70fc4e981593f7bed278ff2f60d
2021.08.12 09:27:35 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://rds-sonarqube-database.ceu9p6tzvln.eu-east-1.rds.amazonaws.com:1433;databaseName=sonar_testDB
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2021.08.12 09:27:38 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin C# Code Quality and Security / 8.22.0.31243 / e3cee7838d992e31dcdd90cf4f7406bb20535e8e
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin CSS Code Quality and Security / 1.4.2.2002 / faa7d4f1407df67df7ada53caf677ab783721173
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Community Branch Plugin / 1.8.0 / null
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Flex Code Quality and Security / 2.6.1.2564 / bb723840701bda72510b7a47742811d20daad331
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Go Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin HTML Code Quality and Security / 3.4.0.2754 / 38f7ff864ae15152c9f1efc3014594f7e7ca7b6e
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JaCoCo / 1.1.1.1157 / 83478572b9f23efac29de15e30c7758bbb0c0e47
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Java Code Quality and Security / 6.15.1.26025 / 1b1e96715bfa9f6a4ae24e95cc5b91f0edce609f
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JavaScript/TypeScript Code Quality and Security / 7.4.2.15501 / 288a72ff137745d1d1054c704a03c2344ada0ea3
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Kotlin Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin PHP Code Quality and Security / 3.17.0.7439 / 44c7760147080c157fa0ff579772f92d3c8e1ebf
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Python Code Quality and Security / 3.4.1.8066 / 22139ec73fb2f32044f66477ea52734415683668
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Ruby Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Scala Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin SonarQube CNES Report / 4.0.0 / null
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin VB.NET Code Quality and Security / 8.22.0.31243 / e3cee7838d992e31dcdd90cf4f7406bb20535e8e
2021.08.12 09:27:38 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin XML Code Quality and Security / 2.2.0.2973 / 16002945f0725643a7b42f090572795dd8b72a0f
2021.08.12 09:27:39 INFO web[][o.s.s.p.d.m.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2021.08.12 09:27:40 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@68183837 [pattern=UrlPattern{inclusions=[/api/system/migrate_db., ...], exclusions=[/api/components/update_key, ...]}]
2021.08.12 09:27:40 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2021.08.12 09:27:41 INFO web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2021.08.12 09:27:42 INFO web[][o.s.s.e.IndexCreator] Create index [metadatas]
2021.08.12 09:27:43 INFO web[][o.s.s.e.IndexCreator] Create type metadatas/metadata
2021.08.12 09:27:44 INFO web[][o.s.s.e.IndexCreator] Create index [components]
2021.08.12 09:27:45 INFO web[][o.s.s.e.IndexCreator] Create type components/auth
2021.08.12 09:27:45 INFO web[][o.s.s.e.IndexCreator] Create index [projectmeasures]
2021.08.12 09:27:45 INFO web[][o.s.s.e.IndexCreator] Create type projectmeasures/auth
2021.08.12 09:27:45 INFO web[][o.s.s.e.IndexCreator] Create index [rules]
2021.08.12 09:27:46 INFO web[][o.s.s.e.IndexCreator] Create type rules/rule
2021.08.12 09:27:46 INFO web[][o.s.s.e.IndexCreator] Create index [issues]
2021.08.12 09:27:46 INFO web[][o.s.s.e.IndexCreator] Create type issues/auth
2021.08.12 09:27:47 INFO web[][o.s.s.e.IndexCreator] Create index [users]
2021.08.12 09:27:47 INFO web[][o.s.s.e.IndexCreator] Create type users/user
2021.08.12 09:27:47 INFO web[][o.s.s.e.IndexCreator] Create index [views]
2021.08.12 09:27:47 INFO web[][o.s.s.e.IndexCreator] Create type views/view
2021.08.12 09:27:47 INFO web[][o.s.s.s.LogServerId] Server ID: 636221A0-AW8yzyBNXA8Y27SUmbK_
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/permissions/search_templates
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_bitbucketserver_projects
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_azure_projects
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_bitbucketserver_repos
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_azure_repos
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_organizations
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_repositories
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/get_github_client_id
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/get_binding
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list_definitions
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/count_binding
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/validate
2021.08.12 09:27:48 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/cnesreport/report
2021.08.12 09:27:48 INFO web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2021.08.12 09:27:48 INFO web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2021.08.12 09:27:48 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2021.08.12 09:27:48 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2021.08.12 09:27:48 INFO web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2021.08.12 09:27:48 INFO web[][o.s.s.s.RegisterPlugins] Register plugins
2021.08.12 09:27:48 INFO web[][o.s.s.s.RegisterMetrics] Register metrics
2021.08.12 09:27:48 INFO web[][o.s.s.r.RegisterRules] Register rules
2021.08.12 09:27:56 INFO web[][o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile css/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile scala/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile jsp/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile kotlin/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile go/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile py/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile ruby/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile cs/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile java/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile web/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile xml/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile flex/Sonar way
2021.08.12 09:27:57 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Sonar way
2021.08.12 09:27:58 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/PSR-2
2021.08.12 09:27:58 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Drupal
2021.08.12 09:27:58 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile vbnet/Sonar way
2021.08.12 09:27:58 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way
2021.08.12 09:27:58 INFO web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2021.08.12 09:27:58 INFO web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.SonarLintConnectionFilter@2d4af47f [pattern=UrlPattern{inclusions=[/api/
], exclusions=[]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@339a9123 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment., ...], exclusions=[/api/authentication/login., ...]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@842e163 [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, ...], exclusions=[]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.plugins.PluginsRiskConsentFilter@6f7c8424 [pattern=UrlPattern{inclusions=[/], exclusions=[.css, ...]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.DefaultAdminCredentialsVerifierFilter@17d1ef9 [pattern=UrlPattern{inclusions=[/], exclusions=[.css, ...]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@546459b1 [pattern=UrlPattern{inclusions=[/sessions/init/], exclusions=[]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@1b1bf71d [pattern=UrlPattern{inclusions=[/oauth2/callback/
], exclusions=[]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ResetPasswordFilter@2ad8c8c [pattern=UrlPattern{inclusions=[/], exclusions=[.css, ...]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@49caa741 [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@72397839 [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2021.08.12 09:27:58 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@d084d51 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2021.08.12 09:27:58 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule]...
2021.08.12 09:28:00 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule/activeRule] done | time=2659ms
2021.08.12 09:28:00 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule]...
2021.08.12 09:28:11 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [rules/rule] done | time=10797ms
2021.08.12 09:28:11 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [users/user]...
2021.08.12 09:28:12 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [users/user] done | time=486ms
2021.08.12 09:28:12 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component]...
2021.08.12 09:28:12 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component] done | time=731ms
2021.08.12 09:28:13 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view]...
2021.08.12 09:28:13 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [views/view] done | time=227ms
2021.08.12 09:28:13 INFO web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue]...
2021.08.12 09:28:13 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 pending indexation task found to be deleted...
2021.08.12 09:28:13 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 0 completed indexation task found to be deleted...
2021.08.12 09:28:13 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Indexation task deletion complete.
2021.08.12 09:28:13 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Deleting tasks characteristics...
2021.08.12 09:28:13 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] Tasks characteristics deletion complete.
2021.08.12 09:28:13 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 69 branch found in need of issue sync.
2021.08.12 09:28:13 INFO web[][o.s.s.i.i.AsyncIssueIndexingImpl] 59 projects found in need of issue sync.
2021.08.12 09:28:13 INFO web[][o.s.s.e.IndexerStartupTask] Trigger asynchronous indexing of type [issues/auth/issue] done | time=445ms
2021.08.12 09:28:13 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth]...
2021.08.12 09:28:14 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of types [components/auth],[projectmeasures/auth],[issues/auth] done | time=1168ms
2021.08.12 09:28:14 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure]...
2021.08.12 09:28:15 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [projectmeasures/auth/projectmeasure] done | time=809ms
2021.08.12 09:28:15 INFO web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2021.08.12 09:28:15 INFO web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2021.08.12 09:28:15 INFO web[][o.s.s.p.Platform] WebServer is operational
2021.08.12 09:35:07 ERROR web[AXs5tekhntw5uaFjAABx][o.s.s.w.WebServiceEngine] Fail to process request http://gzz-nlb-sonarq-fargate-25c065673958a06f.elb.eu-east-1.amazonaws.com:81/api/cnesreport/report?key=IDENTITY&branch=master&language=en_US&author=Raviteja&token=1d8l2p9063fcf7a704b0d982c9218f4498b&enableDocx=true&enableMd=true&enableXlsx=true&enableCsv=true&enableConf=true&generation=Generate
java.lang.NullPointerException: null
at fr.cnes.sonar.report.exporters.docx.DataAdapter.getSecurityHotspots(DataAdapter.java:578)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.export(DocXExporter.java:133)
at fr.cnes.sonar.report.factory.ReportFactory.report(ReportFactory.java:113)
at fr.cnes.sonar.report.ReportCommandLine.execute(ReportCommandLine.java:128)
at fr.cnes.sonar.plugin.ws.ExportTask.handle(ExportTask.java:176)
at org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:110)
at org.sonar.server.platform.web.WebServiceFilter.doFilter(WebServiceFilter.java:84)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139)
at org.sonar.server.platform.web.SonarLintConnectionFilter.doFilter(SonarLintConnectionFilter.java:66)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139)
at org.sonar.server.platform.web.MasterServletFilter.doFilter(MasterServletFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:81)
at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.CacheControlFilter.doFilter(CacheControlFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.SecurityServletFilter.doHttpFilter(SecurityServletFilter.java:76)
at org.sonar.server.platform.web.SecurityServletFilter.doFilter(SecurityServletFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RedirectFilter.doFilter(RedirectFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RequestIdFilter.doFilter(RequestIdFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RootFilter.doFilter(RootFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
at ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:256)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:353)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1629)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:35:43 INFO web[AXs5tekhntw5uaFjAAGD][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:44:06 INFO web[AXs5tekhntw5uaFjAAHt][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:44:10 INFO web[AXs5tekhntw5uaFjAAHu][o.s.s.p.w.RestartAction] SonarQube restart requested by Raviteja.Inuganti@acuitykp.com
2021.08.12 09:44:11 INFO web[][o.s.p.ProcessEntryPoint] Gracefully stopping process
2021.08.12 09:44:11 INFO web[][o.s.s.n.NotificationDaemon] Notification service stopped
2021.08.12 09:44:11 INFO web[][o.s.s.app.WebServer] WebServer stopped
2021.08.12 09:44:27 INFO web[][o.s.p.ProcessEntryPoint] Starting web
2021.08.12 09:44:28 INFO web[][o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2021.08.12 09:44:28 INFO web[][o.s.s.e.EsClientProvider] Connected to local Elasticsearch: [http://localhost:9001]
2021.08.12 09:44:29 INFO web[][o.s.s.p.LogServerVersion] SonarQube Server / 8.9.0.43852 / 681d1975f698b70fc4e981593f7bed298ff2f60d
2021.08.12 09:44:29 INFO web[][o.sonar.db.Database] Create JDBC data source for jdbc:sqlserver://rds-sonarqube-database.ceu9p6tzvln.eu-east-1.rds.amazonaws.com:1433;databaseName=sonar_testDB
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2021.08.12 09:44:32 INFO web[][o.s.s.u.SystemPasscodeImpl] System authentication by passcode is disabled
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin C# Code Quality and Security / 8.22.0.31243 / e3cee7838d992e31dcdd90cf4f7406bb20535e8e
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin CSS Code Quality and Security / 1.4.2.2002 / faa7d4f1407df67df7ada53caf677ab783721173
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Community Branch Plugin / 1.8.0 / null
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Flex Code Quality and Security / 2.6.1.2564 / bb723840701bda72510b7a47742811d20daad331
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Go Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin HTML Code Quality and Security / 3.4.0.2754 / 38f7ff864ae15152c9f1efc3014594f7e7ca7b6e
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JaCoCo / 1.1.1.1157 / 83478572b9f23efac29de15e30c7758bbb0c0e47
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Java Code Quality and Security / 6.15.1.26025 / 1b1e96715bfa9f6a4ae24e95cc5b91f0edce609f
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin JavaScript/TypeScript Code Quality and Security / 7.4.2.15501 / 288a72ff137745d1d1054c704a03c2344ada0ea3
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Kotlin Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin PHP Code Quality and Security / 3.17.0.7439 / 44c7760147080c157fa0ff579772f92d3c8e1ebf
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Python Code Quality and Security / 3.4.1.8066 / 22139ec73fb2f32044f66477ea52734415683668
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Ruby Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin Scala Code Quality and Security / 1.8.3.2219 / d6ad7a5a47fc4785d2e80918fb7424be46e38a7f
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin SonarQube CNES Report / 4.0.0 / null
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin VB.NET Code Quality and Security / 8.22.0.31243 / e3cee7838d992e31dcdd90cf4f7406bb20535e8e
2021.08.12 09:44:32 INFO web[][o.s.s.p.ServerPluginManager] Deploy plugin XML Code Quality and Security / 2.2.0.2973 / 16002945f0725643a7b42f090572795dd8b72a0f
2021.08.12 09:44:33 INFO web[][o.s.s.p.d.m.c.MssqlCharsetHandler] Verify that database collation is case-sensitive and accent-sensitive
2021.08.12 09:44:34 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@5bbfa2b [pattern=UrlPattern{inclusions=[/api/system/migrate_db., ...], exclusions=[/api/components/update_key, ...]}]
2021.08.12 09:44:34 INFO web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2021.08.12 09:44:35 INFO web[][o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2021.08.12 09:44:37 INFO web[][o.s.s.s.LogServerId] Server ID: 636221A0-AW8yzyBNXA7K27SUmbK_
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/plugins/download
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/permissions/search_templates
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_bitbucketserver_projects
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/check_pat
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_azure_projects
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_bitbucketserver_repos
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/search_azure_repos
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_organizations
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/list_github_repositories
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_integrations/get_github_client_id
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/get_binding
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/list_definitions
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/count_binding
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/alm_settings/validate
2021.08.12 09:44:38 WARN web[][o.s.a.s.w.WebService$Action] The response example is not set on action api/cnesreport/report
2021.08.12 09:44:38 INFO web[][o.s.s.t.TelemetryDaemon] Sharing of SonarQube statistics is enabled.
2021.08.12 09:44:38 INFO web[][o.s.s.n.NotificationDaemon] Notification service started (delay 60 sec.)
2021.08.12 09:44:38 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired session tokens has removed 0 elements
2021.08.12 09:44:38 INFO web[][o.s.s.a.p.ExpiredSessionsCleaner] Purge of expired SAML message ids has removed 0 elements
2021.08.12 09:44:38 INFO web[][o.s.s.s.GeneratePluginIndex] Generate scanner plugin index
2021.08.12 09:44:38 INFO web[][o.s.s.s.RegisterPlugins] Register plugins
2021.08.12 09:44:38 INFO web[][o.s.s.s.RegisterMetrics] Register metrics
2021.08.12 09:44:38 INFO web[][o.s.s.r.RegisterRules] Register rules
2021.08.12 09:44:46 INFO web[][o.s.s.q.BuiltInQProfileRepositoryImpl] Load quality profiles
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Register quality profiles
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile css/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile scala/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile jsp/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile kotlin/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile go/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile js/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile py/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile ruby/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile cs/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile java/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile web/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile xml/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile flex/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Sonar way
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/PSR-2
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile php/Drupal
2021.08.12 09:44:47 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile vbnet/Sonar way
2021.08.12 09:44:48 INFO web[][o.s.s.q.RegisterQualityProfiles] Update profile ts/Sonar way
2021.08.12 09:44:48 INFO web[][o.s.s.s.RegisterPermissionTemplates] Register permission templates
2021.08.12 09:44:48 INFO web[][o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.SonarLintConnectionFilter@7c25703 [pattern=UrlPattern{inclusions=[/api/
], exclusions=[]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceFilter@4d9a83b0 [pattern=UrlPattern{inclusions=[/api/issues/delete_comment., ...], exclusions=[/api/authentication/login., ...]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.platform.web.WebServiceReroutingFilter@5e1c9874 [pattern=UrlPattern{inclusions=[/api/components/bulk_update_key, ...], exclusions=[]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.plugins.PluginsRiskConsentFilter@597b5ce8 [pattern=UrlPattern{inclusions=[/], exclusions=[.css, ...]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.DefaultAdminCredentialsVerifierFilter@798ac99e [pattern=UrlPattern{inclusions=[/], exclusions=[.css, ...]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.InitFilter@6096b674 [pattern=UrlPattern{inclusions=[/sessions/init/], exclusions=[]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.OAuth2CallbackFilter@6d9e726 [pattern=UrlPattern{inclusions=[/oauth2/callback/
], exclusions=[]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ResetPasswordFilter@523eed3b [pattern=UrlPattern{inclusions=[/], exclusions=[.css, ...]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LoginAction@181f95cf [pattern=UrlPattern{inclusions=[/api/authentication/login], exclusions=[]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.LogoutAction@36eac45a [pattern=UrlPattern{inclusions=[/api/authentication/logout], exclusions=[]}]
2021.08.12 09:44:48 INFO web[][o.s.s.p.w.MasterServletFilter] Initializing servlet filter org.sonar.server.authentication.ws.ValidateAction@3292b73 [pattern=UrlPattern{inclusions=[/api/authentication/validate], exclusions=[]}]
2021.08.12 09:44:48 INFO web[][o.s.s.q.ProjectsInWarningDaemon] Counting number of projects in warning is not started as there are no projects in this situation.
2021.08.12 09:44:48 INFO web[][o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2021.08.12 09:44:48 INFO web[][o.s.s.p.Platform] WebServer is operational
2021.08.12 09:45:40 ERROR web[AXs5wAcwlheBi/RcAAAl][o.s.s.w.WebServiceEngine] Fail to process request http://gzz-nlb-sonarq-fargate-25c06567848a06f.elb.eu-east-1.amazonaws.com:81/api/cnesreport/report?key=DENTITY&branch=master&language=en_US&author=Raviteja&token=29087093e6faaef4af8bcd7c010ede1ee9653568&enableDocx=true&enableMd=true&enableXlsx=true&enableCsv=true&enableConf=true&generation=Generate
java.lang.NullPointerException: null
at fr.cnes.sonar.report.exporters.docx.DataAdapter.getSecurityHotspots(DataAdapter.java:578)
at fr.cnes.sonar.report.exporters.docx.DocXExporter.export(DocXExporter.java:133)
at fr.cnes.sonar.report.factory.ReportFactory.report(ReportFactory.java:113)
at fr.cnes.sonar.report.ReportCommandLine.execute(ReportCommandLine.java:128)
at fr.cnes.sonar.plugin.ws.ExportTask.handle(ExportTask.java:176)
at org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:110)
at org.sonar.server.platform.web.WebServiceFilter.doFilter(WebServiceFilter.java:84)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139)
at org.sonar.server.platform.web.SonarLintConnectionFilter.doFilter(SonarLintConnectionFilter.java:66)
at org.sonar.server.platform.web.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:139)
at org.sonar.server.platform.web.MasterServletFilter.doFilter(MasterServletFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:81)
at org.sonar.server.platform.web.UserSessionFilter.doFilter(UserSessionFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.CacheControlFilter.doFilter(CacheControlFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.SecurityServletFilter.doHttpFilter(SecurityServletFilter.java:76)
at org.sonar.server.platform.web.SecurityServletFilter.doFilter(SecurityServletFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RedirectFilter.doFilter(RedirectFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RequestIdFilter.doFilter(RequestIdFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.sonar.server.platform.web.RootFilter.doFilter(RootFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
at ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:256)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:353)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1629)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cnesreport' version : 4.0.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'communityBranchPlugin' version : 1.8.0 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'csharp' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'cssfamily' version : 1.4.2.2002 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'flex' version : 2.6.1.2564 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'go' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'jacoco' version : 1.1.1.1157 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'java' version : 6.15.1.26025 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'javascript' version : 7.4.2.15501 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'kotlin' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'php' version : 3.17.0.7439 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'python' version : 3.4.1.8066 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'ruby' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'sonarscala' version : 1.8.3.2219 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'vbnet' version : 8.22.0.31243 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'web' version : 3.4.0.2754 has not been found on the update center.
2021.08.12 09:46:36 INFO web[AXs5wAcwlheBi/RcAAFw][o.s.u.c.UpdateCenter] The plugin 'xml' version : 2.2.0.2973 has not been found on the update center.

@Sancretor
Copy link
Contributor

@inugravi
I can't see the specific logs generated by the tool, which is weird... but maybe related to a specific configuration on your side.
Nevertheless, I'm now sure that the tool that generates this error is not the JAR I provided.
Your logs indicates a NullPointer Exception on line 578 of DataAdapter.java ... but this line is now a comment. That's impossible.
If you'd like to check, the file is here : https://github.com/cnescatlab/sonar-cnes-report/blob/dev_debug_266/src/main/java/fr/cnes/sonar/report/exporters/docx/DataAdapter.java

So, I don't know what happened on your infrastructure, but it does not deploy the correct JAR.

@inugravi
Copy link
Author

Hi @Sancretor ,

Even I'm also looking at the same error. I'm banging my head against the table for the the last 2 hours. I have deployed the plugin provided by you and I pasted the JAR file in /extensions folder of Sonarqube.zip and deploying it on FARGATE Container.

I can clearly see the line number 578 is commented out and error is still pointing to the same line.. I'm 1000% sure that I deployed the JAR file provided by you.

Still no luck.

I'm further looking into it and will come back

@Sancretor
Copy link
Contributor

@inugravi
You're not alone, we don't understand what could have happened...
Do you have any logs from the deployment itself ?
Maybe the JAR or ZIP file is not "correct" and your deployment is rejected, so only the previous version remains.
I don't know how FARGATE works...

@inugravi
Copy link
Author

Hi @Sancretor

Thanks a lot for making sure I'm not alone. Now I feel that I'm encouraged.

I want to know one thing. The plugin which you have given me. Is it built on dev or dev_debug_266 ?
As per my knowledge it is merged with dev recently, however I can see that the dev branch line 578 is not commented. attaching the screenshot from dev branch. Please verify if there are any inconsistencies in the merge which was done recently.

Please correct me if I'm wrong.

errr

I'm trying my level best to come out of this issue.

Thanks,
inugravi,

@Sancretor
Copy link
Contributor

Hi @inugravi

Sorry for the misunderstanding, I did a quick & dirty thing yesterday in order to help you.
The dev_debug_266 branch was created from dev, and only contains one commit adding a debug INFO message.
The JAR I provided was created from this branch, and it won't be merged inside dev.

Anyway, even if you used the dev branch, the piece of code you underlined cannot throw a NullPointer Exception.
The object report is used in previous lines, so if it is null, it would have thrown an exception before line 578.

@Inugan
Copy link

Inugan commented Aug 13, 2021

Hi @Sancretor

This is my another git account.

Thanks for the clarification,

I tried re-generating JAR with mvn package command on the dev branch. the JAR file with the name sonar-cnes-report-4.0.0 got generated successfully. All the deployments in the pipeline went well. copied and pasted the newly generated JAR file in /extensions/plugins folder. Containers are successfully up and running and they are healthy at the load balancer level as well. Still got the same annoying error message as Please contact your administrator for the projects holding security hotspots. BTW I have all the admin privileges of the current sonarqube setup.

Please try/test with this below JAR file in your setup, I have generated.
https://drive.google.com/file/d/1jN3qyvvRoDm6jAlmRAQG-N_o1cBzRiro/view?usp=sharing

Note: Sonarqube version I'm using is 8.9.0.43852

Thanks,
inugravi

@Sancretor
Copy link
Contributor

Hi @Inugan

I just tried to deploy your JAR into a SonarQube 8.9.0 and it failed with this error :
2021.08.17 13:08:24 ERROR web[][o.s.s.p.PlatformImpl] Web server startup failed: Plugin SonarQube CNES Report [cnesreport] requires at least SonarQube 8.9.2.46101
Can you see this error inside your deployment logs ..?
I would bet that you have an error during your deployement and your infrastructure goes back to the previous functional version.

This error is a mistake on our side, sorry...
We revert back to a config that works on SonarQube 8.9.0 on the dev branch.
So, if you update your clone on this branch, and build the plugin again, it may work for you.

@inugravi
Copy link
Author

Hello @Sancretor,

Please allow some time to test this new one.

May i know when the cnes plugin will be released on master branch for supporting 8.9.x version and higher ?

Thanks,
inugravi.

@Sancretor
Copy link
Contributor

Hi @inugravi

No problem, take the time you need.
The next release will only support 8.9.x LTS, but not 9.x yet.
We hope to release it soon, by the end of the month maybe.
Then we'll try to publish it on the SonarQube marketplace.

@inugravi
Copy link
Author

inugravi commented Aug 27, 2021

Hello @Sancretor ,

The issue is now fixed and the report is being generated irrespective of security hotspot presence.

A million thanks. I'm not alone in this battle and with your help and support I achieved it.
Instead of using 8.9.0 I have used 8.9.2 and changed the APi version in pom.xml and rebuilt the plugin in my local machine and it is working like a charm.

And one more request from my side. Could you please add PDF functionality for the cnes plugin ? so that the report can be downloaded in the pdf file format instead of word format. I know you have helped me by coming out of your comfort zone but plz don't mind to take this one.

Thanks a million,
inugravi.

@Sancretor
Copy link
Contributor

Sancretor commented Aug 27, 2021

Hi @inugravi,
Great news ! Glad your issue is now fixed !
The future release should work, so this should not happen anymore.

Regarding PDF generation, this is related to an existing issue (#158).
We did not plan to generate a PDF report yet, as this is a bit more complicated, and we usually consider that the Word document should be manually modified to be a true Quality Report.
Maybe we could discuss that for the next 4.1.0 release, but we don't want to further delay the 4.0.0.
In the meantime, you could generate a PDF manually from the Word document.

@Sancretor Sancretor mentioned this issue Aug 27, 2021
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done This issue was solved but not merged in master
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants