swpalmer opened a new issue, #6674:
URL: https://github.com/apache/netbeans/issues/6674

   ### Apache NetBeans version
   
   Apache NetBeans 20 release candidate
   
   ### What happened
   
   I had a project that was loading on 20-rc3 before,and then after I added teh 
SpotBugs gradle plugin to my build.gradle file, NB doesn't like it anymore and 
it won't tell me why.  Resolve project problems shows the empty problem dialog 
with only a yellow triangle icon with no text in the list of problems.
   
   When I select the "Cannot load:..." notification form the Notifications 
panel, the side panel shows "Priority: Low,  Category: Warning", and a single 
bullet point with no text after it.
   
   ### How to reproduce
   
   Add the following to a Gradle java-library project:
   ```groovy
   plugins {
       id 'com.github.spotbugs' version '5.2.3'
   }
   
   spotbugs {
     // allow throw in a constructor
     omitVisitors = ["ConstructorThrow"] // see 
https://spotbugs.readthedocs.io/en/latest/detectors.html
   }
   
   tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
     reports {
       xml.enabled false
       html.enabled true
     }
   }
   
   tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
     reports {
       xml.enabled false
       html.enabled true
     }
   }
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Ubuntu 23.10
   
   ### JDK
   
   17.0.9; OpenJDK 64-Bit Server VM 17.0.9+8-LTS, Amazon Corretto on Intel
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Happens every time.  Removing the SpotBugs code from `build.gradle` fixes it.
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to