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 232365 - IllegalArgumentException: offset out of bounds
Summary: IllegalArgumentException: offset out of bounds
Status: RESOLVED DUPLICATE of bug 231382
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: JDK_8
Depends on:
Blocks:
 
Reported: 2013-07-08 08:23 UTC by Jiri Prox
Modified: 2013-07-11 09:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201970


Attachments
stacktrace (4.39 KB, text/plain)
2013-07-08 08:23 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-07-08 08:23:52 UTC
Build: NetBeans IDE Dev (Build 201307072319)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b36, Java(TM) SE Runtime Environment, 1.8.0-ea-b94
OS: Windows 7

User Comments:
jiriprox: IAE when browsing in code completion.
The text before the CC was called was "File."




Stacktrace: 
java.lang.IllegalArgumentException: offset out of bounds
   at sun.util.locale.provider.RuleBasedBreakIterator.checkOffset(RuleBasedBreakIterator.java:759)
   at sun.util.locale.provider.RuleBasedBreakIterator.preceding(RuleBasedBreakIterator.java:819)
   at javax.swing.text.GlyphView.getBreakSpot(GlyphView.java:799)
   at javax.swing.text.GlyphView.getBreakWeight(GlyphView.java:724)
   at javax.swing.text.html.InlineView.getBreakWeight(InlineView.java:150)
   at javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:733)
Comment 1 Jiri Prox 2013-07-08 08:23:54 UTC
Created attachment 136809 [details]
stacktrace
Comment 2 Jiri Prox 2013-07-08 08:27:34 UTC
It happens for every static method.
Steps to reproduce:
1) type "System."
2) call code completion 
3) browse the code completion list


It seems to be JDK specific, it does not happen with jdk7
Comment 3 Milutin Kristofic 2013-07-11 09:13:45 UTC

*** This bug has been marked as a duplicate of bug 231382 ***