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
engine.complete();
		
		ExcelWriter writer = new ExcelWriter( out );
		writer.writeDeclarations( );
		writer.declareStyles( engine.getStyleMap( ) );
		writer.startSheet( );
		writer.startTable( engine.getCoordinates( ) );
		int count = 0;
		while ( count < engine.getRowCount( ) )
		{
			outputData( engine.getRow( count ), writer );
			count++;
		}
		writer.endTable( );
		writer.closeSheet( );		
		
		
		for ( int i = 0; i < charts.size( ); i++ )
		{
			File temp = (File) charts.get( i );
			writer.insertSheet( temp );
			temp.delete( );
		}
		writer.close( true );
	}
	private void outputData( Data[] row, ExcelWriter writer )
	{
		
		writer.startRow( );