Project: Birt
Bug 258582 Focus exception occurs in ChartView of table
Reported: 2008-12-11 21:21:47 | Status: closed fixed

Description: Focus exception occurs in Chart View of table Build number: 2.5.0.v20081212-0630 Steps to reproduce: 1, New a table binding with dataset 2, Create Chart View on the table 3, Select one binding in Category (X) Series 4, Move the focus on combo box of Category (X) Series 5, Click Cancel or Finish button Expected result: No exception thrown out Actual result: Exception thrown out in Error log 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.widgets.Widget.getData(Widget.java:521) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.isTableSharedBinding(BaseDataDefinitionComponent.java:420) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.getDisplayExpression(BaseDataDefinitionComponent.java:974) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.setColor(BaseDataDefinitionComponent.java:486) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.saveQuery(BaseDataDefinitionComponent.java:665) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.focusLost(BaseDataDefinitionComponent.java:655) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:137)

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