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 242018 - ArrayIndexOutOfBoundsException: -1
Summary: ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Codecoverage (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Schovanek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2014-02-17 16:07 UTC by IrianR
Modified: 2014-09-11 08:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206303


Attachments
stacktrace (3.84 KB, text/plain)
2014-02-17 16:07 UTC, IrianR
Details
Test project to reproduce the problem (3.57 KB, application/x-zip-compressed)
2014-02-17 16:19 UTC, IrianR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description IrianR 2014-02-17 16:07:46 UTC
Build: NetBeans IDE Dev (Build 201402150001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
IrianR: Resizing a column in the Maven based Code Coverage Report.

GUEST: Tried to resize a column in the Code Coverage Report.




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.Vector.elementData(Vector.java:730)
   at java.util.Vector.elementAt(Vector.java:473)
   at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:294)
   at javax.swing.JTable.getCellRenderer(JTable.java:5684)
   at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2113)
   at javax.swing.plaf.basic.BasicTableUI.paintDraggedArea(BasicTableUI.java:2089)
Comment 1 IrianR 2014-02-17 16:07:48 UTC
Created attachment 145316 [details]
stacktrace
Comment 2 IrianR 2014-02-17 16:19:33 UTC
Created attachment 145318 [details]
Test project to reproduce the problem

Using this test project you can reproduce the problem by selecting

 Code Coverage -> Show Report

from the project right click menu and then trying to resize the first column in the report window that appears.
Comment 3 Stanislav Aubrecht 2014-02-17 16:22:33 UTC
Not sure who owns code coverage report, please feel free to reassign, thanks.
Comment 4 IrianR 2014-09-11 08:44:18 UTC
I can no longer reproduce this bug in 8.0.1 I guess it has been fixed while other code coverage features were added.