Bug 200751 NPE in Excel emitter
writer.text( ( (Data) d ).txt.toString( ) ); SEVERE: An error happened while running the report. Cause: java.lang.NullPointerException at org.eclipse.birt.report.engine.emitter.excel.ExcelWriter.writeText(Ex celWriter.java:102) at org.eclipse.birt.report.engine.emitter.excel.ExcelWriter.writeTxtData (ExcelWriter.java:152) at org.eclipse.birt.report.engine.emitter.excel.ExcelEmitter.outputData( ExcelEmitter.java:311) at org.eclipse.birt.report.engine.emitter.excel.ExcelEmitter.end(ExcelEm itter.java:286) at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.re nder(RenderTask.java:593) at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask. java:260)
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/ExcelWriter.java
writer.closeTag( "Interior" );
		}
	}
	private boolean isValid( String value )
	{
		return StyleConstant.NULL != value;
	}
	private void declareStyle( StyleEntry style, int id )
	{
		writer.openTag( "Style" );
		writer.attribute( "ss:ID", id );
		String horizontalAlign = style.getProperty( StyleConstant.H_ALIGN_PROP );
		String verticalAlign = style.getProperty( StyleConstant.V_ALIGN_PROP );
		writeAlignment( horizontalAlign, verticalAlign );
		writer.openTag( "Borders" );
		String bottomColor = style
				.getProperty( StyleConstant.BORDER_BOTTOM_COLOR_PROP );
		String bottomLineStyle = style
				.getProperty( StyleConstant.BORDER_BOTTOM_STYLE_PROP );
		String bottomWeight = style
				.getProperty( StyleConstant.BORDER_BOTTOM_WIDTH_PROP );
		writeBorder( "Bottom", bottomLineStyle, bottomWeight, bottomColor );
		String topColor = style
				.getProperty( StyleConstant.BORDER_TOP_COLOR_PROP );
		String topLineStyle = style
				.getProperty( StyleConstant.BORDER_TOP_STYLE_PROP );
		String topWeight = style
				.getProperty( StyleConstant.BORDER_TOP_WIDTH_PROP );
		writeBorder( "Top", topLineStyle, topWeight, topColor );
		String leftColor = style