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
link.append( ParameterAccessor.getQueryParameterString(
					ParameterAccessor.PARAM_MASTERPAGE, String
							.valueOf( this.isMasterPageContent ) ) );
			
			if ( action.getBookmark( ) != null )
			{
				try
				{
					
					if ( baseURL.lastIndexOf( IBirtConstants.SERVLET_PATH_RUN ) > 0 )
					{
						link.append( "#" ); 
					}
					else
					{
						link.append( "&__bookmark=" ); 
					}
					link.append( URLEncoder.encode( action.getBookmark( ),
							ParameterAccessor.UTF_8_ENCODE ) );
				}
				catch ( UnsupportedEncodingException e )
				{
					
				}
			}
		}
		return link.toString( );
	}
}