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 191825 - AssertionError: paragraphViewStartOffset=106 > startOffset=79
Summary: AssertionError: paragraphViewStartOffset=106 > startOffset=79
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-11-11 01:44 UTC by davido
Modified: 2010-11-11 09:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172797


Attachments
stacktrace (3.05 KB, text/plain)
2010-11-11 01:44 UTC, davido
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davido 2010-11-11 01:44:20 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows 7

User Comments:
GUEST: formating the code trough menu Source->Format

GUEST: trying to sourround some code with //<editor-fold> by using right-klick

GUEST: marked a block of code and wanted to delete it

GUEST: Cutting collapsed code




Stacktrace: 
java.lang.AssertionError: paragraphViewStartOffset=106 > startOffset=79
   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.insertUpdate(ViewUpdates.java:314)
   at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:82)
   at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:0)
   at org.netbeans.editor.BaseDocument.fireInsertUpdate(BaseDocument.java:1650)
Comment 1 davido 2010-11-11 01:44:25 UTC
Created attachment 102897 [details]
stacktrace
Comment 2 Miloslav Metelka 2010-11-11 09:45:08 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 ***