Hey Matthias,

did the Dump help you? Do you need more info from my side?


Cheers

Chris

Von: Matthias Bläsing
Gesendet: Mittwoch, 18. Mai 2022 18:39
An: dev@netbeans.apache.org
Betreff: Re: Add mssing suggestions to javascript?

Hi Christian,

I was able to generate a situation that might have been what you have
seen, but is not a real hard freeze. I started NetBeans in a VirtualBox
from the virtual file system and this is very slow.

The "Goto declaration" functionality takes long to build up in all
cases, but it got even slower on this windows test. Connecting with a
debugger showed, that read operation from file system were done on the
EDT. I suspect you saw something similar.

That is also the reason a Thread Dump of the error would be good to
have.

Greetings

Matthias

Am Mittwoch, dem 18.05.2022 um 10:46 +0200 schrieb Christian Lenz:
> Hey Matthias,
> 
> thx for your help to identifing the Problem, will try the Thing with the 
> snapshot first.
> 
> 
> Cheers
> 
> Chris
> 
> Von: Matthias Bläsing
> Gesendet: Mittwoch, 18. Mai 2022 03:23
> An: dev@netbeans.apache.org
> Betreff: Re: Add mssing suggestions to javascript?
> 
> Hi Christian,
> 
> Am Dienstag, dem 17.05.2022 um 10:19 +0200 schrieb Christian Lenz:
> > 
> > so I tried ant tryme and everything works as expected. I opened an html 
> > file and added the code const el = document.createElement('div'); after 
> > this I called el. And code completion shows me classList. So this is 
> > working.
> > 
> > When I hit enter to add classList to the HTML file I ctrl + click to go to 
> > the documentation but the IDE freezes. I dunno whether I was still in an 
> > indexing Phase but after restarting the test build it happens again. Just 
> > an Information. Log doesn’t Show error and also I can’t navigate into 
> > NetBeans anymore due to the Freeze.
> > 
> 
> I can reproduce, that the first JS file opened with a freshly build IDE
> will not work correctly. I think this is connected to the way the JS
> code completion is started. In a second JS file though everything is
> fine for me.
> 
> For the freeze: Please try to get a thread-dump from that situation. We
> might see a race-condition, that just gets more obvious because the JS
> support takes longer to initialize (on the first run).
> 
> Please also check if manually activation the "HTML5" Plugin Feature
> first helps. I have not much trust in the Feature-on-Demand system of
> NetBeans.


---------------------------------------------------------------------
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