[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
Mon Sep 2 23:57:03 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800991#comment-12800991 ]
RH Bugzilla Integration commented on WFLY-1865:
-----------------------------------------------
Chao Wang <chaowan at redhat.com> made a comment on [bug 996164|https://bugzilla.redhat.com/show_bug.cgi?id=996164]
relevant EAP 6.x PR : https://github.com/jbossas/jboss-eap/pull/302
> 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