There was an error initializing Stardog; one or more dependencies could not be satisfied. Please verify your classpath is correct.

I couldn't connect to localhost so I removed a user using CLI and then created a superuser with the same deleted name and now I can't start server and get the following error:

There was an error initializing Stardog; one or more dependencies could not be satisfied. Please verify your classpath is correct.
The initialization errors were:

  •  Error in custom provider, java.lang.IllegalArgumentException: Multiple entries with same key: tag:stardog.com:2011-10-11:stardog:security:User:494589b41abfd57dd2310e66e2654ef2=user:xxx and tag:stardog.com:2011-10-11:stardog:security:User:494589b41abfd57dd2310e66e2654ef2=user:xxx
             com.complexible.stardog.BaseStardogModule.getSystemSecurityManager() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
             com.complexible.stardog.BaseStardogModule.getSecurityManager()
             com.complexible.stardog.BaseStardogModule.getSecurityManager() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
             com.complexible.stardog.StardogKernel.<init>()
             com.complexible.stardog.security.ldap.LDAPRealmFactory.<init>()
             com.complexible.stardog.StardogKernel
             com.complexible.stardog.security.ldap.LDAPRealmFactory
     Caused by:
    

java.lang.IllegalArgumentException: Multiple entries with same key: tag:stardog.com:2011-10-11:stardog:security:User:494589b41abfd57dd2310e66e2654ef2=user:xxx and tag:stardog.com:2011-10-11:stardog:security:User:494589b41abfd57dd2310e66e2654ef2=user:xxx
at com.google.common.collect.ImmutableMap.conflictException(ImmutableMap.java:210)
at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:204)
at com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket(RegularImmutableMap.java:146)
at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:109)
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:389)
at com.complexible.stardog.security.impl.IndexBasedExistingSecurityResourcesLoader.usersMap(IndexBasedExistingSecurityResourcesLoader.java:79)
at com.complexible.stardog.security.impl.AbstractExistingSecurityResourcesLoader.load(AbstractExistingSecurityResourcesLoader.java:93)
at com.complexible.stardog.security.impl.AbstractExistingSecurityResourcesLoader.existingUsers(AbstractExistingSecurityResourcesLoader.java:125)
at com.complexible.stardog.security.index.IndexAuthenticationManager.refresh(IndexAuthenticationManager.java:97)
at com.complexible.stardog.security.index.IndexAuthenticationManager.(IndexAuthenticationManager.java:70)
at com.complexible.stardog.security.index.IndexBackedSystemSecurityManager.(IndexBackedSystemSecurityManager.java:57)
at com.complexible.stardog.security.index.IndexSystemSecurityManagerFactory.create(IndexSystemSecurityManagerFactory.java:84)
at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:260)
at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:264)
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:173)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
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.FactoryProxy.get(FactoryProxy.java:62)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.internal.RealMultibinder$RealMultibinderProvider.doProvision(RealMultibinder.java:198)
at com.google.inject.internal.RealMultibinder$RealMultibinderProvider.doProvision(RealMultibinder.java:151)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$Factory.get(InternalProviderInstanceBindingImpl.java:113)
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.ProviderMethod.doProvision(ProviderMethod.java:173)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185)
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162)
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.InjectorImpl$1.get(InjectorImpl.java:1094)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1131)
at com.complexible.stardog.Stardog.initKernel(Stardog.java:250)
at com.complexible.stardog.Stardog.(Stardog.java:238)
at com.complexible.stardog.Stardog.(Stardog.java:65)
at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:663)
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:177)
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:43)
at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
at com.complexible.stardog.cli.admin.CLI.main(CLI.java:228)
Unable to provision, see the following errors:

  1. Error in custom provider, java.lang.IllegalArgumentException: Multiple entries with same key: tag:stardog.com:2011-10-11:stardog:security:User:494589b41abfd57dd2310e66e2654ef2=user:xxx and tag:stardog.com:2011-10-11:stardog:security:User:494589b41abfd57dd2310e66e2654ef2=user:xxx
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:250) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.security.SystemSecurityManager
    for the 2nd parameter of com.complexible.stardog.security.ldap.LDAPRealmFactory.(LDAPRealmFactory.java:42)
    while locating com.complexible.stardog.security.ldap.LDAPRealmFactory
    while locating com.complexible.stardog.security.shiro.RealmFactory annotated with @com.google.inject.internal.Element(setName=,uniqueId=36, type=MULTIBINDER, keyType=)
    while locating java.util.Set<com.complexible.stardog.security.shiro.RealmFactory>
    for the 2nd parameter of com.complexible.stardog.BaseStardogModule.getSecurityManager(BaseStardogModule.java:203)
    at com.complexible.stardog.BaseStardogModule.getSecurityManager(BaseStardogModule.java:203) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating org.apache.shiro.mgt.SecurityManager
    for the 13th parameter of com.complexible.stardog.StardogKernel.(StardogKernel.java:328)
    at com.complexible.stardog.StardogKernel.class(StardogKernel.java:328)
    while locating com.complexible.stardog.StardogKernel
    while locating com.complexible.stardog.Kernel

1 error
*

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.