I am trying to getting data based on EpcohSecond but it gives null pointer error, and a warning that
Here:
billingPointValues = timeSeriesReadServiceFacade.fetchBillingPointValues(billingPoint, fromEpochSecond, toEpochSecond);
For this line I am getting warning that unboxing of fromEpochSecond may occur null pointer exception. No I idea about this issue at this situation.
The code block is as below:
Long fromEpochSecond = getStartExportEpochSecond(billingPoint, from);
try {
validateStartAndEnd(billingPoint, fromEpochSecond, toEpochSecond);
billingPointValues = timeSeriesReadServiceFacade.fetchBillingPointValues(billingPoint, fromEpochSecond,toEpochSecond);
}
A solution will be a great help.