[jboss-jira] [JBoss JIRA] (WFLY-1865) NPE might occur when a null object is returned from the aesh Console
Ivo Studensky (JIRA)
jira-events at lists.jboss.org
Fri Aug 30 08:30:03 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivo Studensky resolved WFLY-1865.
---------------------------------
Resolution: Done
The related PR has been merged.
> NPE might occur when a null object is returned from the aesh Console
> --------------------------------------------------------------------
>
> Key: WFLY-1865
> URL: https://issues.jboss.org/browse/WFLY-1865
> Project: WildFly
> Issue Type: Bug
> Components: CLI
> Affects Versions: 8.0.0.Alpha3
> Reporter: Ståle Pedersen
> Assignee: Alexey Loubyansky
> Fix For: 8.0.0.Beta1
>
>
> In cli/src/main/java/org/jboss/as/cli/impl/Console.java
> 177 - return console.read(prompt).getBuffer();
> 178 + ConsoleOutput output = console.read(prompt);
> 179 + return output != null ? output.getBuffer() : null;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list