Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeams checking for external changes - suspended bug out whole IDE [closed]

Like 3 days ago, my netbeams started to sometimes bug out. It is either when i am just starting netbeans, and "Background scanning of objects" get stuck at any percent (it varies), o ir if loads properly, after some time, "checking for external changes - suspended" will show up and then the problems starts: netbeans does not compile errors, does not open class or start a code (it will show as "lengthy operation in progress", after some time, output will show that no compiler was found, if clicked on class - "go to source or something like that"). After restarting netbeans, if it loads properly, it will run smoothly until same thing happens. Also, i saw that even when i close netbeans, there is a java process running in a task manager(uses like 30% of my cpu). I tried reinstalling, deleting everything by hand and then reinstalling, cleaning cache... Nothing helps. Also it happened at the same day on my 2 computers. I think it has something to do with "checking for external changes -suspended", because when a bug starts, this process will always appear. Even if i close it manualy (just click X), it will start again after few secs. I tried to disable automatic scanning of procceses in options it doesnt help, and acts the same (just checking for external changes suspended doesnt appear anymore). It is not consistent, but makes me unable to properly work. Maybe anyone has any ideas what should i do?

like image 590
Martynas Jonaitis Avatar asked Sep 06 '25 09:09

Martynas Jonaitis


2 Answers

Yes, you should delete NetBeans cache! The path of the cache directory is listed in the About window (menu Help/About). Close NetBeans, then delete the directory. NetBeans will rebuild its cache when it starts up.

like image 98
akelec Avatar answered Sep 11 '25 02:09

akelec


I was also able to reduce the likelihood of this occurring by disabling "auto-scanning of sources".

Once disabled, you can trigger this manually by right clicking the project folder and choosing "Refresh Folder".

Disable auto-scanning of sources

like image 32
Matt Mombrea Avatar answered Sep 11 '25 00:09

Matt Mombrea