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.onRow(new Double[]{new Double(doubleArray1[i])});
        }
        ac.finish();
        assertEquals(new Double(1.0), ac.getValue());
        
        ac.start();
        for(int i=0; i<doubleArray2.length; i++)
        {
            ac.onRow(new Double[]{new Double(doubleArray2[i])});
        }
        ac.finish();
        assertEquals(new Double(-43), ac.getValue());
        
        ac.start();
        for(int i=0; i<str1.length; i++)
        {
            ac.onRow(new Object[]{str1[i]});
        }
        ac.finish();
        assertEquals("-15", ac.getValue());
        
        ac.start();
        ac.finish();
        assertEquals(null, ac.getValue());
        
        ac.start();
        try
        {
            ac.getValue();
            assertTrue(false);