Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Some of the examples use in.readLine().trim() without checking the results of the readLine() call. This can cause an NPE since it may return null on end of input, e.g. EOF or Ctrl-D.