Bug 148333 [Smoke]Set hyperlink-internal bookmark to a item. preview in html, system throws exeption
[Smoke]Set hyperlink-internal bookmark to a item. preview in html, system throws exeption Steps: 1.Create a label into layout 2.set bookmark "a" to label 3.Insert a image into layout 4.Set hyperlink-internal bookmart 5.Preview in html Actual Results: 1.system throws exception Error happened while running the report
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
this.isMasterPageContent = isMasterPageContent;
	}
	/**
	 * Get URL
	 */
	public String getURL( IAction actionDefn, Object context )
	{
		if ( actionDefn == null )
		{
			return null;
		}
		switch ( actionDefn.getType( ) )
		{
			case IAction.ACTION_BOOKMARK :
			{
				return buildBookmarkAction( actionDefn, context );
			}
			case IAction.ACTION_HYPERLINK :
			{
				return actionDefn.getActionString( );
			}
			case IAction.ACTION_DRILLTHROUGH :
			{
				return buildDrillAction( actionDefn, context );
			}
		}
		return null;
	}
	/**
	 * Build URL for bookmark.