Bug 197747 NullPointerException in XLS emitter
NullPointException throw out when generate a report contains a hyperlink in XLS. The stack trace is: java.lang.NullPointerException at org.eclipse.birt.report.engine.api.HTMLActionHandler.getRenderContext(HTMLActionHandler.java:336) at org.eclipse.birt.report.engine.api.HTMLActionHandler.getURL(HTMLActionHandler.java:40) at org.eclipse.birt.report.engine.emitter.excel.ExcelEmitter.parseHyperLink(ExcelEmitter.java:338) at org.eclipse.birt.report.engine.emitter.excel.ExcelEmitter.startLabel(ExcelEmitter.java:249) the line 336 should be removed: actionHandler.getURL( act, null );
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelEmitter.java
if ( val != null && val instanceof OutputStream )
			{
				out = (OutputStream) val;
			}
		}
	}
	public void start( IReportContent report )
	{
		 
		
		IStyle style = report.getRoot( ).getComputedStyle( );
		SimpleMasterPageDesign master = (SimpleMasterPageDesign) report
				.getDesign( ).getPageSetup( ).getMasterPage( 0 );
		engine = new ExcelLayoutEngine( new PageDef( master, style ));
	}
	public void startPage( IPageContent page )
	{
		contentVisitor.visitChildren(page.getPageHeader( ), null);
	}	
	public void endPage( IPageContent page )
	{
		contentVisitor.visitChildren(page.getPageFooter( ), null);
	}
	public void startTable( ITableContent table )
	{
		Rule rule = engine.getCurrentContainer( ).getRule( );
		int width = rule.getWidth( );
		TableInfo info = LayoutUtil.createTable( table, width );
		
		if( info == null ) {