[jboss-jira] [JBoss JIRA] (WFLY-1865) NPE might occur when a null object is returned from the aesh Console
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Wed Sep 4 09:01:05 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801530#comment-12801530 ]
RH Bugzilla Integration commented on WFLY-1865:
-----------------------------------------------
baranowb <bbaranow at redhat.com> made a comment on [bug 996164|https://bugzilla.redhat.com/show_bug.cgi?id=996164]
> 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