Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312529 - Exception is thrown out when select Ascending in "Group and sorting" dialogue when running "ChartWizardLauncher.java"
Summary: Exception is thrown out when select Ascending in "Group and sorting" dialogue...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC2   Edit
Assignee: Xingsheng Zhu CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 01:13 EDT by Xiaodan Wang CLA
Modified: 2010-05-21 02:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaodan Wang CLA 2010-05-12 01:13:01 EDT
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.
Comment 1 Xiaodan Wang CLA 2010-05-12 01:13:20 EDT
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)
Comment 2 Xingsheng Zhu CLA 2010-05-18 22:13:54 EDT
Set a dummy pre-defined expression for chartwizardlauncher.
Comment 3 Maggie Shen CLA 2010-05-20 22:23:14 EDT
verified on build 2.6.0 v20100521-0630.
Comment 4 Xiaodan Wang CLA 2010-05-21 02:41:35 EDT
closed.