scanner hasnextline not working. There are any references about scanner hasnextline not working in here. you can look below.