You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Stefan Kok <st...@centilliard.io> on 2021/10/01 13:11:36 UTC
Re: ExtractEmailHeaders & ExtractEmailAttachments --
NoClassDefFoundError
For anyone concerned the solution was to replace.
javax.activation-api-1.2.0.jar
with
javax.activation-1.2.0.jar
For details see:
https://community.cloudera.com/t5/Support-Questions/Nifi-PutEmail-throwing-out-exception/td-p/312397
On Thu, 2021-09-30 at 17:17 +0200, Stefan Kok wrote:
> Hi Everyone
>
> 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
>
> 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
>
> Thank you in advance.
> Stefan
>
Re: ExtractEmailHeaders & ExtractEmailAttachments --
NoClassDefFoundError
Posted by Shawn Weeks <sw...@weeksconsulting.us>.
Was your 1.14.0 a brand new instance or was it upgraded? This almost sounds like you upgraded but didn’t clear out your ./lib directory before hand.
Thanks
Shawn
On Oct 2, 2021, at 2:37 AM, Stefan Kok <st...@centilliard.io>> wrote:
Hi Pierre
Will do so.
Thank you
Stefan
On Fri, 2021-10-01 at 15:16 +0200, Pierre Villard wrote:
Hi Stefan, do you mind filing a JIRA for this? it should have been fixed with https://issues.apache.org/jira/browse/NIFI-6961
Thanks!
Le ven. 1 oct. 2021 à 15:11, Stefan Kok <st...@centilliard.io>> a écrit :
For anyone concerned the solution was to replace.
javax.activation-api-1.2.0.jar
with
javax.activation-1.2.0.jar
For details see:
https://community.cloudera.com/t5/Support-Questions/Nifi-PutEmail-throwing-out-exception/td-p/312397
On Thu, 2021-09-30 at 17:17 +0200, Stefan Kok wrote:
> Hi Everyone
>
> 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
>
> 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<http://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
>
> Thank you in advance.
> Stefan
>
Re: ExtractEmailHeaders & ExtractEmailAttachments --
NoClassDefFoundError
Posted by Stefan Kok <st...@centilliard.io>.
Hi Pierre
Will do so.
Thank you
Stefan
On Fri, 2021-10-01 at 15:16 +0200, Pierre Villard wrote:
> Hi Stefan, do you mind filing a JIRA for this? it should have been
> fixed with https://issues.apache.org/jira/browse/NIFI-6961
> Thanks!
>
> Le ven. 1 oct. 2021 à 15:11, Stefan Kok <st...@centilliard.io> a
> écrit :
> > For anyone concerned the solution was to replace.
> >
> > javax.activation-api-1.2.0.jar
> > with
> > javax.activation-1.2.0.jar
> >
> > For details see:
> >
> https://community.cloudera.com/t5/Support-Questions/Nifi-PutEmail-throwing-out-exception/td-p/312397
> >
> >
> >
> > On Thu, 2021-09-30 at 17:17 +0200, Stefan Kok wrote:
> > > Hi Everyone
> > >
> > > 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
> > >
> > > 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
> > >
> > > Thank you in advance.
> > > Stefan
> > >
> >
> >
Re: ExtractEmailHeaders & ExtractEmailAttachments -- NoClassDefFoundError
Posted by Pierre Villard <pi...@gmail.com>.
Hi Stefan, do you mind filing a JIRA for this? it should have been fixed
with https://issues.apache.org/jira/browse/NIFI-6961
Thanks!
Le ven. 1 oct. 2021 à 15:11, Stefan Kok <st...@centilliard.io> a
écrit :
> For anyone concerned the solution was to replace.
>
> javax.activation-api-1.2.0.jar
> with
> javax.activation-1.2.0.jar
>
> For details see:
>
> https://community.cloudera.com/t5/Support-Questions/Nifi-PutEmail-throwing-out-exception/td-p/312397
>
>
>
> On Thu, 2021-09-30 at 17:17 +0200, Stefan Kok wrote:
> > Hi Everyone
> >
> > 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
> >
> > 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
> >
> > Thank you in advance.
> > Stefan
> >
>
>
>