Page MenuHomePhabricator
Paste P7965

(An Untitled Masterwork)
ActivePublic

Authored by Paladox on Jan 7 2019, 10:21 PM.
[2019-01-07 22:16:38,676] [PluginScanner] WARN com.google.gerrit.server.plugins.PluginLoader : Cannot load plugin github-plugin
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) Error injecting constructor, java.lang.NullPointerException: HTTP Header for GitHub user must be provided
at com.googlesource.gerrit.plugins.github.oauth.GitHubOAuthConfig.<init>(GitHubOAuthConfig.java:76)
at com.googlesource.gerrit.plugins.github.oauth.GitHubOAuthConfig.class(GitHubOAuthConfig.java:64)
while locating com.googlesource.gerrit.plugins.github.oauth.GitHubOAuthConfig
for the 2nd parameter of com.googlesource.gerrit.plugins.github.oauth.IdentifiedUserGitHubLoginProvider.<init>(IdentifiedUserGitHubLoginProvider.java:48)
at com.googlesource.gerrit.plugins.github.oauth.IdentifiedUserGitHubLoginProvider.class(IdentifiedUserGitHubLoginProvider.java:31)
while locating com.googlesource.gerrit.plugins.github.oauth.IdentifiedUserGitHubLoginProvider
while locating com.googlesource.gerrit.plugins.github.oauth.UserScopedProvider<com.googlesource.gerrit.plugins.github.oauth.GitHubLogin>
for the 1st parameter of com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache$OrganisationLoader.<init>(GitHubGroupsCache.java:59)
while locating com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache$OrganisationLoader
at com.google.gerrit.server.cache.CacheModule.bindCacheLoader(CacheModule.java:100) (via modules: com.googlesource.gerrit.plugins.github.GuiceModule -> com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache$1)
while locating com.google.common.cache.CacheLoader<java.lang.String, com.googlesource.gerrit.plugins.github.groups.OrganizationStructure> annotated with @com.google.inject.name.Named(value=groups)
at com.google.gerrit.server.cache.CacheModule.bindCache(CacheModule.java:173) (via modules: com.googlesource.gerrit.plugins.github.GuiceModule -> com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache$1)
while locating com.google.common.cache.Cache<java.lang.String, com.googlesource.gerrit.plugins.github.groups.OrganizationStructure> annotated with @com.google.inject.name.Named(value=groups)
Caused by: java.lang.NullPointerException: HTTP Header for GitHub user must be provided
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:895)
at com.googlesource.gerrit.plugins.github.oauth.GitHubOAuthConfig.<init>(GitHubOAuthConfig.java:81)
at com.googlesource.gerrit.plugins.github.oauth.GitHubOAuthConfig$$FastClassByGuice$$eec0905a.newInstance(<generated>)
at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:62)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:62)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1050)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:111)
at com.google.gerrit.server.cache.CacheProvider.loader(CacheProvider.java:155)
at com.google.gerrit.server.cache.PersistentCacheProvider.get(PersistentCacheProvider.java:131)

Event Timeline

Paladox created this paste.Jan 7 2019, 10:21 PM