-
Notifications
You must be signed in to change notification settings - Fork 161
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
Comments
Hi @inugravi Thanks for your feedback ! 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. |
Hi Alexis, 2021.07.29 11:06:08 INFO web[][o.s.s.e.IndexerStartupTask] Indexing of type [components/auth/component] done | time=711ms Note:
Thanks in advance, |
Hi @inugravi Thanks a lot for the logs, we are working to find and solve this issue. |
We were able to reproduce your error, but with a very specific case. Anyway, we know how to solve this like explained below. |
Hi Sancretor, Thanks a lot for the update. We are verifying it. Please allow us some time for the above issue. Thanks, |
Hi @inugravi Just to let you know that we merged a fix inside our "dev" branch, in case you want to test it. |
Hello @Sancretor Thanks, |
Hi @inugravi |
Hi @Sancretor Thanks a lot for the your and guidance. I will compile with mvn and will let you know the feedback. Thanks, |
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: Any inputs on this. ?? at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616) Also I found the below strange logs. As per my knowledge, this is happening in either of two ways
The below are the logs. Also please find the below log |
Thanks for the feedback ! Are you absolutely sure you built and deployed the code from the "dev" branch ? If you're not sure, I could generate a JAR and attach it here. |
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 Thanks a million, |
Alright, that's weird. |
Absolutely no problem :) !! @Sancretor take your time. It's a great help !! |
Hi @inugravi Could you please make sure you deployed the correct JAR ? |
Sure @Sancretor , Thanks, |
Hi Sancretor, I have tried it with the plugin which you have given me. |
If the issue still occurs yes, these logs may be useful. |
Hello @Sancretor 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 |
@inugravi So, I don't know what happened on your infrastructure, but it does not deploy the correct JAR. |
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 |
@inugravi |
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 ? Please correct me if I'm wrong. I'm trying my level best to come out of this issue. Thanks, |
Hi @inugravi Sorry for the misunderstanding, I did a quick & dirty thing yesterday in order to help you. Anyway, even if you used the dev branch, the piece of code you underlined cannot throw a NullPointer Exception. |
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. Note: Sonarqube version I'm using is 8.9.0.43852 Thanks, |
Hi @Inugan I just tried to deploy your JAR into a SonarQube 8.9.0 and it failed with this error : This error is a mistake on our side, sorry... |
Hello @Sancretor, Please allow some time to test this new one. May i know when the cnes plugin will be released on Thanks, |
Hi @inugravi No problem, take the time you need. |
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. 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, |
Hi @inugravi, Regarding PDF generation, this is related to an existing issue (#158). |
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.
(the above one is working fine)
Note: I'm using the latest cnes report plugin version.
The text was updated successfully, but these errors were encountered: