[ 
https://issues.apache.org/jira/browse/JAMES-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17409925#comment-17409925
 ] 

Benoit Tellier commented on JAMES-1444:
---------------------------------------

https://github.com/apache/james-project/pull/633 fixes this...

> Using HasMailAttributeWithValueRegex matcher causes NPE during startup when 
> JMX is enabled
> ------------------------------------------------------------------------------------------
>
>                 Key: JAMES-1444
>                 URL: https://issues.apache.org/jira/browse/JAMES-1444
>             Project: James Server
>          Issue Type: Bug
>          Components: JMX, Matchers/Mailets (bundled)
>    Affects Versions: 3.0-beta4
>            Reporter: Adhish
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When I use the following Mailet/Matcher, 
> <mailet match="HasMailAttributeWithValueRegex=jDKIM.AUTHRESULT, fail" 
> class="Null"/>
> I get a NullPointerException as below:
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.james.mailetcontainer.impl.jmx.MatcherManagement.getMatcherName(MatcherManagement.java:75)
> This does not happen when I use the HasMailAttributeWithValue matcher though.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to