[
https://issues.apache.org/jira/browse/MINIFI-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209972#comment-16209972
]
ASF GitHub Bot commented on MINIFI-405:
---------------------------------------
GitHub user apiri opened a pull request:
https://github.com/apache/nifi-minifi/pull/96
MINIFI-405 Including dependencies needed by core framework
MINIFI-405 Including dependencies needed by core framework that were
previously transitively included
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apiri/nifi-minifi minifi-405
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-minifi/pull/96.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #96
----
commit 3ed6c2219f68d1c4c1365837780959a55d63b085
Author: Aldrin Piri <[email protected]>
Date: 2017-10-18T16:45:16Z
MINIFI-405 Including dependencies needed by core framework that were
previously transitively included
----
> java.lang.NoClassDefFoundError: org/apache/nifi/security/util/KeyStoreUtils
> when MiNiFi starts
> ----------------------------------------------------------------------------------------------
>
> Key: MINIFI-405
> URL: https://issues.apache.org/jira/browse/MINIFI-405
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Arpit Gupta
> Assignee: Aldrin Piri
> Priority: Blocker
> Attachments: JsonParseException-config.yml, config.yml
>
>
> Running MiNiFi from master leads to a CNF error on startup
> {code}
> 2017-10-13 20:00:24,348 INFO [main] org.apache.nifi.minifi.MiNiFiServer
> Loading Flow...
> 2017-10-13 20:00:24,417 INFO [main] o.a.nifi.util.FileBasedVariableRegistry
> Loaded 96 properties from system properties and environment variables
> 2017-10-13 20:00:24,417 INFO [main] o.a.nifi.util.FileBasedVariableRegistry
> Loaded a total of 96 properties. Including precedence overrides effective
> accessible registry key size is 96
> 2017-10-13 20:00:24,445 ERROR [main] org.apache.nifi.minifi.MiNiFi Failure to
> launch MiNiFi due to java.lang.NoClassDefFoundError:
> org/apache/nifi/security/util/KeyStoreUtils
> java.lang.NoClassDefFoundError: org/apache/nifi/security/util/KeyStoreUtils
> at
> org.apache.nifi.framework.security.util.SslContextFactory.createSslContext(SslContextFactory.java:73)
> at
> org.apache.nifi.controller.FlowController.<init>(FlowController.java:453)
> at
> org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:388)
> at org.apache.nifi.minifi.MiNiFiServer.start(MiNiFiServer.java:94)
> at org.apache.nifi.minifi.MiNiFi.<init>(MiNiFi.java:140)
> at org.apache.nifi.minifi.MiNiFi.main(MiNiFi.java:239)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.nifi.security.util.KeyStoreUtils
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 6 common frames omitted
> 2017-10-13 20:00:24,447 INFO [Thread-1] org.apache.nifi.minifi.MiNiFi
> Initiating shutdown of MiNiFi server...
> 2017-10-13 20:00:24,447 WARN [Thread-1] org.apache.nifi.minifi.MiNiFiServer
> Problem occurred ensuring flow controller or repository was properly
> terminated due to java.lang.NullPointerException
> 2017-10-13 20:00:24,448 ERROR [Thread-1] org.apache.nifi.BootstrapListener
> Failed to communicate with Bootstrap. Bootstrap may be unable to issue or
> receive commands from MiNiFi
> 2017-10-13 20:00:24,448 INFO [Thread-1] org.apache.nifi.minifi.MiNiFi MiNiFi
> server shutdown completed (nicely or otherwise).
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)