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.
This bug was originally marked as duplicate of bug 234904, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20130920-436c1fa3141a) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15 OS: Linux User Comments: janario: Trying to open a file with drag and drop Stacktrace: javax.swing.text.BadLocationException: Modification not allowed at org.openide.text.CloneableEditorSupport$DocFilter.modificationNotAllowed(CloneableEditorSupport.java:2376) at org.openide.text.CloneableEditorSupport$DocFilter.checkModificationAllowed(CloneableEditorSupport.java:2370) at org.openide.text.CloneableEditorSupport$DocFilter.insertString(CloneableEditorSupport.java:2306) at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:755) at org.netbeans.modules.html.editor.HtmlExternalDropHandler$2.run(HtmlExternalDropHandler.java:287) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:321)
Created attachment 140324 [details] stacktrace
HtmlExternalDropHandler should catch BLE exception - since there is no way to find if document can be modified.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=204041
Created attachment 144458 [details] stacktrace I have had a problem with the bug described here https://netbeans.org/bugzilla/show_bug.cgi?id=239713. So I closed dialog "Lengthy operation in progress". After it I try to switch to another window and try to write some code. Dialog "Lengthy operation in progress" appears and there was information "Locking (filename)".
changeset: 276003:ff50c466e84a summary: #236209 - javax.swing.text.BadLocationException: Modification not allowed
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ff50c466e84a User: Marek Fukala <mfukala@netbeans.org> Log: #236209 - javax.swing.text.BadLocationException: Modification not allowed