Community
Participate
Working Groups
Description: Exception is thrown out when select Ascending in "Group and sorting" dialogue when running "ChartWizardLauncher.java". Build number: 2.6.0.v20100512-0630 Steps to reproduce: 1. Run /org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/builder/ChartWizardLauncher.java 2. In Select Data tab, click "Edit group and sorting" button, select "Ascending". Expected result: No exception. Actual result: Exception is thrown out.
Error log: java.lang.NullPointerException at org.eclipse.birt.chart.ui.swt.composites.GroupSortingDialog.getPredefinedQuery(GroupSortingDialog.java:459) at org.eclipse.birt.chart.ui.swt.composites.GroupSortingDialog.populateSortKeyList(GroupSortingDialog.java:497) at org.eclipse.birt.chart.ui.swt.composites.GroupSortingDialog.handleEvent(GroupSortingDialog.java:557) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.handleGroupAction(BaseDataDefinitionComponent.java:509) at org.eclipse.birt.chart.ui.swt.wizard.data.BaseDataDefinitionComponent.widgetSelected(BaseDataDefinitionComponent.java:497) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) 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:234) at org.eclipse.birt.core.ui.frameworks.taskwizard.WizardBase.open(WizardBase.java:100) at org.eclipse.birt.chart.examples.builder.ChartWizardLauncher.launch(ChartWizardLauncher.java:137) at org.eclipse.birt.chart.examples.builder.ChartWizardLauncher.main(ChartWizardLauncher.java:220)
Set a dummy pre-defined expression for chartwizardlauncher.
verified on build 2.6.0 v20100521-0630.
closed.