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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0-beta4
    • Fix Version/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adhish Adhish
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: