Bug 192083 [regression]DataException when preview attached xtab report.[1102]
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
{
				cubeMaterializer = createCubeMaterializer( cubeHandle );
				createCube( (TabularCubeHandle)cubeHandle, cubeMaterializer );
				cubeMaterializer.close( );
			}
			else if ( mode == DataEngineContext.MODE_GENERATION )
			{
				cubeMaterializer = createCubeMaterializer( cubeHandle );
				createCube(  (TabularCubeHandle)cubeHandle, cubeMaterializer );
				cubeMaterializer.saveCubeToReportDocument( cubeHandle.getQualifiedName( ),
						this.sessionContext.getDocumentWriter( ),
						null );
				cubeMaterializer.close( );
			}
		} 
		catch ( Exception e )
		{
			throw new DataException( e.getLocalizedMessage( ) );
		}
	}
	/**
	 * Create a cube materializer.
	 * @param cubeHandle
	 * @return
	 * @throws DataException
	 * @throws IOException
	 * @throws BirtException
	 */
	private CubeMaterializer createCubeMaterializer( CubeHandle cubeHandle )
			throws DataException, IOException, BirtException