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 91181 - AssertionError - Cannot use Code Completion
Summary: AssertionError - Cannot use Code Completion
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: REGRESSION
: 91156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-18 08:51 UTC by Max Sauer
Modified: 2006-12-18 13:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2006-12-18 08:51:44 UTC
Inside todays trunk, I'm not able to use Code Completion. Following AE is thrown
upon every attempt:

java.lang.AssertionError: AsyncCompletionTask:
query=org.netbeans.modules.websvc.editor.completion.WSCompletionProvider$Query@67dc1e2:
query.query(): Result set not finished by resultSet.finish()
	at
org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:197)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)

Steps to reproduce:
-------------------
1) Open a j2se project and a java file from it
2) Inside of a method, type 
Sys|
and invoke CC
=> AE

---
NetBeans IDE Dev (Build 200612171900)
1.6.0; Java HotSpot(TM) 64-Bit Server VM 1.6.0-b105
SunOS version 5.10 running on sparcv9
en (nb); ISO646-US
Comment 1 Max Sauer 2006-12-18 09:10:12 UTC
Valid for all platform. Really block work with IDE => P1.
Comment 2 Lukas Jungmann 2006-12-18 09:33:51 UTC
Milane, please, take a look at this...
Thanks.
Comment 3 Milan Kuchtiak 2006-12-18 10:07:08 UTC
OK, looking at the problem.
Comment 4 Milan Kuchtiak 2006-12-18 10:16:57 UTC
Fixed.

Checking in WSCompletionProvider.java;
/cvs/websvc/core/src/org/netbeans/modules/websvc/editor/completion/WSCompletionProvider.java,v
 <--  WSCompletionProvider.java
new revision: 1.4; previous revision: 1.3
Comment 5 Milan Kuchtiak 2006-12-18 11:45:06 UTC
*** Issue 91156 has been marked as a duplicate of this issue. ***
Comment 6 Max Sauer 2006-12-18 12:27:39 UTC
Verified. Diky Milane.
---
NetBeans IDE Dev (Build 061218)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8