This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200408191352 ] [ JDK VERSION : J2SE 1.5.0 ] I have a project that is command-line-based, and when I execute the project in Beta 1, it doesn't wait for the user to enter any input. It gives me a null pointer exception, instead, and exits. Code to reproduce the error is simple, as follows: BufferedReader bufRead = new BufferedReader(new InputStreamReader(System.in)); String input = bufRead.readLine(); input = input.trim(); System.out.println(input); The null pointer appears when the string is to be trimmed.
Core/output issue? I'm not sure. Please reassign if I'm wrong.
*** This issue has been marked as a duplicate of 47708 ***
closed