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/SwingRendererImpl.java
MouseListener[] mla = jc.getMouseListeners( );
				for ( int i = 0; i < mla.length; i++ )
				{
					if ( mla[i] instanceof SwingEventHandler )
					{
						jc.removeMouseListener( mla[i] );
					}
				}
				MouseMotionListener[] mmla = jc.getMouseMotionListeners( );
				for ( int i = 0; i < mmla.length; i++ )
				{
					if ( mmla[i] instanceof SwingEventHandler )
					{
						jc.removeMouseMotionListener( mmla[i] );
					}
				}
				KeyListener[] kla = jc.getKeyListeners( );
				for ( int i = 0; i < kla.length; i++ )
				{
					if ( kla[i] instanceof SwingEventHandler )
					{
						jc.removeKeyListener( kla[i] );
					}
				}
				_eh = new SwingEventHandler( _lhmAllTriggers,
						_iun,
						getULocale( ) );
				jc.addMouseListener( _eh );
				jc.addMouseMotionListener( _eh );
				jc.addKeyListener( _eh );