This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 227209 - Javascript code completion leads to freeze
Summary: Javascript code completion leads to freeze
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-08 12:19 UTC by oliver_welter
Modified: 2013-07-10 12:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
I've same issue with DEV 201303142300. Here is the thread dump (36.81 KB, application/octet-stream)
2013-03-18 15:14 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description oliver_welter 2013-03-08 12:19:16 UTC
Editing an phtml file containing PHP and JavaScript code leads to a freeze of several minutes or to a total freeze without recovering  if editor tries to suggest properties of a JavaScript variable.
Comment 1 Vladimir Riha 2013-03-08 12:33:27 UTC
Please attach thread dump [1] when this freeze happens. Thank you


[1] http://wiki.netbeans.org/GenerateThreadDump
Comment 2 Vladimir Riha 2013-03-18 06:33:25 UTC
Waiting for thread dump. Please attach it here and simply reopen this issue, thanks.
Comment 3 ecerichter 2013-03-18 15:14:45 UTC
Created attachment 132762 [details]
I've same issue with DEV 201303142300. Here is the thread dump

I've same issue with DEV version, and this is driving me nuts.
At first freeze, I though it wont happen again - would be something environment related. But now, this started to happen from time to time, specially after my computer come out from "sleep" mode.
Comment 4 ecerichter 2013-03-18 15:15:30 UTC
I think we can raise this to P1, because I lost my code changes because of this code freeze.
Comment 5 Petr Pisl 2013-03-19 10:03:58 UTC
It looks like problem that js idnex is used in AWT during displaying types in the navigator. Could you hid navigator, whether the problem disappear. Thanks.
Comment 6 Petr Pisl 2013-07-10 12:44:51 UTC
This should be already fixed. I made in NB 7.4 code base some changes that should significantly improve it. The items in navigator are better implemented and they don't refresh so often. Also resolving types is improved. Please reopen if you have still problem with it.