created an attachment (id=167098)
report design

description:
exception is thrown out when delete property in user properties tab and go to advanced tab.

build number:
2.6.0.v20100505-0630

steps to reproduce:
1. open the attached report design, select the chart, go to property editor->user properties.
2. delete the first property, and go to property editor->advanced.

expected result:
no exception.

actual result:
exception is thrown out.
error log:
org.eclipse.swt.swtexception: failed to execute runnable (java.lang.illegalargumentexception: index out of bounds)
at org.eclipse.swt.swt.error(swt.java:4083)
at org.eclipse.swt.swt.error(swt.java:3998)
at org.eclipse.swt.widgets.synchronizer.runasyncmessages(synchronizer.java:137)
at org.eclipse.swt.widgets.display.runasyncmessages(display.java:4041)
at org.eclipse.swt.widgets.display.readanddispatch(display.java:3660)
at org.eclipse.ui.internal.workbench.runeventloop(workbench.java:2601)
at org.eclipse.ui.internal.workbench.runui(workbench.java:2565)
at org.eclipse.ui.internal.workbench.access$4(workbench.java:2399)
at org.eclipse.ui.internal.workbench$7.run(workbench.java:669)
at org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332)
at org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:662)
at org.eclipse.ui.platformui.createandrunworkbench(platformui.java:149)
at org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:115)
at org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79)
at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:369)
at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:179)
at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at org.eclipse.equinox.launcher.main.invokeframework(main.java:619)
at org.eclipse.equinox.launcher.main.basicrun(main.java:574)
at org.eclipse.equinox.launcher.main.run(main.java:1407)
caused by: java.lang.illegalargumentexception: index out of bounds
at org.eclipse.swt.swt.error(swt.java:4064)
at org.eclipse.swt.swt.error(swt.java:3998)
at org.eclipse.swt.swt.error(swt.java:3969)
at org.eclipse.swt.widgets.widget.error(widget.java:467)
at org.eclipse.swt.widgets.treeitem.getitem(treeitem.java:744)
at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.advancepropertydescriptor.restoreexpandedmemento(advancepropertydescriptor.java:658)
at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.advancepropertydescriptor.expandtreefrommemento(advancepropertydescriptor.java:612)
at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.advancepropertydescriptor.access$8(advancepropertydescriptor.java:605)
at org.eclipse.birt.report.designer.internal.ui.views.attributes.widget.advancepropertydescriptor$7.run(advancepropertydescriptor.java:762)
at org.eclipse.swt.widgets.runnablelock.run(runnablelock.java:35)
at org.eclipse.swt.widgets.synchronizer.runasyncmessages(synchronizer.java:134)
... 22 more
fixed it.

check if the index in the memory list is bounded.
verified in build (2.6.0.v20100512-0630), closed.