I'll definitely wake this thread the next time I face this problem and I'll
provide more feedback. Visual VM will help.

Thanks.

On Tue, Sep 13, 2022, 7:56 PM László Kishalmi <laszlo.kisha...@gmail.com>
wrote:

> Or you can try to attach a VisualVM to the NetBeans process, to see what
> the IDE is doing.
>
> On Tue, Sep 13, 2022 at 9:34 AM Ernie Rael <err...@raelity.com> wrote:
>
> > There a program that will tell you what windows processes have a given
> > file open, maybe other info about the file. That might be informative.
> >
> > -ernie
> >
> > (I'm rushed, can't look for it now)
> >
> >
> > On 9/13/22 7:20 AM, Ömer Halit Çizmeci wrote:
> > > Well. It is still a possibility but I doubt that because it's a high
> end
> > > new PC. If that ever happens again, do you need me to do anything
> > > specifically? Just keep in mind that NetBeans does not respond at all.
> > >
> > > On Tue, Sep 13, 2022, 5:16 PM Eirik Bakke <eba...@ultorg.com> wrote:
> > >
> > >> One possibility--perhaps less likely than a bug in NetBeans, but still
> > >> worth considering--is a failing hard drive or SSD drive. It might be a
> > good
> > >> time to take a backup of your files, just in case.
> > >>
> > >> -- Eirik
> > >>
> > >> -----Original Message-----
> > >> From: Ömer Halit Çizmeci <omerha...@gmail.com>
> > >> Sent: Tuesday, September 13, 2022 2:50 AM
> > >> To: dev@netbeans.apache.org
> > >> Subject: Re: Sudden File Lock Freeze
> > >>
> > >> I only encountered this while editing .java files but I am not sure if
> > it
> > >> is file type specific. It is part of a Java Web Application project
> file
> > >> and I can guarantee that the file is not opened in any other
> > application. I
> > >> don't have any antivirus program other than Windows Defender and I
> don't
> > >> have a virus on my computer.
> > >>
> > >> On Tue, Sep 13, 2022, 4:58 AM Laszlo Kishalmi <
> > laszlo.kisha...@gmail.com>
> > >> wrote:
> > >>
> > >>> One of the most important information is missing.
> > >>>
> > >>> What type of file are you editing?
> > >>>
> > >>> On 9/12/22 17:01, Ömer Halit Çizmeci wrote:
> > >>>> 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?
> > >>>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > >>> For additional commands, e-mail: dev-h...@netbeans.apache.org
> > >>>
> > >>> For further information about the NetBeans mailing lists, visit:
> > >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >>>
> > >>>
> > >>>
> > >>>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: dev-h...@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

Reply via email to