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 268073

Summary: IndexOutOfBoundsException: index=0 >= size=0, HL:<11140,11140>, Items#0
Product: editor Reporter: ebakke
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226271
Attachments: stacktrace

Description ebakke 2016-09-17 00:40:09 UTC
This bug was originally marked as duplicate of bug 201218, 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.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Mac OS X

User Comments:
ebakke: Editing Java file. Or this might have happened when I accidentally hit Print Preview.

java.lang.IndexOutOfBoundsException: index=0 >= size=0, HL:<11140,11140>, Items#0

   at org.netbeans.modules.editor.lib2.highlighting.HighlightsList.get(
   at org.netbeans.modules.editor.lib2.view.ViewPaintHighlights.updatePH(
   at org.netbeans.modules.editor.lib2.view.ViewPaintHighlights.<init>(
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.paint(
   at org.netbeans.modules.editor.lib2.view.DocumentView.paint(
   at org.netbeans.modules.editor.lib2.view.EditorView.paint(
Comment 1 ebakke 2016-09-17 00:40:11 UTC
Created attachment 162090 [details]