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
}
        ac.finish();
        assertEquals(new Double(4.0), ac.getValue());
        
        ac.start();
        ac.finish();
        assertEquals(null, ac.getValue());
        
        ac.start();
        try
        {
            ac.getValue();
            assertTrue(false);
        }
        catch(RuntimeException e)
        {
            assertTrue(true);
        }
        
        ac.start();
        ac.onRow( new Double[]{ new Double(4)} );
        ac.onRow( new Double[]{ new Double(4)} );
        ac.onRow( new Double[]{ new Double(3)} );
        ac.finish();
        assertEquals( ac.getValue(), new Double(4) );
        
        
        ac.start();
	    for ( int i = 0; i < dates.length; i++ )
		{