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
* 
	 * @param action
	 * @param context
	 * @return the bookmark url
	 */
	protected String buildBookmarkAction( IAction action, Object context )
	{
		StringBuffer link = new StringBuffer( );
		boolean realBookmark = false;
		if ( this.document != null )
		{
			long pageNumber = this.document
					.getPageNumber( action.getBookmark( ) );
			realBookmark = ( pageNumber == this.page && !isEmbeddable );
		}
		String bookmark = action.getBookmark( );
		try
		{
			bookmark = URLEncoder.encode( bookmark,
					ParameterAccessor.UTF_8_ENCODE );
		}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		String baseURL = null;
		if ( context != null && context instanceof HTMLRenderContext )
		{
			baseURL = ( (HTMLRenderContext) context ).getBaseURL( );
		}