Bug 140620 Chart scripting errors are ignored
Write a chart with an invalid script, the execution simply ignores the script. This makes it difficult to debug scripting. The error message is also not precise and needs improvements.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
fer( );
				lder.buildStyle( styleBuffer, style, this, false );
				ttribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
			}
			return;
		}
		writer.startWriter( );
		writer.openTag( HTMLTags.TAG_HTML );
		writer.openTag( HTMLTags.TAG_HEAD );
		
		
		Report reportDesign = null;	
		 report != null )
		{
			reportDesign = report.getDesign( );	
			ReportDesignHandle designHandle = reportDesign.getReportDesign( );
			String title = designHandle.getStringProperty(  IModuleModel.TITLE_PROP );
			 title == null )
			{
				
				 renderOption != null && renderOption instanceof HTMLRenderOption )
				{
					HTMLRenderOption htmlOption = (HTMLRenderOption) renderOption;
					title = htmlOption.getHtmlTitle( );					
				}
			}
			 title != null )
			{
				writer.openTag( HTMLTags.TAG_TITLE );
				writer.text( title );
				writer.closeTag( HTMLTags.TAG_TITLE );
			}
		}
				
		writer.openTag( HTMLTags.TAG_META );
		ttribute( HTMLTags.ATTR_HTTP_EQUIV, "Content-Type" );  
		ttribute( HTMLTags.ATTR_CONTENT, "texthtml; charset=UTF-8" );  
		writer.closeNoEndTag( );
		writer.openTag( HTMLTags.TAG_STYLE );
		ttribute( HTMLTags.ATTR_TYPE, "textcss" ); 
		
		writer.style( "*", "vertical-align: baseline;", true );  
		IStyle style;
		StringBuffer styleBuffer = new StringBuffer( );
		 report == null )
		{
			logger.log( Level.WARNING,
					"[HTMLReportEmitter] Report object is null." ); 
		}
		else
		{
			for ( int n = 0; n < reportDesign.getStyleCount( ); n++ )
			{
				styleBuffer.delete( 0, styleBuffer.capacity( ) );
				style = (IStyle) reportDesign.getStyle( n );	
				lder.buildStyle( styleBuffer, style, this, true );
				writer.style( Report.PREFIX_STYLE_NAME + n, styleBuffer
						.toString( ), false );
			}
		}
		writer.closeTag( HTMLTags.TAG_STYLE );
		fixTransparentPNG( );
		writer.closeTag( HTMLTags.TAG_HEAD );
		String reportStyleName = report == null ? null : report.getDesign( )
				.getRootStyleName( );
		writer.openTag( HTMLTags.TAG_BODY );
		 reportStyleName != null 