[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-38) empty string variable for proxyList should be handled
Michal Babacek (JIRA)
issues at jboss.org
Fri Aug 8 06:29:28 EDT 2014
[ https://issues.jboss.org/browse/MODCLUSTER-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Babacek closed MODCLUSTER-38.
------------------------------------
Closing. Clean-up.
At least one of the following applies:
* the issue has been thoroughly tested as a part of one of the current releases
or
* it hasn't occurred in ~2 years
or
* it's utterly harmless
> empty string variable for proxyList should be handled
> -----------------------------------------------------
>
> Key: MODCLUSTER-38
> URL: https://issues.jboss.org/browse/MODCLUSTER-38
> Project: mod_cluster
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.0.Beta2
> Reporter: Marek Goldmann
> Assignee: Paul Ferraro
> Fix For: 1.0.0.Beta3
>
> Attachments: empty_string_handling.patch
>
>
> Property proxyList without specified value should be handled as follows: there are no proxies.
> <property name="proxyList"></property>
> This could be done by replacing line 389 of MCMPUtils.java:
> if (proxyList == null) return Collections.emptyList();
> to
> if (proxyList == null || proxyList.length() == 0) return Collections.emptyList();
> This bug is related to MODCLUSTER-36. If we give an empty default value JBoss fails with exception:
> 2009-01-09 18:13:11,505 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] (main) Exception invoking method start
> java.lang.IllegalArgumentException: [address] is null
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the mod_cluster-issues
mailing list