Bug 201017 TopN, TopPercent, BottomPercent filters will lead NPE when the values contains NULL[07]
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/aggregation/TotalTest.java
new Double( doubleArray1[i] )
			} );
			sum += doubleArray1[i];
			assertEquals( new Double( sum ), ac.getValue( ) );
		}
        ac.finish();
        sum = 0D;
        ac.start();
        for(int i=0; i<doubleArray2.length; i++)
        {
            ac.onRow(new Double[]{new Double(doubleArray2[i])});
            sum += doubleArray2[i];
			assertEquals( new Double( sum ), ac.getValue( ) );
        }
        ac.finish();
        sum = 0D;
        
        ac.start();
        for(int i=0; i<str1.length; i++)
        {
            ac.onRow(new Object[]{str1[i]});
            sum += new Double(str1[i]).doubleValue();
			assertEquals( new Double( sum ), ac.getValue( ) );
        }
        ac.finish();
        sum = 0D;
        
        ac.start();
        ac.finish();
        assertEquals(null, ac.getValue());