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
TypeError: response.component.measures.filter(...)[0] is undefined #158
Comments
+1. I would love to see this fixed |
Can you reproduce this behavior with any example project? |
We currently can not reproduce the issue with a small project. However our SonarQube builds are currently failing. We try to get them passing again and see whether that will fix the issue. |
I'm currently having the exact same issue. SonarQube version 7.9 (latest) |
Did you see anything suspicious in sonarqube, sonar-scanner or proxy-access logs? |
The only thing I'm seeing, is something in the sonar scanner plugin (I'm using the XML report).
|
Not anymore, we used to see
Now the only thing we're seeing are
|
@nielsvn92 @marschall HTML-Report -> Only for uploading to Sonarqube, presented in Sonarqube-GUI as an ugly iframe |
Ahhh right, sorry. I just generated the HTML report, and set the path property. Now it works correctly! Just saw that this was actually written in the readme too, so sorry for not reading the manual correctly.. Thanks! |
@marschall |
@Reamer it's still happening but I found no time to build a reproducer |
Hi @marschall , |
@Reamer Sorry, I don't think I'll be able to test a pre-release. |
@marschall Fix should be in next release (> 2.0.3) |
Describe the bug
When we open the Dependency-Check view on some of our projects we get the following Javascript error
The issue is that
response.component.measures is empty
is empty on the following linehttps://github.com/SonarSecurityCommunity/dependency-check-sonar-plugin/blob/master/sonar-dependency-check-plugin/src/main/resources/static/report.js#L38
To Reproduce
Current behavior
Javascript error
Expected behavior
no Javascript error
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: