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.

Bug 271394 - System.console()
Summary: System.console()
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: Dev
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Balin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-29 10:01 UTC by Hunt3r
Modified: 2017-08-29 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A piece of code which shows the System.console() is not working. (191.22 KB, image/png)
2017-08-29 10:01 UTC, Hunt3r
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hunt3r 2017-08-29 10:01:38 UTC
Created attachment 165043 [details]
A piece of code which shows the System.console() is not working.

System.console() is not supported. Whenever i try to read something it sends a null pointer Exception. It should either return not supported Exception or just simply run. If it is not showing any error while initialising the System.console() then why it it not getting executed.