I am getting this exception:
android.content.res.Resources$NotFoundException: String resource ID #0x0
You're accidentally calling the version of TextView.setText that takes an int resource ID.
You should explicitly convert it to a String:
String
holder.no_of_sems.setText(Integer.toString(cgpa.getNo_of_sems()));