You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2016/08/17 03:37:20 UTC

[jira] [Resolved] (JAMES-1815) Crash when reading domainlist via JMX

     [ https://issues.apache.org/jira/browse/JAMES-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit resolved JAMES-1815.
-----------------------------------
    Resolution: Fixed

> Crash when reading domainlist via JMX
> -------------------------------------
>
>                 Key: JAMES-1815
>                 URL: https://issues.apache.org/jira/browse/JAMES-1815
>             Project: James Server
>          Issue Type: Bug
>          Components: JMX
>    Affects Versions: 3.0.0-beta5
>            Reporter: Tobias Fleig
>
> Reading the list of domains via JMX from:
> ObjectName: "org.apache.james:type=component,name=domainlist", Attribute "Domains"
> crashes with:
> java.lang.UnsupportedOperationException
> 	at com.google.common.collect.ImmutableCollection.add(ImmutableCollection.java:96)
> 	at org.apache.james.domainlist.lib.AbstractDomainList.getDomains(AbstractDomainList.java:131)
> 	at org.apache.james.domainlist.lib.DomainListManagement.getDomains(DomainListManagement.java:69)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Some subclasses (JPADomainList, HBaseDomainList, MemoryDomainList) return an ImmutableList in getDomainListInternal(). This list is then modified by getDomains() in AbstractDomainList, which causes the crash above.
> We will supply a patch/pull request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org