Closed Poil closed 4 years ago
There is this doc, but I don't have a valid account to consult the solution https://support.oracle.com/knowledge/Middleware/1025856_1.html
Hello,
Thanks for reporting the issue. I have not tested SQ 8 yet. And I cannot access the support note either.
Can you detail your SQ runtime environment (especially the JDK version and configuration), please? I did some short unit tests with Java 8 and 11 and the line of code in question works fine. There seems to be a configuration issue in the policy file of your JDK.
Hi,
Here is my current JDK, note that it was working with Sonar 7.x with it.
# java -version
openjdk version "11.0.4" 2019-07-16 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.4+11-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+11-LTS, mixed mode, sharing)
I have no configuration in security and security.d
I am having the same issue and found the following comment: https://github.com/mc1arke/sonarqube-community-branch-plugin/issues/38#issuecomment-544913496
SonarSource have made changes to specifically block the mechanism this plugin used to access the relevant Core classes at runtime by implementing a Security Manager. Alongside this they've made internal API changes that prevent the plugin compiling against SonarQube 8. I'll need to take a look at what options we have for overcoming this.
Edit: I did not see your reply, which points to the cause of the problem.
I'm going to ask to the SQ team how a plugin can get access to the system environment variables in a plugin in SQ 8.
Hi,
Dunno how to have more log about this but, this plugin crash the Compute Engine at starting
Best regards