Bug 167511 [Block]NPE when using customized IStyleProcessor with Chart Generator and no Chart will be rendered
Use a customized IStyleProcessor with Generator.build() and the chart will not be rendered in UI.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
gcs,
				gcs.getRunTimeContext( ).getScriptContext( ) );
	}
	/**
	 * Internally updates a legend position by altering the legend block
	 * hierarchy as needed.
	 * 
	 * @param boContainer
	 *            The internal bounds of the client area contained within the
	 *            plot.
	 * @param lg
	 *            An instance of the legend for which the position is being
	 *            updated.
	 * @param ids
	 *            An instance of the display server associated with building the
	 *            chart.
	 * @param cm
	 *            An instance of the chart model for which the legend position
	 *            is updated.
	 * 
	 * @throws ChartException
	 */
	private static final void updateLegendInside( Bounds boContainer,
			Legend lg, IDisplayServer ids, Chart cm, RunTimeContext rtc )
			throws ChartException
	{
		final double dScale = ids.getDpiResolution( ) / 72d;
		double dX, dY;
		final Size sz = lg.getPreferredSize( ids, cm, rtc );
		boContainer = boContainer.scaledInstance( 1d / dScale );