You print it out after all calculation to get the right result are done.In your case you have calculation of stranica2 which can be null. You should check make a check if (stranica !=0) continue ;
041b061a72