Bug 153038 NPE when delete master page content in old report design.
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/layout/ReportMasterPageEditor.java
*/
	protected void initializeGraphicalViewer( )
	{
		super.initializeGraphicalViewer( );
		setViewContentsAsMasterPage( );
	}
	/**
	 * Set view's contents.
	 * 
	 * @param model
	 *            design handle of master page
	 */
	public void setViewContentsAsMasterPage( )
	{
		ModuleHandle designHandle = (ModuleHandle) getModel( );
		SimpleMasterPageHandle masterPage = null;
		if ( designHandle.getMasterPages( ).getCount( ) == 0 )
		{
			
			
			masterPage = DesignElementFactory.getInstance( designHandle.getModuleHandle( ) )
					.newSimpleMasterPage( null); 
			try
			{
				designHandle.getMasterPages( ).add( masterPage );
			}
			catch ( ContentException e )
			{
				ExceptionHandler.handle( e );
			}