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 256010

Summary: IndexOutOfBoundsException: start=-536865336 < 0
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: luislobo
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220616
Attachments: stacktrace

Description Exceptions Reporter 2015-10-19 07:12:45 UTC
This bug was originally marked as duplicate of bug 238718, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
GUEST: <???????????????>1




Stacktrace: 
java.lang.IndexOutOfBoundsException: start=-536865336 < 0
   at org.netbeans.lib.editor.util.CharSequenceUtilities.checkIndexesValid(CharSequenceUtilities.java:529)
   at org.netbeans.modules.editor.lib2.document.CharContent.subSequence(CharContent.java:95)
   at org.netbeans.lib.editor.util.swing.DocumentUtilities.getText(DocumentUtilities.java:336)
   at org.netbeans.modules.editor.url.HyperlinkImpl.getHyperlinkSpan(HyperlinkImpl.java:103)
   at org.netbeans.modules.editor.url.HyperlinkImpl.isHyperlinkPoint(HyperlinkImpl.java:90)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.findProvider(HyperlinkOperation.java:291)
Comment 1 Exceptions Reporter 2015-10-19 07:12:47 UTC
Created attachment 156792 [details]
stacktrace