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.
Build: NetBeans IDE 6.5 Beta (Build 200808060301) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Linux, 2.6.22-15-generic, i386 User Comments: AE when calling quicky Introduce local varialbe hint several times Stacktrace: java.lang.AssertionError at org.netbeans.modules.java.hints.errors.AddParameterOrLocalFix$1.run(AddParameterOrLocalFix.java:132) at org.netbeans.modules.java.hints.errors.AddParameterOrLocalFix$1.run(AddParameterOrLocalFix.java:119) at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:916) at org.netbeans.modules.java.hints.errors.AddParameterOrLocalFix.implement(AddParameterOrLocalFix.java:118) at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:551) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
Created attachment 66910 [details] stacktrace
Do you have any example source of better steps to reproduce, please, Jirko? Thanks.
the code should look like this: public class Main { public void method() { a = 3; b = 3; } } Steps to reproduce: 1) use hint Create local variable for the first line 2) go quickly to second line and use the same hint (~0.5s)
Thanks Jirko, I must have been to slow. Unfortunately, a lot of work has to be done in order to repair this. I'm lowering this to P4, since special effort is necessary to archive this.
ok, I agree with downgrading to P4, it's not so common scenario and if there are no others hidden problems
Fixed, could you please verify, Jirko? --- http://hg.netbeans.org/main/rev/2f27706ce2a7
Integrated into 'main-golden', available in build *200808141419* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/2f27706ce2a7 User: Max Sauer <msauer@netbeans.org> Log: #143318: AssertionError at org.netbeans.modules.java.hints.errors.AddParameterOrLocalFix$1.run