You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: