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
/*************************************************************************************
 * Copyright (c) 2004 Actuate Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Actuate Corporation - Initial implementation.
 ************************************************************************************/
package org.eclipse.birt.report.service;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;
import java.util.logging.Logger;
import org.eclipse.birt.report.IBirtConstants;
import org.eclipse.birt.report.engine.api.HTMLRenderContext;
import org.eclipse.birt.report.engine.api.IAction;
import org.eclipse.birt.report.engine.api.IHTMLActionHandler;
import org.eclipse.birt.report.engine.api.IReportDocument;
import org.eclipse.birt.report.engine.api.PDFRenderContext;
import org.eclipse.birt.report.model.api.util.ParameterValidationUtil;
import org.eclipse.birt.report.utility.ParameterAccessor;
/**
 * HTML action handler for url generation.
 */
class ViewerHTMLActionHandler implements IHTMLActionHandler