What can cause of java program to suddenly stop reading commands?
I have a "for" loop:
System.out.println("continue to do stuff");
When I run it, the build is successful and "testing stuff..." is successfully printed, however, this is when the program stops for seemingly no reason, it doesn't print "continue to do stuff".
What's frustrating is that after the final system output, instead of "Program stopped, here's the error." It says "build successful".
Now there are some errors up top in the //do stuff part, but I can't figure them out, they have to do with number format exceptions but they don't seem to affect my goals directly. (I have a test command after each action and it shows the proper result). Also they point to errors outside my code, to linee in native functions.
Is it some bug in the beginning that caused some sort of fatal crash near the end? Shouldn't it give some sort of hint as to the error?
Heres a line I can sort of make sense of, but I don't know what it's referring to:
( Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "")