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 7.0 M2 (Build 201010151251) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows XP User Comments: gtg: Paste "import static foo.Foo.*" and then try to delete it. krissco: I selected a block of comments from the editor (java file) and pressed Delete on my keyboard. Stacktrace: java.lang.AssertionError: paragraphViewStartOffset=1111 > startOffset=772 at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:160) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:131) at org.netbeans.modules.editor.lib2.view.ViewUpdates.removeUpdate(ViewUpdates.java:453) at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.removeUpdate(PriorityDocumentListenerList.java:102) at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:243) at org.netbeans.editor.BaseDocument.fireRemoveUpdate(BaseDocument.java:1653)
Created attachment 102534 [details] stacktrace
Created attachment 102584 [details] stacktrace Just selected five lines of Java code (middle of the file, cursor at the beginning of the line) and pressed Delete.
This should no longer happen after integration of issue #183219. Please use a recent dev build. *** This bug has been marked as a duplicate of bug 189625 ***