Stefan created NIFI-9269:
----------------------------

             Summary: ExtractEmailHeaders & ExtractEmailAttachments -- 
NoClassDefFoundError
                 Key: NIFI-9269
                 URL: https://issues.apache.org/jira/browse/NIFI-9269
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.14.0
         Environment: Nifi:

1.14.0
07/10/2021 12:25:36 SAST
Tagged nifi-1.14.0-RC2
>From fcbf1d5 on branch UNKNOWN

Java:

java --version
openjdk 11.0.12 2021-07-20
OpenJDK Runtime Environment 18.9 (build 11.0.12+7)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7, mixed mode, sharing)

OS:

uname -a
Linux blue.centilliard.io 5.13.16-200.fc34.x86_64 #1 SMP Mon Sep 13
12:39:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

            Reporter: Stefan
            Assignee: Pierre Villard


The above two processors fail with the below errors:

/*** *ExtractEmailAttachments* ***/

ExtractEmailAttachments[id=3738d7b2-017c-1000-c120-29f7760d3084] Failed
to process session due to com/sun/activation/registries/LogSupport;
Processor Administratively Yielded for 1 sec:
java.lang.NoClassDefFoundError:
com/sun/activation/registries/LogSupport

/*** *ExtractEmailHeaders* ***/

ExtractEmailHeaders[id=36a7997a-017c-1000-0405-0197e1cb8792] Failed to
process session due to com/sun/activation/registries/LogSupport;
Processor Administratively Yielded for 1 sec:
java.lang.NoClassDefFoundError:
com/sun/activation/registries/LogSupport

*P.S*

Adding javax.activation-1.2.0.jar and leaving javax.activation-1.2.0.jar in 
*<nifi-folder>/lib/java11* also seems to resolve the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to