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.

Bug 234904 - javax.swing.text.BadLocationException: Modification not allowed
Summary: javax.swing.text.BadLocationException: Modification not allowed
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 233816 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-23 18:37 UTC by rodrigorsantos
Modified: 2013-08-27 13:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203170


Attachments
stacktrace (3.86 KB, text/plain)
2013-08-23 18:37 UTC, rodrigorsantos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rodrigorsantos 2013-08-23 18:37:22 UTC
Build: NetBeans IDE Dev (Build 20130823-7861a967d96f)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
rodrigorsantos: <Please provide a description of the problem or the steps to reproduce>

zdenek.rod: I try to update file but ide don't allow to me this modification.

zdenek.rod: I try to comment some line in xsl, but file was locked.




Stacktrace: 
javax.swing.text.BadLocationException: Modification not allowed
   at org.openide.text.CloneableEditorSupport$DocFilter.modificationNotAllowed(CloneableEditorSupport.java:2336)
   at org.openide.text.CloneableEditorSupport$DocFilter.checkModificationAllowed(CloneableEditorSupport.java:2330)
   at org.openide.text.CloneableEditorSupport$DocFilter.insertString(CloneableEditorSupport.java:2269)
   at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:754)
   at org.netbeans.modules.csl.api.ToggleBlockCommentAction.insert(ToggleBlockCommentAction.java:421)
   at org.netbeans.modules.csl.api.ToggleBlockCommentAction.comment(ToggleBlockCommentAction.java:338)
Comment 1 rodrigorsantos 2013-08-23 18:37:24 UTC
Created attachment 139152 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-08-27 13:03:39 UTC
http://hg.netbeans.org/jet-main/rev/0b3c064124ab
Comment 3 Milutin Kristofic 2013-08-27 13:05:54 UTC
*** Bug 233816 has been marked as a duplicate of this bug. ***