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.
This bug was originally marked as duplicate of bug 186474, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201102100500) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261 OS: Mac OS X User Comments: adben: Remainding errors in java editor, version 201102080000 fails when ";" was missing, now the editor shows the same behavior during the Stacktrace: javax.swing.text.BadLocationException: Invalid offset=797, docLen=719 at org.netbeans.modules.editor.lib2.view.EditorView.checkBounds(EditorView.java:539) at org.netbeans.modules.editor.lib2.view.EditorView.modelToView(EditorView.java:250) at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1498) at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1036) at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1011) at javax.swing.text.JTextComponent.modelToView(JTextComponent.java:1400)
Created attachment 105892 [details] stacktrace
Looks like the view's end offset goes beyond the document's text length (requested by DiffSideBar). However the Build 201102100500 was unstable due to missing changes from issue 191620 so I tend to close this as dup of that issue. If you would reproduce the problem on a recent beta 2 build or a build that will contain full changes from 191620 then please reopen this issue. Excerpt from 191620: Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) *** This bug has been marked as a duplicate of bug 191620 ***