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 - ArrayIndexOutOfBoundsException: 417
Summary: ArrayIndexOutOfBoundsException: 417
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 14:34 UTC by Alexander Simon
Modified: 2015-10-01 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207034


Attachments
stacktrace (3.57 KB, text/plain)
2014-01-28 14:34 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
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
OS: SunOS

User Comments:
alexvsimon: view string value in debuger




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 417
   at java.text.RuleBasedBreakIterator.lookupBackwardState(RuleBasedBreakIterator.java:1044)
   at java.text.RuleBasedBreakIterator.handlePrevious(RuleBasedBreakIterator.java:995)
   at java.text.RuleBasedBreakIterator.previous(RuleBasedBreakIterator.java:646)
   at java.text.RuleBasedBreakIterator.preceding(RuleBasedBreakIterator.java:811)
   at javax.swing.text.GlyphView.getBreakSpot(GlyphView.java:799)
   at javax.swing.text.GlyphView.getBreakWeight(GlyphView.java:723)
Comment 1 Alexander Simon 2014-01-28 14:34:26 UTC
Created attachment 144472 [details]
stacktrace
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.