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.
I was changing the variable name in the "fore" code completion template on nightly build 200706180000, and the IDE threw a com.sun.tools.javac.util.CancelAbort at me. messages.log is attached.
Created attachment 44090 [details] messages.log
After trying to continue to go about my business after this, the IDE keeps firing java.lang.AssertionError messages at me.
Created attachment 44091 [details] the proper messages.log file. The other is not the right file.
Uploaded the wrong log the first time. messages.log is correct, messages.log.2 is not.
Can you provide a fragment of your code and exact description how you changed the variable name? Thanks
I think, specifically, the problem occurs when changing the the variable name of the object that you're iterating over. This issue also occurs with the fori template. Example private LinkedHashSet<String> newAvailable(DefaultMutableTreeNode selected) { fori } expands to (actions is an instance variable String array): private LinkedHashSet<String> newAvailable(DefaultMutableTreeNode selected) { for (int i = 0; i < actions.length; i++) { String string = actions[i]; } } I hit tab to accept that i is my counter, and now actions is highlighted so I can change it. I try to start typing to change it to selected.getChildNodes(), and when I do that, it throws the errors, and the editor goes to heck.
Created attachment 44481 [details] log for fori crash
Should have said "selected.getChildCount()" in my previous message.
Duplicate of fixed issue #109383 *** This issue has been marked as a duplicate of 109383 ***