Uploaded image for project: 'JBoss Remoting'
  1. JBoss Remoting
  2. JBREM-936

CLONE [JBREM-915] - NullPointerException in InvokerLocator

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.4.0.CR1 (Pinto)
    • Fix Version/s: 2.4.0.GA (Pinto)
    • Component/s: jmx remoting
    • Labels:
      None
    • Environment:

      JBEAP 4.3 (JBoss Remoting 2.2.2 SP4)
      Windows 2000

      Description

      A NullPointerException is thrown by InvokerLocator.resolveHost if a null host is passed in. (Line 333 of InvokerLocator.java for the 2.2.2SP4 tag)

      This was observed when running JBEAP 4.3 on a laptop that has a VPN client installed. JBoss was configured to bind to all interfaces (-b0.0.0.0) and iIt appears that this configuration results in a null host being passed to resolveHost. resolveHost then does a host.indexOf("0.0.0.0") which throws the NPE.

      On the laptop in question, this can be worked around by explicitly binding the the required IP address, rather than binding to all, but the code should handle the case where a null host is passed in more gracefully.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ron_sigal Ronald Sigal
                Reporter:
                mbrasier Matthew Brasier
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: