[arquillian-issues] [JBoss JIRA] (ARQ-1551) GlassFishContainer NullPointerException when reading network listeners

Xavi Arias (JIRA) jira-events at lists.jboss.org
Sat Oct 26 13:15:02 EDT 2013


Xavi Arias created ARQ-1551:
-------------------------------

             Summary: GlassFishContainer NullPointerException  when reading network listeners
                 Key: ARQ-1551
                 URL: https://issues.jboss.org/browse/ARQ-1551
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: GlassFish Containers
    Affects Versions: 1.0.0.CR4
         Environment: IntelliJ 12, Windows XP SP3
            Reporter: Xavi Arias


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());

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list