Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1551

GlassFishContainer NullPointerException when reading network listeners

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0.CR4
    • Fix Version/s: None
    • Component/s: GlassFish Containers
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Add dependency arquillian-glassfish-embedded-3.1 version 1.0.0.CR4 and specify a domain.xml file in arquillian.xml glassfish embedded container configurationXml property.

      Show
      Add dependency arquillian-glassfish-embedded-3.1 version 1.0.0.CR4 and specify a domain.xml file in arquillian.xml glassfish embedded container configurationXml property.

      Description

      GlassFishContainer class fetches CommandRunner results in the form of comma separated elements.

      There is a bug when reading network-listeners, the list is splitted but not trimmed what generates a NulPointerException when fetching the string:

      "configs.config.server-config.network-config.network-listeners.network-listener. https-listener.enabled"

      Notice the space in the dotted path "network-listener. https-listener".

      The patch could just trim the string:

      429: Integer listenPort = readNetworkListenerPort(config, networkListener.trim());

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xavi.arias.segui Xavi Arias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: