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.
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingEventHandler.java
TooltipValue tv = (TooltipValue) ac.getValue( );
		
		String tooltip = tv.getText( ).replaceAll( "\\\n", "<br>" ); 
		if ( !tooltip.equals( tv.getText( ) ) )
		{
			tooltip = "<html>" + tooltip + "</html>"; 
		}
		else
		{
			tooltip = tv.getText( );
		}
		( (JComponent) iun.peerInstance( ) ).setToolTipText( tooltip );
	}
	private final void toggleHighlight( ShapedAction sa )
	{
		if ( sa == null )
		{
			return;
		}
		final StructureSource src = (StructureSource) sa.getSource( );
		if ( src.getType( ) == StructureType.SERIES
				|| src.getType( ) == StructureType.SERIES_DATA_POINT )
		{
			final Series seRT;
			if ( src.getType( ) == StructureType.SERIES )
			{
				seRT = (Series) src.getSource( );
			}
			else
			{