vveros opened a new issue, #4174: URL: https://github.com/apache/netbeans/issues/4174
### Apache NetBeans version Apache NetBeans 13 ### What happened In a fresh Ubuntu 22.04 install and fresh Netbeans 13 (also 12.6) install with only one simple project opened (single file main.cpp). I detected that "Background scanning" was reading my entire USB drive and taking forever (it's 2TB and not sure what the intention of this scanning is). Issuing the following command: lsof | grep "/media/victor/USB-disk/" I could detect that Java process from Netbeans was scanning completely my USB drive. Even do "Enable auto scanning of sources" has been disabled. If the USB drive is not plugged then "background scanning" finishes immediately. But if the USB drive is mounted it keeps forever and it is reading the entire drive. Not sure if this is a security issue or just a bug. But doesn't look like a good behavior seen from an users perspective. ### How to reproduce 1. Just install Netbeans 2. plug an USB drive that has enough files to keep it scanning for long time (mine is 2TB and full) 3. open Netbeans 4. I installed 8.2 portal and c++ plugin 5. Crate an new c++ application. 6. Disable "Enable auto scanning of sources" in Tools > options > Miscellanious | Files 7. I also installed nodejs and set the path in options > HTML/JS | Node.js > Node path (I did this because on start it was showing warning nodejs not found then my first thouth was it was scanning for node, but no it wasn't). 8. Close Netbeans 9. Open Netbeans again and it starts scanning entire USB drive 10. issue this command to see: lsof | grep "/media/victor/YOUR-USB-disk/" 11. Then if you kill the listed process by lsof command the Netbeans IDE will close ### Did this work correctly in an earlier version? No ### Operating System Ubuntu 22.04 ### JDK Java: 11.0.15; OpenJDK 64-Bit Server VM 11.0.15+10-Ubuntu-0ubuntu0.22.04.1 Runtime: OpenJDK Runtime Environment 11.0.15+10-Ubuntu-0ubuntu0.22.04.1 System: Linux version 5.15.0-33-generic running on amd64; UTF-8; en_US (nb) ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- 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
