if ( !ReportPlugin.getDefault( ) .getResourceFolder( ) .equals( this.resourceFolder ) )
if ( ReportPlugin.getDefault( ).getResourceFolder( ) != null && !ReportPlugin.getDefault( ) .getResourceFolder( ) .equals( this.resourceFolder ) )
	protected PageRec getPageRec( IWorkbenchPart part )	{		if ( !ReportPlugin.getDefault( )				.getResourceFolder( )				.equals( this.resourceFolder ) )		{			// refresh viewer only resource folder changed.			if ( treeViewPage != null && !treeViewPage.isDisposed( ) )			{				treeViewPage.refreshRoot( );			}			this.resourceFolder = ReportPlugin.getDefault( )					.getResourceFolder( );		}		return super.getPageRec( part );	}