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 60051 - Assertion Error when working with code completion
Summary: Assertion Error when working with code completion
Status: VERIFIED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 14:20 UTC by Roman Strobl
Modified: 2007-11-05 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
AE (966 bytes, text/plain)
2005-06-15 14:21 UTC, Roman Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2005-06-15 14:20:20 UTC
[NetBeans 200506142000; WinXP; JDK 1.5.0_04]

Following exception was thrown when I was working with new code completion. I am
not able to reproduce, thus choosing priority only P4. I was trying to add a
class after a package:

bingo.shared.|

When executing code completion for several times, the AE was thrown:

java.lang.AssertionError
	at
org.netbeans.modules.editor.completion.CompletionImpl.completionQuery(CompletionImpl.java:427)
	at
org.netbeans.modules.editor.completion.CompletionImpl.access$200(CompletionImpl.java:52)
	at
org.netbeans.modules.editor.completion.CompletionImpl$3.actionPerformed(CompletionImpl.java:156)
...
Comment 1 Roman Strobl 2005-06-15 14:21:26 UTC
Created attachment 22713 [details]
AE
Comment 2 pzajac 2005-06-16 14:40:09 UTC
I am not able to reproduce it too. But it disturbs :(. 
Comment 3 Martin Roskanin 2005-06-27 09:02:31 UTC
Yes. There is no synchronization on completionResults in
CompletionImpl.completionQuery()...
We should fix it to NB4.2
Comment 4 Dusan Balek 2005-11-03 15:35:24 UTC
Cannot reproduce in the current dev build. CompletionImpl threading was
completely redesigned in revision 1.11. Closing as works for me. Please reopen,
if the problem persists.
Comment 5 Roman Strobl 2006-01-03 15:14:49 UTC
Verified.