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.
Console class is not 'supported' by the IDE. System.console() returns null when the code is run by NetBeans. Need to go to Command line to test the code. There must be a better way. Thanks Leonid
Can someone give an answer why is console not available and therefor System.console(); returns null?
no idea who reassign to. Jesse, Jarda don't you know where is the problem or who should be responsible for it? thanks
A program run through Ant is not connected to a true console, so this cannot work. A future release of NetBeans will probably run user Java programs in a different way.
x
*** This issue has been marked as a duplicate of 68770 ***