Bug 181361 Exception is thrown out in Chart builder when you set all null values for Value Series [0001]
Description: Exception is thrown out in Chart builder when you set all null values for Value Series. Build number: 2.2.0.v20070405-0630 Steps to reproduce: 1. Create a Bar Chart, set all null value data for Value Series. Expected result: No exception is thrown out. Actual result: Exception is thrown out (See the screenshot). Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith3DAxes.java
udsh.reset( );
			double total = 0;
			boolean isZeroValue = true;
			
			for ( int i = 0; i < iOrthogonalCount; i++ )
			{
				Object v = dsiDataOrthogonal.next( );
				if ( v instanceof Number )
				{
					if ( ( (Number) v ).doubleValue( ) != 0.0 )
					{
						isZeroValue = false;
					}
					total += ( (Number) v ).doubleValue( );
				}
				else if ( v instanceof NumberDataElement )
				{
					if ( ( (NumberDataElement) v ).getValue( ) != 0.0 )
					{
						isZeroValue = false;
					}
					total += ( (NumberDataElement) v ).getValue( );
				}
			}
			dsiDataOrthogonal.reset( );
			for ( int i = 0; i < iBaseCount; i++ )
			{
				oDataBase = dsiDataBase.next( );
				oDataOrthogonal = dsiDataOrthogonal.next( );
				if ( !bScatter )