[
https://issues.apache.org/jira/browse/NIFI-8281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-8281.
----------------------------------
Fix Version/s: 1.14.0
Resolution: Fixed
> PutEmail Processor fails with Java 11
> -------------------------------------
>
> Key: NIFI-8281
> URL: https://issues.apache.org/jira/browse/NIFI-8281
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.13.0
> Environment: Alpine base Docker Container based on
> `adoptopenjdk/openjdk11:alpine-jre`
> Reporter: Robin Lutz
> Priority: Major
> Labels: Java11
> Fix For: 1.14.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)