[
https://issues.apache.org/jira/browse/JAMES-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537730#comment-13537730
]
Eric Charles commented on JAMES-1444:
-------------------------------------
Hi Adhish,
Thx a lot for reporting.
I didn't try your proposal, but calling super when overriding sounds logical.
Maybe you can try your solution and upload here a patch. I will happily commit
it.
Thx, Eric
> 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
>
> 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 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]