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 174687, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows 7 User Comments: lgs: What the, the Report Problem window itself is bugged, yet it is very minor one. To reproduce: Fill up the first line with text, and let line wrap to second line, and put a space at the end of the first line. Then, I (accidentally, again...) click the left mouse button at the end of the first line. The error will sometimes show up. (You may need to click the mouse button multiple times to get the error) Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 136 at sun.font.FontDesignMetrics.charsWidth(FontDesignMetrics.java:492) at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:381) at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:302) at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:286) at javax.swing.text.WrappedPlainView$WrappedLine.viewToModel(WrappedPlainView.java:697) at javax.swing.text.CompositeView.viewToModel(CompositeView.java:408)
Created attachment 106709 [details] stacktrace
Please use newer JDk build and see http://bugs.sun.com/view_bug.do?bug_id=6857057
Fixed in JDK6u18