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 90406 - Freeze in AbbrevDetection / SurroundWithFix / JavaCodeTemplateFilter while background scan in progress
Summary: Freeze in AbbrevDetection / SurroundWithFix / JavaCodeTemplateFilter while ba...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: PERFORMANCE
: 97444 (view as bug list)
Depends on: 100037
Blocks:
  Show dependency tree
 
Reported: 2006-12-01 09:01 UTC by Marian Mirilovic
Modified: 2007-04-06 09:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
2 thread-dumps (34.48 KB, text/plain)
2006-12-01 09:01 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2006-12-01 09:01:19 UTC
NB Dev (200611300230), JDK 6.0 (b104)

Steps to reproduce:
- run IDE, create new J2SE project
- create method in Main.java :
 public void print() {
 }
- try to use abbr. "fore" there
-> IDE got frozen (see attached thread-dumps)
Comment 1 Marian Mirilovic 2006-12-01 09:01:51 UTC
Created attachment 36412 [details]
2 thread-dumps
Comment 2 Marian Mirilovic 2006-12-01 09:19:40 UTC
Well, after a while (like minute or more) it gets back ... and it works as
expected, so it looks like just first usage is very very slow ...
Comment 3 Jiri Prox 2006-12-01 11:28:31 UTC
Is the background indexing finished when using abbrev.?
Comment 4 Marian Mirilovic 2006-12-04 09:22:36 UTC
I guess it was - I haven't seen indexing in status bar ...
Comment 5 Dusan Balek 2007-03-22 13:55:33 UTC
*** Issue 97444 has been marked as a duplicate of this issue. ***
Comment 6 Dusan Balek 2007-03-23 21:18:41 UTC
Fixed.

Checking in Bundle.properties;
/cvs/java/editor/src/org/netbeans/modules/editor/java/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.20; previous revision: 1.19
done
Checking in JavaCodeTemplateFilter.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCodeTemplateFilter.java,v
 <--  JavaCodeTemplateFilter.java
new revision: 1.7; previous revision: 1.6
done
Checking in JavaCodeTemplateProcessor.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCodeTemplateProcessor.java,v
 <--  JavaCodeTemplateProcessor.java
new revision: 1.11; previous revision: 1.10
done
Comment 7 Marian Mirilovic 2007-04-06 09:28:30 UTC
verified in NB Dev (200704051800)