Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1629

Potential NullPointerException when registering the management console redirect service

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                gastaldi George Gastaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: