org.netbeans.editor.GuardedException: Attempt to remove from guarded block at position 9.843. at org.netbeans.editor.GuardedDocument.preRemoveCheck(GuardedDocument.java:287) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:891) at org.netbeans.api.java.source.ModificationResult.processDocumentLocked(ModificationResult.java:375) at org.netbeans.api.java.source.ModificationResult.access$100(ModificationResult.java:85) at org.netbeans.api.java.source.ModificationResult$3.run(ModificationResult.java:344) at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:354) at org.openide.text.NbDocument.runAtomicAsUser(NbDocument.java:410) Caused: java.io.IOException at org.netbeans.api.java.source.ModificationResult.processDocument(ModificationResult.java:360) at org.netbeans.api.java.source.ModificationResult.commit2(ModificationResult.java:329) at org.netbeans.api.java.source.ModificationResult.access$000(ModificationResult.java:85) at org.netbeans.api.java.source.ModificationResult$2.run(ModificationResult.java:234) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:324) at org.openide.text.NbDocument.runAtomic(NbDocument.java:384) at org.netbeans.api.java.source.ModificationResult.commit(ModificationResult.java:231) at org.netbeans.api.java.source.ModificationResult.commit(ModificationResult.java:194) at org.netbeans.modules.java.hints.introduce.IntroduceHint$IntroduceMethodFix.implement(IntroduceHint.java:1666) at org.netbeans.modules.java.hints.introduce.IntroduceAction.doPerformAction(IntroduceAction.java:123) at org.netbeans.modules.java.hints.introduce.IntroduceAction.perform(IntroduceAction.java:98) at org.netbeans.modules.java.hints.infrastructure.HintAction.doPerform(HintAction.java:99) at org.netbeans.modules.java.hints.infrastructure.HintAction.actionPerformed(HintAction.java:73) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)