Sorry, it's a stupid question. I found that i set a wrong todate in instantiating GenericCSVData. Because the todate is earlier thanfromdate.