]
Brian Stansberry updated WFCORE-1629:
-------------------------------------
Git Pull Request:
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: George Gastaldi
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.