java – Cannot get a STRING value from a NUMERIC cell
From the error, I understand that you are trying to fetch the pincode value from excel sheet using
cell.getStringCellValue() where the cell type is not
I recommend you to format the cell holding the pincode value to
General and that will resolve the error.
You might use setCellType to String then you can get the String values.