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 - IndexOutOfBoundsException: index=0 >= size=0, HL:<11140,11140>, Items#0
Summary: IndexOutOfBoundsException: index=0 >= size=0, HL:<11140,11140>, Items#0
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-17 00:40 UTC by ebakke
Modified: 2016-09-17 00:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226271


Attachments
stacktrace (6.33 KB, text/plain)
2016-09-17 00:40 UTC, ebakke
Details

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




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

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