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 168739 - Netbeans freezes when selecting text
Summary: Netbeans freezes when selecting text
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker with 1 vote (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: PERFORMANCE, RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2009-07-17 13:18 UTC by bendavies
Modified: 2009-09-21 13:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Threaddump (39.25 KB, text/plain)
2009-07-17 13:20 UTC, bendavies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bendavies 2009-07-17 13:18:19 UTC
I notice some similar issues have been raised already, but they seem to have been forgotten or ignored because the
submitter has not provided a thread dump.

When selected text within a file, Netbeans freezes indefinitely.
The size of the open file seems unimportant.
The project, however, is large, being around 13k files.

Note that I do the above AFTER the initial scan of the project has been completed, post import. For what it's worth,
this scan takes about 20 minutes.

Netbeans has currently been frozen for around 2 hours.
Attached is a Thread dump created with VisualVM, while Netbeans is frozen.
Comment 1 bendavies 2009-07-17 13:20:41 UTC
Created attachment 84882 [details]
Threaddump
Comment 2 Jan Jancura 2009-07-20 12:02:54 UTC
>indexing
Comment 3 Vitezslav Stejskal 2009-07-24 09:47:52 UTC
There is an indexing task running and computing hints in a PHP file. The AWT seems to be trying to compute hints for the
selected text. I can't say from the threaddump if it's really blocked by the indexing task or not. Does the same happen
for smaller projects? Could you please run the IDE with
-J-Dorg.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.level=FINE switch, reproduce the problem and attach
here the IDE's log file (eg. from <nb-userdir>/var/log/messages.log)? Finally, I'm assuming that you are using Netbeans
for PHP, right? Thanks
Comment 4 Vitezslav Stejskal 2009-08-07 13:22:37 UTC
This is unlikely to get solved without further information.
Comment 5 Jiri Prox 2009-09-21 13:49:13 UTC
Without requested information for long time - INVALID. We can't do anything in this case. Reporter, please add requested
information and reopen issue. Thanks in advance.