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

Spotbugs plugin for gradle 6.0.0-beta4 is broken in Netbeans 19 #991

Open
victorwss opened this issue Oct 12, 2023 · 1 comment
Open

Spotbugs plugin for gradle 6.0.0-beta4 is broken in Netbeans 19 #991

victorwss opened this issue Oct 12, 2023 · 1 comment

Comments

@victorwss
Copy link

victorwss commented Oct 12, 2023

Trying to build a gradle project that uses the spotbugs plugin in Netbeans makes Netbeans fail the build with an empty message error and mark the project as unloadable and fallbacking to Java 5 (yikes!).

Netbeans 19 (but it also happened in older versions)
Java 21 (but I also tested with 20)
Gradle 8.4 (but I also tested with 8.3)
Spotbugs gradle plugin 6.0.0-beta4
Spotbugs 4.7.3

Since it runs perfectly when running Gradle on CMD and it only goes nuts in Netbeans, I really think that this bug is actually in Netbeans side (see apache/netbeans#4779). However, it might be worth to give a look into the plugin side to check if there is something fishy or maybe providing a possible workaround.

I created a minimal Hello World with gradle and spotbugs to show the problem: https://github.com/victorwss/min-spotbugs-gradle

@KengoTODA
Copy link
Member

Thanks for making this mcve! I'm not NetBeans user so I cannot check, but it would be really helpful for who will debug this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants