Bug 186913 [Regression]NPE throws out when open a older release product dataset 07]
Description: [Regression]NPE throws out when open a older release product dataset 07] Build number: 2.2.0.v20070515-0630 Steps to reproduce: 1, Open the attached report design 2, Choose one dataset and double click 3, Click OK button to update the dataset Expected result: The dataset update successfully without exceptions Actual result: NPE throws out Error log: java.lang.NullPointerException at org.eclipse.birt.report.data.oda.jdbc.ui.editors.SQLDataSetEditorPage.refreshPage(SQLDataSetEditorPage.java:1380) at org.eclipse.birt.report.data.oda.jdbc.ui.editors.SQLDataSetEditorPage.initializeControl(SQLDataSetEditorPage.java:272) at org.eclipse.birt.report.data.oda.jdbc.ui.editors.SQLDataSetEditorPage.createPageCustomControl(SQLDataSetEditorPage.java:191) at org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSetWizardPage.createControl(DataSetWizardPage.java:123) at org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetEditorPageCore.createContents(DataSetEditorPageCore.java:73) at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:233) at org.eclipse.birt.report.designer.data.ui.dataset.PropertyPageWrapper.createPageControl(PropertyPageWrapper.java:45) at org.eclipse.birt.report.designer.data.ui.property.PropertyNode.createPageControl(PropertyNode.java:238) at org.eclipse.birt.report.designer.data.ui.dataset.DataSetEditor.populateDataSetEditor(DataSetEditor.java:623) at org.eclipse.birt.report.designer.data.ui.dataset.DataSetEditor.updateDataSetDesign(DataSetEditor.java:381) at org.eclipse.birt.report.designer.data.ui.dataset.DataSetParametersPage.performOk(DataSetParametersPage.java:848) at org.eclipse.birt.report.designer.data.ui.property.AbstractPropertyDialog.okPressed(AbstractPropertyDialog.java:608) at org.eclipse.birt.report.designer.data.ui.property.AbstractPropertyDialog.okPressed(AbstractPropertyDialog.java:593) at org.eclipse.birt.report.designer.data.ui.dataset.DataSetEditor.okPressed(DataSetEditor.java:504) at org.eclipse.birt.report.designer.data.ui.property.AbstractPropertyDialog.buttonPressed(AbstractPropertyDialog.java:475)
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
Label dataSourceLabel = new Label( tablescomposite, SWT.LEFT );
		dataSourceLabel.setText( JdbcPlugin.getResourceString( "tablepage.label.availableItems" ) );
		{
			GridData data = new GridData( );
			dataSourceLabel.setLayoutData( data );
		}
		availableDbObjectsTree = new Tree( tablescomposite, SWT.BORDER
				| SWT.MULTI );
		{
			GridData data = new GridData( GridData.FILL_BOTH );
			data.grabExcessHorizontalSpace = true;
			data.grabExcessVerticalSpace = true;
			data.heightHint = 150;
			availableDbObjectsTree.setLayoutData( data );
		}
		availableDbObjectsTree.addMouseListener( new MouseAdapter( ) {
			public void mouseDoubleClick( MouseEvent e )
			{
				populateEventData( e );
				insertText( (String) e.data );
			}
		} );
		availableDbObjectsTree.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent event )
			{
				if ( event.widget.getClass( ) != null )
					handleAvailabeTreeSelection( );
			}
			private void handleAvailabeTreeSelection( )
			{