java.util.NoSuchElementException

No line found


Solutions on the web926

Solution icon of coderanch
via Coderanch by john larry, 10 months ago
No line found

Solution icon of coderanch
via Coderanch by Sohail Hasware, 10 months ago
No line found

Solution icon of coderanch
via Coderanch by Mansukhdeep Thind, 10 months ago
No line found

Solution icon of github
No line found

Solution icon of oraclecommunity
via Oracle Community by 843790, 1 month ago
No line found

Solution icon of oraclecommunity
No line found

Solution icon of stackoverflow
via Stack Overflow by Ryan Christman
, 1 year ago
No line found

Solution icon of stackoverflow
via Stack Overflow by wsmccusker
, 1 year ago
No line found

Solution icon of stackoverflow
via Stack Overflow by Joe Austin
, 1 year ago
No line found

Solution icon of stackoverflow
No line found

Stack trace

  • java.util.NoSuchElementException: No line found at java.util.Scanner.nextLine(Unknown Source) at triangle.main(triangle.java:41)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago