Bug 188336 Fairly Simple Report Generates NPE When Saving as Excel
When attempting to Save the attached report to Excel, the following error is displayed in the viewer instead of the Excel file: + org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.util.EmptyStackException
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelEmitter.java
Action act = new Action( linkaction );
				IHTMLActionHandler actionHandler = null;
				Object ac = eservice
						.getOption( RenderOptionBase.ACTION_HANDLER );
				if ( ac != null && ac instanceof IHTMLActionHandler )
				{
					actionHandler = (IHTMLActionHandler) ac;
					actionHandler.getURL( act, null );
					return new HyperlinkDef( actionHandler.getURL( act,
							eservice.getReportContext( ) ),
							IHyperlinkAction.ACTION_DRILLTHROUGH, null );
				}
			}
		}
		else if ( getBookMark( content ) != null )
		{
			return getBookMark( content );
		}
		return null;
	}
	
	public HyperlinkDef getBookMark( IContent content )
	{
		if ( content.getBookmark( ) != null
				&& !( content.getBookmark( ).startsWith( "__TOC" ) ) )
		{
			return new HyperlinkDef( null, -1, content.getBookmark( ) );
		}
		else
		{