Details
Description
I am sending a zip file as attachment via the PutEmail processor. When I upgraded to Java11, it stopped sending mails and also did not move them to the failure queue, but there is a exception/bulletin when it tries for the first time:
```2021-03-01 15:08:09,721 INFO [NiFi logging handler] org.apache.nifi.StdOut 2021-03-01 15:08:09,719 WARN [Timer-Driven Process Thread-8] o.a.n.controller.tasks.ConnectableTask Administratively Yielding PutEmail[id=e8d3f418-8de4-358d-9ad3-e916e64eebe8] due to uncaught Exception: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport```
A similar error is reported here:
https://issues.apache.org/jira/browse/NIFI-6961
Replacing `javax.activation-api-1.2.0` by `javax.activation-1.2.0` also helps in this case.