[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:19:00 EDT 2016
George Gastaldi created WFCORE-1629:
---------------------------------------
Summary: 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
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