Project

General

Profile

Bug #5301

clicking on Image item Scale Property Value sometimes gives ArrayIndexOutOfBoundException

Added by Derik Barseghian over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
reporting
Target version:
Start date:
02/09/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5301

Description

Clicking on Image item Scale Property Value sometimes gives ArrayIndexOutOfBoundException, seems to happen after changing the scale of another report item.

History

#1 Updated by Derik Barseghian over 8 years ago

Ok, I've finally figured out a way to reliably replicate this bug. This bug can occur for any report design item with fewer settable Properties than the max number of settable Properties for any report design item (currently 3). So Image, which has 1, and HR, which has 2, can be affected. To replicate, drag out an Image or HR to your report design, and also drag out a report item that has 3 settable properties, like Section. When Section is selected, click in the Value area for the 3rd settable property to put the cell into editor mode, and then leaving that cell in editor mode, select your Image or HR item, and then click in the value area to try to change a property. The cell won't switch to editor mode and the ArrayIndexOutOfBoundsException will occur.

#2 Updated by Derik Barseghian over 8 years ago

fixed at r27113. just don't attempt to access index that's out of bounds. This works fine, but I've included a note in PropertiesPanel.java re: a better fix.

#3 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 5301

Also available in: Atom PDF