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 Dev (Build 201308141142) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b53, Java(TM) SE Runtime Environment, 1.7.0_40-ea-b34 OS: Mac OS X User Comments: athompson: renamed field (including getters/setters) GUEST: Renaming a private property in Java class with renaming getters and setters and comments rweaver: Refactoring a field rudyment: When wrongly named file renamed to the name of the included public class Stacktrace: java.lang.IllegalArgumentException: len=-4 < 0 at org.netbeans.editor.BaseDocument.handleRemove(BaseDocument.java:950) at org.netbeans.editor.BaseDocument$FilterBypassImpl.remove(BaseDocument.java:2493) at javax.swing.text.DocumentFilter.remove(DocumentFilter.java:79) at org.openide.text.CloneableEditorSupport$DocFilter.remove(CloneableEditorSupport.java:3119) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:936) at org.netbeans.api.java.source.ModificationResult.processDocumentLocked(ModificationResult.java:436)
Created attachment 138796 [details] stacktrace
Created attachment 138899 [details] stacktrace Refactoring - rename of class variable; rename comments and getters, setters both selected
Created attachment 138900 [details] stacktrace Refactoring - rename of class variable; rename comments and getters, setters both selected
Created attachment 138901 [details] stacktrace Refactoring - rename of class variable; rename comments and getters, setters both selected
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=201141
Created attachment 139050 [details] stacktrace Call Refactor -> Rename -> Getter/setter + Comments
Created attachment 139195 [details] stacktrace Refactoring code... trying to rename a variable
changeset : 08160de12cfe author : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date : Mon Aug 26 09:21:54 CEST 2013 summary : #234505 - IllegalArgumentException: len=-4 < 0
yup