+ 1
DataInputStream di=new DataInputStream(System.in); this line is returning null. so basically u are trying to parse "null" into an integer.
2nd Apr 2017, 4:44 AM
Edward