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 241065

Summary: ArrayIndexOutOfBoundsException: 417
Product: platform Reporter: Alexander Simon <alexvsimon>
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207034
Attachments: stacktrace

Description Alexander Simon 2014-01-28 14:34:24 UTC
Build: NetBeans IDE Dev (Build 20140127-34582bb38807)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18

User Comments:
alexvsimon: view string value in debuger

java.lang.ArrayIndexOutOfBoundsException: 417
   at java.text.RuleBasedBreakIterator.lookupBackwardState(
   at java.text.RuleBasedBreakIterator.handlePrevious(
   at java.text.RuleBasedBreakIterator.previous(
   at java.text.RuleBasedBreakIterator.preceding(
   at javax.swing.text.GlyphView.getBreakSpot(
   at javax.swing.text.GlyphView.getBreakWeight(
Comment 1 Alexander Simon 2014-01-28 14:34:26 UTC
Created attachment 144472 [details]
Comment 2 Martin Entlicher 2014-02-05 15:59:23 UTC
This does not seem to have anything to do with debugger - there is nothing from the debugger on the stack trace.

But an issues like this can be a result of accessing AWT/Swing code outside of AWT event queue. Unfortunately, the exceptions reported come from the event queue only, therefore if there is some code called outside of event queue, we do not see it.

It'd be best if you can provide steps to reproduce.
Comment 3 Alexander Simon 2014-02-05 16:35:31 UTC
see steps in bug db CR_16574208
Comment 4 Alexander Simon 2014-02-17 07:19:40 UTC
It's JDK problem.
To reproduce the issue insert string from CR_16574208 in any text field.
Comment 5 Vladimir Kvashin 2014-07-14 12:06:28 UTC
Is there a related JDK bug? Or any other way to understand whether it is fixed and when is it planned to fix? I'm asking because we need to set correspondent field in BugDB.
Comment 6 Alexander Simon 2015-10-01 09:43:16 UTC
Please, update target milestone.
We need update status of related CR,
Now according status of the issue, it must be fixed in Netbeans 8.1.