When I type others string, other than 1, 2, 3 in the main menu, the following exception is shown: Login string check: java.lang.NumberFormatException: For input string: "test" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.grouptwenty.travelbooking.App.loginOrRegister(App.java:176) at com.grouptwenty.travelbooking.App.start(App.java:129) at com.grouptwenty.travelbooking.Main.main(Main.java:6)
Bug fixed. The bug occurs because of the lack of checking.