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 191193 - AssertionError: paragraphViewStartOffset=1111 > startOffset=772
Summary: AssertionError: paragraphViewStartOffset=1111 > startOffset=772
Status: RESOLVED DUPLICATE of bug 189625
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 20:45 UTC by krissco
Modified: 2010-11-11 09:44 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172416


Attachments
stacktrace (2.98 KB, text/plain)
2010-10-20 20:45 UTC, krissco
Details
stacktrace (2.98 KB, text/plain)
2010-10-22 21:35 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description krissco 2010-10-20 20:45:23 UTC
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)
Comment 1 krissco 2010-10-20 20:45:31 UTC
Created attachment 102534 [details]
stacktrace
Comment 2 Marian Petras 2010-10-22 21:35:28 UTC
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.
Comment 3 Miloslav Metelka 2010-11-11 09:44:35 UTC
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 ***