-
Notifications
You must be signed in to change notification settings - Fork 22
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
Go to source is not working #34
Comments
I have the same issue with NetBeans 8.1 and Java 1.8.0_66. I'm using version 2.6 of the plugin. Stacktrace: |
Hi @mario-s, let me check this out. I haven't tested Radar with SonarQube 5.6 that is available since this month. What version of SonarQube are you using? |
I also experience the same issue "Project not found with key: ch.blabla.framework.epayment:xframework-epayment-ei". radar-netbeans is version 2.6, sonar is version 4.5, netbeans is version 8.1 patch 1. |
I've just submitted an issue with project key prefixes, which may be the same problem in other guise. Problem seems to be that Radar assumes project key from sonar = project name in Netbeans, which is not always the case. |
Same for me. I'm working with NB 8.2, radar plugin 2.7, SonarQube 6.2. The problem seems to be occurring when the code in question is contained in a sub-project, which itself is not a project of it's own right in sonar. At least it doesn't show up in the project list. However, when selecting the sub-project in sonar UI , the link pointing to the subproject shows the correct (sub-) project page. So maybe the project list downloaded from SonarQube does not contain the sub projects and because of this it's not found by netbeans-radar? |
Hi, @sahlex. Do you have an example to reproduce this issue? Thanks in advance. |
Hi @hmvictor. Unfortunately all of our code is closed-source so I can't provide you access to neither our code nor the sonar server. In the meantime I tried with the sonar runner in each of the subprojects/modules, which is working fine. But of course I'd like to work with the issues from sonar server as the sonar runner needs local processing which takes a lot of time. How could I help you by other means? Alexander |
A sample project, not real code, but something to replay this issue would be useful. Nice day. |
I'll prepare it, Hang on. |
Ok, Here you go. Steps to reproduce:
|
So is it solved? Any progress? |
OK. I removed the parent dependency, recompiled and re-run sonar analysis. Still, I get the very same error. What's the difference? |
What version of the sonar-maven-plugin are you using to analyze your project? Maybe that's the difference. |
My profile differs from the the one suggested by SonarQube because only Jenkins executes it in a scheduled build. Therefore, there are no entries in settings.xml and only a reduced configuration exists in the pom.xml. Does radar-netbeans try to extract some information from these entries in settings.xml or pom.xml? Jenkins uses "Enable injection of SonarQube server configuration as build environment variables". |
👍 |
Original issue reported on code.google.com by
[email protected]
on 13 Apr 2015 at 4:05The text was updated successfully, but these errors were encountered: