[jboss-jira] [JBoss JIRA] (WFCORE-1629) Potential NullPointerException when registering the management console redirect service

George Gastaldi (JIRA) issues at jboss.org
Wed Jun 29 18:21:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi updated WFCORE-1629:
------------------------------------
    Affects Version/s: 2.0.10.Final


> Potential NullPointerException when registering the management console redirect service
> ---------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1629
>                 URL: https://issues.jboss.org/browse/WFCORE-1629
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 2.0.10.Final
>            Reporter: George Gastaldi
>            Assignee: Brian Stansberry
>
> While creating a WildFly Swarm Fraction that exposes the management console, I debugged ConsoleMode and found out that a NullPointerException is thrown in the {{findConsoleVersions}} methods. That's because the {{module.path}} returns {{null}} (as specified in the default value in this same method).
> A simple null check is enough to fix it.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list