Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1444

Using HasMailAttributeWithValueRegex matcher causes NPE during startup when JMX is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta4
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adhish Adhish
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m