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 200909210201) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.30.5-43.fc11.x86_64, i386 User comments: Declaring a static commons logger in an abstract class Stacktrace: javax.swing.text.BadLocationException: Invalid offset=511 not within <0, 510> at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1388) at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1383) at org.netbeans.editor.Utilities.getRowStart(Utilities.java:155) at org.netbeans.editor.Utilities.getRowStart(Utilities.java:138) at org.netbeans.editor.CodeFoldingSideBar.traverseForward(CodeFoldingSideBar.java:332) at org.netbeans.editor.CodeFoldingSideBar.getPaintInfo(CodeFoldingSideBar.java:299) at org.netbeans.editor.CodeFoldingSideBar.paintComponent(CodeFoldingSideBar.java:518) at javax.swing.JComponent.paint(JComponent.java:1029) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:864)
This issue already has 52 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=159066
So far no known steps to reproduce. I will add some logging to investigate.
http://hg.netbeans.org/jet-main/rev/444246a4adb7
Integrated into 'main-golden', will be available in build *200910070250* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/444246a4adb7 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #172978 - javax.swing.text.BadLocationException: Invalid offset=511 not within <0, 510> - missing readlock in CodeFoldingSideBar.
Created attachment 97850 [details] stacktrace