So the error i\'m getting is that scanner.nextLine() throws an error when it\'s used inside a thread. Anyone sharing some light about why this happens is appreciated.