Click here to Skip to main content
15,920,438 members
Home / Discussions / Java
   

Java

 
AnswerRe: Flatten or Merge PDF with PDFBox Pin
Nagy Vilmos25-Nov-10 22:44
professionalNagy Vilmos25-Nov-10 22:44 
QuestionSorted Linked List [modified] Pin
Babylon Lion25-Nov-10 8:10
Babylon Lion25-Nov-10 8:10 
AnswerRe: Sorted Linked List Pin
TorstenH.25-Nov-10 19:54
TorstenH.25-Nov-10 19:54 
AnswerRe: Sorted Linked List Pin
Richard MacCutchan25-Nov-10 22:06
mveRichard MacCutchan25-Nov-10 22:06 
GeneralRe: Sorted Linked List Pin
TorstenH.25-Nov-10 23:25
TorstenH.25-Nov-10 23:25 
GeneralRe: Sorted Linked List Pin
Richard MacCutchan26-Nov-10 0:50
mveRichard MacCutchan26-Nov-10 0:50 
GeneralRe: Sorted Linked List Pin
Babylon Lion26-Nov-10 16:59
Babylon Lion26-Nov-10 16:59 
AnswerRe: Sorted Linked List Pin
Luc Pattyn26-Nov-10 4:50
sitebuilderLuc Pattyn26-Nov-10 4:50 
Babylon Lion wrote:
Exception in thread "main" java.util.NoSuchElementException: No line found
at java.util.Scanner.nextLine(Unknown Source)
at mainStudnetProg.createStudentList(mainStudnetProg.java:36)
at mainStudnetProg.main(mainStudnetProg.java:15)


Why don't you take advantage of the information provided? a traceback shows exactly where the program is when the problem occurs. It is inside nextLine (not yours, so less relevant), called by createStudentList (yours) and to be more precise: in file mainStudnetProg.java at line 36.

BTW: tell your IDE to always show line numbers in source file windows, and you're bound to see the problem pretty soon.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Sorted Linked List Pin
Babylon Lion26-Nov-10 16:54
Babylon Lion26-Nov-10 16:54 
GeneralRe: Sorted Linked List Pin
Luc Pattyn26-Nov-10 17:18
sitebuilderLuc Pattyn26-Nov-10 17:18 
QuestionCould not create system bitmap Pin
evan earnest25-Nov-10 2:09
evan earnest25-Nov-10 2:09 
AnswerRe: Could not create system bitmap Pin
TorstenH.25-Nov-10 2:58
TorstenH.25-Nov-10 2:58 
GeneralRe: Could not create system bitmap Pin
evan earnest25-Nov-10 18:53
evan earnest25-Nov-10 18:53 
QuestionHow do you build your GUIs? Pin
TorstenH.23-Nov-10 21:36
TorstenH.23-Nov-10 21:36 
AnswerRe: How do you build your GUIs? Pin
David Skelly23-Nov-10 22:13
David Skelly23-Nov-10 22:13 
AnswerRe: How do you build your GUIs? Pin
Cedric Moonen23-Nov-10 23:00
Cedric Moonen23-Nov-10 23:00 
GeneralRe: How do you build your GUIs? Pin
TorstenH.23-Nov-10 23:12
TorstenH.23-Nov-10 23:12 
GeneralRe: How do you build your GUIs? Pin
Cedric Moonen23-Nov-10 23:22
Cedric Moonen23-Nov-10 23:22 
GeneralRe: How do you build your GUIs? Pin
TorstenH.23-Nov-10 23:27
TorstenH.23-Nov-10 23:27 
AnswerRe: How do you build your GUIs? Pin
Nagy Vilmos24-Nov-10 3:18
professionalNagy Vilmos24-Nov-10 3:18 
AnswerRe: How do you build your GUIs? Pin
LloydA11125-Nov-10 7:50
LloydA11125-Nov-10 7:50 
AnswerRe: How do you build your GUIs? Pin
Alok Sharma ji30-Nov-10 19:47
Alok Sharma ji30-Nov-10 19:47 
GeneralRe: How do you build your GUIs? Pin
TorstenH.1-Dec-10 23:24
TorstenH.1-Dec-10 23:24 
QuestionSocket programming Pin
vidhyaej23-Nov-10 19:52
vidhyaej23-Nov-10 19:52 
AnswerRe: Socket programming Pin
TorstenH.23-Nov-10 21:41
TorstenH.23-Nov-10 21:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.