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 196611 - AssertionError: matchOffset=2765 > docViewEndOffset=2761
Summary: AssertionError: matchOffset=2765 > docViewEndOffset=2761
Status: RESOLVED DUPLICATE of bug 198719
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 21:21 UTC by azizur
Modified: 2011-05-19 12:25 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177041


Attachments
stacktrace (4.34 KB, text/plain)
2011-03-11 21:21 UTC, azizur
Details
stacktrace (5.22 KB, text/plain)
2011-03-17 15:13 UTC, alied
Details
stacktrace (6.52 KB, text/plain)
2011-03-17 15:16 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description azizur 2011-03-11 21:21:32 UTC
Build: NetBeans IDE Dev (Build 2011-03-09_15-05-02 )
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
GUEST: Creating a code fold containing multiple code folds.




Stacktrace: 
java.lang.AssertionError: matchOffset=2765 > docViewEndOffset=2761
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:267)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:173)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.insertUpdate(ViewUpdates.java:367)
   at sun.reflect.GeneratedMethodAccessor61.invoke(GeneratedMethodAccessor61.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:0)
   at java.lang.reflect.Method.invoke(Method.java:0)
Comment 1 azizur 2011-03-11 21:21:35 UTC
Created attachment 106921 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-03-16 08:07:06 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=177041
Comment 3 alied 2011-03-17 15:13:04 UTC
Created attachment 107079 [details]
stacktrace

-insert a checkBox
-change the name
-set enabled to false
-click yo invoke the custom editor in selected (wanted to set selected via custom code)
-exception
Comment 4 alied 2011-03-17 15:16:03 UTC
Created attachment 107084 [details]
stacktrace

after previous errors, tried to save
Comment 5 alied 2011-03-17 15:22:20 UTC
Besides, in the source view, there is a initComponents() for every time the exception raises.
Should be at least P2.
Comment 6 Miloslav Metelka 2011-05-19 12:25:46 UTC

*** This bug has been marked as a duplicate of bug 198719 ***