nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Skora <jsk...@gmail.com>
Subject Exception starting master branch
Date Sun, 31 Jul 2016 16:57:19 GMT
I get the exception shown below trying to start a current build of master
branch.  It's a stock configuration except for the nifi.ui.banner.text and
nifi.sensitive.props.key properties.  I don't see anything obvious in the
logs indicating some other root problem.

While starting up the instance, ExtensionManager.discoverExtensions() call
loadExtesions() on the ClassLoader for
nifi-kerberos-iaa-providers-nar-1.0.0-SNAPSHOT.nar-unpacked.  When
loadExtensions() reaches definitionMap LoginIdentityProvider entry, there
are no values in the definitionMap.  Finally, when it tries to iterate over
serviceLoader at line 107, it throws this exception.


2016-07-31 12:24:37,926 INFO [main] o.a.n.c.repository.FileSystemRepository
> Initializing FileSystemRepository with 'Always Sync' set to false
> 2016-07-31 12:29:45,224 ERROR [main] org.apache.nifi.NiFi Failure to
> launch NiFi due to java.util.ServiceConfigurationError:
> org.apache.nifi.authentication.LoginIdentityProvider: Provider
> org.apache.nifi.kerberos.KerberosProvider could not be instantiated
> java.util.ServiceConfigurationError:
> org.apache.nifi.authentication.LoginIdentityProvider: Provider
> org.apache.nifi.kerberos.KerberosProvider could not be instantiated
> at java.util.ServiceLoader.fail(ServiceLoader.java:232) ~[na:1.8.0_77]
> at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
> ~[na:1.8.0_77]
> at
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
> ~[na:1.8.0_77]
> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
> ~[na:1.8.0_77]
> at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[na:1.8.0_77]
> at
> org.apache.nifi.nar.ExtensionManager.loadExtensions(ExtensionManager.java:107)
> ~[nifi-nar-utils-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
> at
> org.apache.nifi.nar.ExtensionManager.discoverExtensions(ExtensionManager.java:88)
> ~[nifi-nar-utils-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
> at org.apache.nifi.NiFi.<init>(NiFi.java:120)
> ~[nifi-runtime-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
> at org.apache.nifi.NiFi.main(NiFi.java:227)
> ~[nifi-runtime-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/nifi/authorization/exception/ProviderCreationException
> at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.8.0_77]
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
> ~[na:1.8.0_77]
> at java.lang.Class.getConstructor0(Class.java:3075) ~[na:1.8.0_77]
> at java.lang.Class.newInstance(Class.java:412) ~[na:1.8.0_77]
> at
> java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
> ~[na:1.8.0_77]
> ... 6 common frames omitted
> Caused by: java.lang.ClassNotFoundException:
> org.apache.nifi.authorization.exception.ProviderCreationException
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> ~[na:1.8.0_77]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_77]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_77]
> ... 11 common frames omitted
> 2016-07-31 12:29:45,225 INFO [Thread-1] org.apache.nifi.NiFi Initiating
> shutdown of Jetty web server...
> 2016-07-31 12:29:45,226 INFO [Thread-1] org.apache.nifi.NiFi Jetty web
> server shutdown completed (nicely or otherwise).

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message