You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/05/31 06:51:33 UTC

[GitHub] [netbeans] vveros opened a new issue, #4174: Netbeans reading entire attached USB disk with "background scanning of projects"

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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] mbien commented on issue #4174: Netbeans reading entire attached USB disk with "background scanning of projects"

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4174:
URL: https://github.com/apache/netbeans/issues/4174#issuecomment-1143780789

   the old C++ plugin of 8.x isn't really supported anymore. We can't update 8.x plugins or fix things there.
   
   There are efforts ongoing which try to bring the CND cluster to current version of NetBeans, but there is no ETA for that.
   https://github.com/apache/netbeans/pulls?q=is%3Apr+%5Bcnd%5D
   
   @vieiro we can close this issue, right? Or should we leave it open?


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] vveros commented on issue #4174: Netbeans reading entire attached USB disk with "background scanning of projects"

Posted by GitBox <gi...@apache.org>.
vveros commented on issue #4174:
URL: https://github.com/apache/netbeans/issues/4174#issuecomment-1144766930

   Hello,
   
   I'll try to reproduce this without c++ plugin of 8.x. Then let you know the results.
   
   Thanks a lot!
   Víctor
   ________________________________
   De: Antonio Vieiro ***@***.***>
   Enviado: miércoles, 1 de junio de 2022 20:16
   Para: apache/netbeans ***@***.***>
   Cc: vveros ***@***.***>; Author ***@***.***>
   Asunto: Re: [apache/netbeans] Netbeans reading entire attached USB disk with "background scanning of projects" (Issue #4174)
   
   
   Hi,
   
   Yep, the old C++ plugin is not licensed with the Apache License, so there's nothing we can do with it. So let's close this one.
   
   If you can reproduce this without the C++ plugin (just NB13) then please reopen.
   
   Thanks,
   Antonio
   
   —
   Reply to this email directly, view it on GitHub<https://github.com/apache/netbeans/issues/4174#issuecomment-1143980016>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEC4BJFMCAK6XSUO55IT4ULVM6SHJANCNFSM5XMOU2VA>.
   You are receiving this because you authored the thread.Message ID: ***@***.***>
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] vieiro closed issue #4174: Netbeans reading entire attached USB disk with "background scanning of projects"

Posted by GitBox <gi...@apache.org>.
vieiro closed issue #4174: Netbeans reading entire attached USB disk with "background scanning of projects"
URL: https://github.com/apache/netbeans/issues/4174


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] vieiro commented on issue #4174: Netbeans reading entire attached USB disk with "background scanning of projects"

Posted by GitBox <gi...@apache.org>.
vieiro commented on issue #4174:
URL: https://github.com/apache/netbeans/issues/4174#issuecomment-1143980016

   Hi,
   
   Yep, the old C++ plugin is not licensed with the Apache License, so there's nothing we can do with it. So let's close this one.
   
   If you can reproduce this *without* the C++ plugin (just NB13) then please reopen.
   
   Thanks,
   Antonio
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] vveros commented on issue #4174: Netbeans reading entire attached USB disk with "background scanning of projects"

Posted by GitBox <gi...@apache.org>.
vveros commented on issue #4174:
URL: https://github.com/apache/netbeans/issues/4174#issuecomment-1144766129

   I'll try to reproduce this without c++ plugin of 8.x. And let you know the results.
   Thanks a lot!
   ________________________________
   De: Michael Bien ***@***.***>
   Enviado: miércoles, 1 de junio de 2022 17:47
   Para: apache/netbeans ***@***.***>
   Cc: vveros ***@***.***>; Author ***@***.***>
   Asunto: Re: [apache/netbeans] Netbeans reading entire attached USB disk with "background scanning of projects" (Issue #4174)
   
   
   the old C++ plugin of 8.x isn't really supported anymore. We can't update 8.x plugins or fix things there.
   
   There are efforts ongoing which try to bring the CND cluster to current version of NetBeans, but there is no ETA for that.
   https://github.com/apache/netbeans/pulls?q=is%3Apr+%5Bcnd%5D
   
   @vieiro<https://github.com/vieiro> we can close this issue, right? Or should we leave it open?
   
   —
   Reply to this email directly, view it on GitHub<https://github.com/apache/netbeans/issues/4174#issuecomment-1143780789>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEC4BJETM2L533M7DXJYXA3VM6A2PANCNFSM5XMOU2VA>.
   You are receiving this because you authored the thread.Message ID: ***@***.***>
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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