Project

General

Profile

Actions

Bug #5301

closed

clicking on Image item Scale Property Value sometimes gives ArrayIndexOutOfBoundException

Added by Derik Barseghian almost 14 years ago. Updated almost 14 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.

Actions #1

Updated by Derik Barseghian almost 14 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.

Actions #2

Updated by Derik Barseghian almost 14 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.

Actions #3

Updated by Redmine Admin almost 12 years ago

Original Bugzilla ID was 5301

Actions

Also available in: Atom PDF