Bug 208419 NullPointerException at CubeResultSet close
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/DataPresentationEngine.java
context.getAppContext( ) );
			if ( parentResult != null )
			{
				queryResults = dteSession.execute( pQuery,
						parentResult.getQueryResults( ),
						context.getSharedScope( ) );
			}
			else
			{
				queryResults = dteSession.execute( pQuery,
						null,
						context.getSharedScope( ) );
			}
			
			CubeResultSet resultSet = null;
			if ( parentResult == null )
			{
				
				resultSet = new CubeResultSet( this, context, query,
						(ICubeQueryResults) queryResults );
			}
			else
			{
				
				resultSet = new CubeResultSet( this, context, resultSet, query,
						(ICubeQueryResults) queryResults );
			}
						
			return resultSet;
		}