Project: Birt
Bug 258382 Exception thrown out when selecting binding from Value(Y)Series in ChartView of table
Reported: 2008-12-10 20:06:22 | Status: closed fixed

Description: Exception thrown out when selecting column from Value(Y)Series in ChartView of table Build number: 2.5.0.v20081211-0630 Steps to reproduce: 1, New a table binding to a dataset 2, Create Chart View on the table 3, Select binding in Value(Y)Series Expected result: After step3, No exception thrown out when selecting column Actual result: After step3, Exception was thrown out Error log: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3777) at org.eclipse.swt.SWT.error(SWT.java:3695) at org.eclipse.swt.SWT.error(SWT.java:3666) at org.eclipse.swt.widgets.Widget.error(Widget.java:463) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336) at org.eclipse.swt.custom.CCombo.getText(CCombo.java:751) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent$1.handleEvent(BaseDataDefinitionComponent.java:260) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770) at org.eclipse.swt.custom.CCombo.listEvent(CCombo.java:1031) at org.eclipse.swt.custom.CCombo$1.handleEvent(CCombo.java:112) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3848) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3446) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.open(WizardBase.java:87) at org.eclipse.birt.chart.ui.swt.wizard.ChartWizard.open(ChartWizard.java:200) at org.eclipse.birt.chart.reportitem.ui.ChartReportItemBuilderImpl.open(ChartReportItemBuilderImpl.java:238) at org.eclipse.birt.report.designer.internal.ui.processor.ExtenedElementProcessor.editElement(ExtenedElementProcessor.java:64) at org.eclipse.birt.report.designer.internal.ui.command.CreateChartHandler.execute(CreateChartHandler.java:69) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178) at org.eclipse.birt.report.designer.internal.ui.command.CommandUtils.executeCommand(CommandUtils.java:118) at org.eclipse.birt.report.designer.internal.ui.editors.schematic.actions.CreateChartAction.run(CreateChartAction.java:93)

Files changed in fix:
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/BaseDataDefinitionComponent.java