You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by KAMALAKANTA KOLEY <k....@tcs.com.INVALID> on 2020/03/13 07:58:57 UTC

NIFI is not starting | Need Help

Hi Team,

We are looking for help to start nifi services but it's not working. After running the nifi, the status is showing as ruining state as mentioned below.
[A screenshot of a computer  Description automatically generated]
Further we debugged it, we came across some exception into ninfi-app.log as mentioned below. Request you to help on this regards.

2020-03-09 11:02:14,519 INFO [main] org.apache.nifi.web.server.JettyServer Running in HTTP mode; host headers not restricted
2020-03-09 11:02:16,367 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider org.apache.nifi.processors.poi.ConvertExcelToCSVProcessor could not be instantiated
java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor: Provider org.apache.nifi.processors.poi.ConvertExcelToCSVProcessor could not be instantiated
                at java.util.ServiceLoader.fail(ServiceLoader.java:232)
                at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
                at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
                at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
                at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
                at org.apache.nifi.nar.StandardExtensionDiscoveringManager.loadExtensions(StandardExtensionDiscoveringManager.java:156)
                at org.apache.nifi.nar.StandardExtensionDiscoveringManager.discoverExtensions(StandardExtensionDiscoveringManager.java:131)
                at org.apache.nifi.nar.StandardExtensionDiscoveringManager.discoverExtensions(StandardExtensionDiscoveringManager.java:117)
                at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:942)
                at org.apache.nifi.NiFi.<init>(NiFi.java:158)
                at org.apache.nifi.NiFi.<init>(NiFi.java:72)
                at org.apache.nifi.NiFi.main(NiFi.java:301)
Caused by: java.lang.NoClassDefFoundError: org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler$SheetContentsHandler
                at java.lang.Class.getDeclaredConstructors0(Native Method)
                at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
                at java.lang.Class.getConstructor0(Class.java:3075)
                at java.lang.Class.newInstance(Class.java:412)
                at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
                ... 9 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler$SheetContentsHandler
                at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
                ... 14 common frames omitted


Thanks & Regards,
KK
TCS BaNCS OPTiX | Desk +91 80 6725 3603 | Cell +91 96639 44557 | Mailto: k.koley@tcs.com<ma...@tcs.com>
Website: http://www.tcs.com<http://www.tcs.com/>

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Re: NIFI is not starting | Need Help

Posted by Pierre Villard <pi...@gmail.com>.
Hi,

What version of Java are you using?

Thanks,
Pierre

Le ven. 13 mars 2020 à 12:24, KAMALAKANTA KOLEY <k....@tcs.com.invalid> a
écrit :

> Hi Team,
>
>
>
> We are looking for help to start nifi services but it’s not working. After
> running the nifi, the status is showing as ruining state as mentioned
> below.
>
> [image: A screenshot of a computer Description automatically generated]
>
> Further we debugged it, we came across some exception into ninfi-app.log
> as mentioned below. Request you to help on this regards.
>
>
>
> 2020-03-09 11:02:14,519 INFO [main] org.apache.nifi.web.server.JettyServer
> Running in HTTP mode; host headers not restricted
>
> 2020-03-09 11:02:16,367 ERROR [main] org.apache.nifi.NiFi Failure to
> launch NiFi due to java.util.ServiceConfigurationError:
> org.apache.nifi.processor.Processor: Provider
> org.apache.nifi.processors.poi.ConvertExcelToCSVProcessor could not be
> instantiated
>
> java.util.ServiceConfigurationError: org.apache.nifi.processor.Processor:
> Provider org.apache.nifi.processors.poi.ConvertExcelToCSVProcessor could
> not be instantiated
>
>                 at java.util.ServiceLoader.fail(ServiceLoader.java:232)
>
>                 at
> java.util.ServiceLoader.access$100(ServiceLoader.java:185)
>
>                 at
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
>
>                 at
> java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
>
>                 at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
>
>                 at
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.loadExtensions(StandardExtensionDiscoveringManager.java:156)
>
>                 at
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.discoverExtensions(StandardExtensionDiscoveringManager.java:131)
>
>                 at
> org.apache.nifi.nar.StandardExtensionDiscoveringManager.discoverExtensions(StandardExtensionDiscoveringManager.java:117)
>
>                 at
> org.apache.nifi.web.server.JettyServer.start(JettyServer.java:942)
>
>                 at org.apache.nifi.NiFi.<init>(NiFi.java:158)
>
>                 at org.apache.nifi.NiFi.<init>(NiFi.java:72)
>
>                 at org.apache.nifi.NiFi.main(NiFi.java:301)
>
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler$SheetContentsHandler
>
>                 at java.lang.Class.getDeclaredConstructors0(Native Method)
>
>                 at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
>
>                 at java.lang.Class.getConstructor0(Class.java:3075)
>
>                 at java.lang.Class.newInstance(Class.java:412)
>
>                 at
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
>
>                 ... 9 common frames omitted
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler$SheetContentsHandler
>
>                 at
> java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>
>                 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>
>                 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>
>                 ... 14 common frames omitted
>
>
>
>
>
> Thanks & Regards,
>
> KK
>
> TCS BaNCS OPTiX | Desk +91 80 6725 3603 | Cell +91 96639 44557 | Mailto:
> k.koley@tcs.com
>
> Website: http://www.tcs.com
>
>
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>