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 231382 - [jdk8] IllegalArgumentException: offset out of bounds
Summary: [jdk8] IllegalArgumentException: offset out of bounds
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: JDK_8
: 231384 231469 231863 232365 233398 253416 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-17 16:41 UTC by drazisil
Modified: 2015-07-17 09:22 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201493


Attachments
stacktrace (4.57 KB, text/plain)
2013-06-17 16:41 UTC, drazisil
Details
Offending file (435 bytes, text/plain)
2013-06-17 16:50 UTC, drazisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description drazisil 2013-06-17 16:41:02 UTC
Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: Java HotSpot(TM) Client VM, 25.0-b34, Java(TM) SE Runtime Environment, 1.8.0-ea-b93
OS: Windows 7

User Comments:
drazisil: Entered a <. Was trying to create a <th> inside a <thead> in a smarty templete.

Product Version: NetBeans IDE 7.3.1 (Build 201306052037)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b34
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b93




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 drazisil 2013-06-17 16:41:03 UTC
Created attachment 135910 [details]
stacktrace
Comment 2 drazisil 2013-06-17 16:50:57 UTC
Created attachment 135913 [details]
Offending file

Steps to reproduce:

1: Be running JDK8 (not sure if relevent)
2: Open attachment
3: Type < anywhere on line 12
4: Select a tag
5: Exception occurs.
Comment 3 Marian Mirilovic 2013-06-17 19:59:21 UTC
*** Bug 231384 has been marked as a duplicate of this bug. ***
Comment 4 Martin Fousek 2013-06-18 07:25:20 UTC
Nothing NetBeans specific, it looks like JDK8 issue. Both reporters have the same JDK: 1.8.0-ea-b93. Reporters please try out never version of the JDK. These reports should be reported against the oracle JVM:
http://bugreport.sun.com/bugreport/
Comment 5 drazisil 2013-06-18 14:20:00 UTC
1.8.0-ea-b93 currently is the latest JDK for 8. in addition, not being a java programmer, I don't know how to explain a java bug as I do not have the matching source code requested. As netbeans developers, can you please file the bug?
Comment 6 Martin Fousek 2013-06-18 15:20:24 UTC
(In reply to comment #5)
> 1.8.0-ea-b93 currently is the latest JDK for 8. in addition, not being a java
> programmer, I don't know how to explain a java bug as I do not have the
> matching source code requested. As netbeans developers, can you please file the
> bug?

Ok, entered... Bug ID: 9004141.

On the other hand I don't have any specific information except the reported one in this issue. But I agree that it's easier to enter the issue for me than for you.
Comment 7 drazisil 2013-06-18 15:24:31 UTC
I appreciate it. :)
Comment 8 Marian Mirilovic 2013-06-20 10:46:31 UTC
*** Bug 231469 has been marked as a duplicate of this bug. ***
Comment 9 Marian Mirilovic 2013-06-27 11:41:11 UTC
*** Bug 231863 has been marked as a duplicate of this bug. ***
Comment 10 Milutin Kristofic 2013-07-11 09:13:45 UTC
*** Bug 232365 has been marked as a duplicate of this bug. ***
Comment 11 Milutin Kristofic 2013-07-11 09:21:07 UTC
I cannot find bug 9004141 in http://bugs.sun.com/home.do Is it valid number?
Comment 12 Martin Fousek 2013-07-11 10:00:23 UTC
I'm not able to find the bug neither, :/ but I double checked that in my email, see the confirmation. Is it still happen in newer JDK versions?

"Your Report (Bug ID: 9004141 ) - java.lang.IllegalArgumentException: offset out of bounds from RuleBasedBreakIter"

We have determined that this report is a new bug and have entered the bug into our bug tracking system under Bug Id: 9004141. You can look for related issues on the Java Bug Database at http://bugs.sun.com.
Comment 13 Marian Mirilovic 2013-07-25 10:17:48 UTC
*** Bug 233398 has been marked as a duplicate of this bug. ***
Comment 14 Antonin Nebuzelsky 2015-07-17 09:22:52 UTC
*** Bug 253416 has been marked as a duplicate of this bug. ***