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 103773 - random AE from create local variable hint
Summary: random AE from create local variable hint
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 15:30 UTC by Jiri Prox
Modified: 2009-11-02 11:01 UTC (History)
0 users

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 Jiri Prox 2007-05-11 15:30:54 UTC
NetBeans IDE Dev (Build 20070509-2243)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

Sometimes when performing 'create local variable' immediately followed by undo
the changes the next usage of the hint throws following exception:

java.lang.AssertionError
	at
org.netbeans.modules.java.hints.AddParameterOrLocalFix$1.run(AddParameterOrLocalFix.java:109)
	at
org.netbeans.modules.java.hints.AddParameterOrLocalFix$1.run(AddParameterOrLocalFix.java:96)
	at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:705)
	at
org.netbeans.modules.java.hints.AddParameterOrLocalFix.implement(AddParameterOrLocalFix.java:93)
	at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:498)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Jan Lahoda 2008-11-21 10:43:29 UTC
later.
Comment 2 Quality Engineering 2009-11-02 11:01:48 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX