Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314218 - [Regression]NPE block to create joint data set if source data set has parameter
Summary: [Regression]NPE block to create joint data set if source data set has parameter
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: 2.6.0 RC2   Edit
Assignee: Mingxia Wu CLA
QA Contact: Tianli Zhang CLA
URL:
Whiteboard: Non-Auto
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 04:48 EDT by Tianli Zhang CLA
Modified: 2010-05-25 06:32 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tianli Zhang CLA 2010-05-25 04:48:50 EDT
Description:
[Regression]NPE block to create joint data set if source data set has parameter

Steps to reproduce:
1, New a data set from CUSTOMERS table in sampleDB
2, Specify query to select * from CLASSICMODELS.CUSTOMERS where CUSTOMERNUMBER < ?
3, New a joint data set and using data set which has parameter
4, Click Finish button

Expected Result:
Finish successfully

Actual Result:
NPE blocks to finish the data set
Comment 1 Tianli Zhang CLA 2010-05-25 04:49:00 EDT
java.lang.NullPointerException
	at org.eclipse.birt.report.designer.data.ui.dataset.JointDataSetPage.setParameters(JointDataSetPage.java:783)
	at org.eclipse.birt.report.designer.data.ui.dataset.JointDataSetPage.createJointDataSet(JointDataSetPage.java:612)
	at org.eclipse.birt.report.designer.data.ui.dataset.JointDataSetPage.createSelectedDataSet(JointDataSetPage.java:575)
	at org.eclipse.birt.report.designer.data.ui.dataset.JointDataSetWizard.performFinish(JointDataSetWizard.java:84)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	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.report.designer.data.ui.actions.NewJointDataSetAction.run(NewJointDataSetAction.java:141)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	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.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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)
Comment 2 Mingxia Wu CLA 2010-05-25 05:08:58 EDT
Fix it.
Comment 3 Tianli Zhang CLA 2010-05-25 06:32:21 EDT
Verified in 2.6.0.v20100525-1749