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
{
    private double[] weight = {1.2, 1.4, 2, 0.5, 1.4, 2.4, 1.5, 2.5, 3.7, 1.4, 1.03, 0.5, 0.2, 0.6, 1.3, 1.5, 12.4};
    private double[] doubleArray1 = {1, 3, 5, 4, 6, 8, 3, 4, 5, 7, 9, 10, 4, 6, 7};
    private boolean[] doubleArray1TopBottom = {false, false, false,false,false,true,false,false,false,true,true,true,false,false,true};
    private double[] doubleArray2 = {4, -43, 4, 23, -15, -6, 4, -6, 3, 63, 33, -6, -23, 34};
    private Double[] doubleArray3 = {Double.valueOf( "100" ),Double.valueOf( "20" ),null,Double.valueOf( "300" ),null,Double.valueOf( "40" ),Double.valueOf( "10" ), Double.valueOf( "10" )};
    private int[] doubleArray3RankDec = {2, 4, 7, 1, 7, 3, 5, 5 };
    private int[] doubleArray3RankAsc = {7, 5, 1, 8, 1, 6, 3, 3 };
    private int[] doubleArray3PercentRank = {857,571,0,1000,0,714,285,285};
    private Object[] doubleArray3PercentSum = {new Integer(208),new Integer(41), null, new Integer(625),null,new Integer(83),new Integer(20),new Integer(20)};
    private String[] str1 = {"4", "-43", "4", "23", "-15", "-6", "4", "-6", "3", "63", "33", "-6", "-23", "34"};
    private double[] doubleArray4 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
    private double[] doubleArray5 = {1, 2, 2, 3, 1, 3, 4, 1, 2};