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 Dev (Build 100810-eda856ae0117) VM: Java HotSpot(TM) Client VM, 1.6.0_05-ea-b04, Java(TM) SE Runtime Environment, 1.6.0_05-ea-b04 OS: Linux User Comments: jlahoda: Deleting a block of code. Stacktrace: java.lang.AssertionError: paragraphViewStartOffset=17866 > startOffset=16086 at org.netbeans.modules.editor.lib2.view.ViewBuilder.<init>(ViewBuilder.java:160) at org.netbeans.modules.editor.lib2.view.ViewUpdates.removeUpdate(ViewUpdates.java:452) 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:1664) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:959)
Created attachment 101480 [details] stacktrace
This should no longer happen after integration of issue #183219. Please use a recent dev build.
*** Bug 191193 has been marked as a duplicate of this bug. ***
*** Bug 191825 has been marked as a duplicate of this bug. ***
Milo, take a look at report [1] 437746. I am facing this with today's build. I will reopen it for evaluation. [1] http://statistics.netbeans.org/exceptions/detail.do?id=172007
Michel, do you have any steps to reproduce? Thanks.
Unfortunately not. If I am not wrong, I was reloading a Matisse form but is not easily reproduceable. Even when it happened I was unable to reproduce it with the same steps, probably it depends some factors I just can't reproduce exactly, sorry.
Created attachment 103510 [details] stacktrace
Created attachment 103512 [details] stacktrace
Created attachment 103541 [details] stacktrace
Created attachment 103596 [details] stacktrace
Created attachment 104129 [details] stacktrace Deleting xml nodes from spring configuration file
Created attachment 104306 [details] stacktrace Modifying the Model property of a JTable control I added a JPanel. I added 2 columns & 0 rows on the Table settings. I added 10 rows columns on the default values tab. I closed the wizard. I tried to modify the model property once again, the exception was throw.
This bug already has 250 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=172007
Created attachment 104384 [details] stacktrace Designing a JFrame GUI. - I added a new JLabel from the Palette to the JFrame. - I adjusted the position of the JLabel. (the layout fo the JFrame was "Free Design". - I set the Text property & the variable name for JLabel. - I added a value an "itemStateChanged" event for the JLabel, & this Exception was generated.
Created attachment 104813 [details] stacktrace Deleting code
Although I'm not able to reproduce both on Linux and MacOSX I have attempted to fix the problem. I have also added more diagnostics to possibly better determine the errorneous conditions. http://hg.netbeans.org/jet-main/rev/cdef95334d84
Integrated into 'main-golden', will be available in build *201101130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cdef95334d84 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #189625 - AssertionError: paragraphViewStartOffset=17866 > startOffset=16086.
I am afraid the issue is still there and once triggered renders the IDE unusable - hence the P1. It is happening on the latest 7.0 dev build of 20110123 during routine Java file editing.
On latest builds there's another assert hit (likely due to fixing issue #194525). I've annotated it with a detailed info of the document view to get detailed info of the problematic situation. I've also added random testing with caret highlight layer turned off which should better test local view rebuilds but I'm still unable to reproduce the problem with the tests or manually :( http://hg.netbeans.org/jet-main/rev/6a22dff149b8
P2 since this is a random problem.
Integrated into 'main-golden', will be available in build *201101270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6a22dff149b8 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #189625 - AssertionError: paragraphViewStartOffset=17866 > startOffset=16086 - better exception's info and more testing added.
Integrated into 'main-golden', will be available in build *201101271430* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6a22dff149b8 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #189625 - AssertionError: paragraphViewStartOffset=17866 > startOffset=16086 - better exception's info and more testing added.
Since the issue stopped occurring (there is no 1102* build where the issue would appear) I mark it as fixed. If the issue would reappear please reopen.