Hi,

I have been having this problem I think since NB13 and it occurs in NB14
and NB15. The application suddenly freezes entirely with no response at all
when I hit CTRL+S to save a file. There is no pattern I could figure out
but when this happens, it is extremely hard to revert it back to normal.
Restarting NetBeans does not help. Restarting my PC does not help. Whenever
I save on that specific file, NetBeans freezes immediately and the only way
is to force close in task manager.

After this incident repeat so many times, I had to look for a workaround.
The only way I was able to resume NetBeans without having to force close
was to navigate to the file via file explorer and rename that specific
file. Then NB would pop-up the file modified outside of NB and ask if I
want to reload. After this point, NB continues to run as normal but if I
hit CTRL+S again on that file, NB will freeze. And restarting Windows or
NetBeans does not help.

After a long time of investigating, I was able to find a way to fix it for
that moment. I'd open that specific file in Notepad and make a slight
modification and save it. Then NetBeans is able to save on that file and
runs normally until this random bug appears. It is like the file is locked
by another process and NetBeans cannot get hold of that file and freezes.
This happens randomly with random files.

This happens in Windows 10 and Windows 11 using NB15 with Java 17.

What else should I provide to contribute to this?

Reply via email to