When i am executing this code, i am getting null pointer Exception.pls help me to fix the problem.

Here is the code:
try{
int rows1=CustomerPaymentRow_Table.getRowCount();
for(int...