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 43706 - [refactoring] IllegalStateException when invoking code completion
Summary: [refactoring] IllegalStateException when invoking code completion
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-05-23 17:24 UTC by Jan Chalupa
Modified: 2007-11-05 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack trace (1.67 KB, text/plain)
2004-05-23 17:25 UTC, Jan Chalupa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2004-05-23 17:24:13 UTC
[refactoring build #040521-2, JDK 1.4.2_02]

I'm occasionally getting IllegalStateException 
in request processor (attached) when trying to 
invoke code completion in editor. Sorry, I can't 
reproduce it reliably.
Comment 1 Jan Chalupa 2004-05-23 17:25:18 UTC
Created attachment 15073 [details]
Exception stack trace
Comment 2 Jan Chalupa 2004-05-23 17:27:08 UTC
Forgot to mention that it occurs when code completion is invoked 
when typing method parameters.

Top of the stack trace (for convenience):

Annotation: Exception occurred in Request Processor
java.lang.IllegalStateException
	at 
org.netbeans.modules.editor.java.NbJavaJMISyntaxSupport.getTypeName
(NbJavaJMISyntaxSupport.java:131)
	at 
org.netbeans.modules.editor.java.NbJavaJMISyntaxSupport.findType
(NbJavaJMISyntaxSupport.java:76)
	at 
org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.res
olveItem(NbJavaJMICompletionQuery.java:349)
...
Comment 3 Miloslav Metelka 2004-05-26 13:45:03 UTC
Assigning to Dusan.
Comment 4 Dusan Balek 2004-05-27 15:36:13 UTC
It should be fixed as a side effect of the following change:
http://editor.netbeans.org/source/browse/editor/src/org/netbeans/modules/editor/java/Attic/NbJavaJMISyntaxSupport.java.diff?r1=1.1.2.17&r2=1.1.2.18

Please, reopen if it appears again.
Comment 5 Jan Chalupa 2004-10-15 21:38:08 UTC
Haven't seen it since then. Verified.