| Summary: | Exception is thrown out when delete property in User Properties tab and go to Advanced tab | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Xiaodan Wang <xwang> | ||||
| Component: | BIRT | Assignee: | Chen Chao <cchen> | ||||
| Status: | CLOSED FIXED | QA Contact: | Xiaodan Wang <xwang> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | zqian | ||||
| Version: | 2.6.0 | ||||||
| Target Milestone: | 2.6.0 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | Non-Auto | ||||||
| Attachments: |
|
||||||
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. |
Created attachment 167098 [details] 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.