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 201203280401) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04 OS: Linux User Comments: pragalathan: Trying to rename an implemented method Stacktrace: org.netbeans.editor.GuardedException: Modification prohibited at org.netbeans.editor.BaseDocument.checkModifiable(BaseDocument.java:1003) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:891) at org.netbeans.api.java.source.ModificationResult.processDocumentLocked(ModificationResult.java:406) at org.netbeans.api.java.source.ModificationResult.access$100(ModificationResult.java:95) at org.netbeans.api.java.source.ModificationResult$3.run(ModificationResult.java:371) at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:347)
Created attachment 117644 [details] stacktrace
GuardedExceptions should be properly handled in JavaModificationResult. See e.g. org.netbeans.modules.java.editor.codegen.GeneratorUtils.guardedCommit(...) and its usages.
Please provide steps to reproduce