Datebase errors (RDF index prepare failed)

We had a database that became inaccessible. Looking in the logs I see this:

ERROR 2017-05-31 15:41:06,936 [SPEC-Server-1-13] com.complexible.tx.api.impl.DefaultTransaction:computePrepareResult(487): There was a fatal failure during preparation of 97e17d1b-916b-452b-bec5-9a9ad8808fbf
com.complexible.tx.api.ResourceTransactionException: RDF index prepare failed
at com.complexible.stardog.db.index.ConnectableIndexRWConnectionImpl$IndexResourceTransaction.prepare(ConnectableIndexRWConnectionImpl.java:549) ~[stardog-4.0.jar:?]
at com.complexible.tx.api.BaseResourceTransaction.prepare(BaseResourceTransaction.java:193) ~[stardog-4.0.jar:?]
at com.complexible.tx.api.impl.DefaultTransaction.computePrepareResult(DefaultTransaction.java:473) [stardog-4.0.jar:?]
at com.complexible.tx.api.impl.DefaultTransaction.runPreparePhase(DefaultTransaction.java:436) [stardog-4.0.jar:?]
at com.complexible.tx.api.impl.DefaultTransaction.commit(DefaultTransaction.java:329) [stardog-4.0.jar:?]
at com.complexible.stardog.db.DatabaseConnectionImpl.commit(DatabaseConnectionImpl.java:383) [stardog-4.0.jar:?]
at com.complexible.stardog.db.DelegatingTransactionalConnectableConnection.commit(DelegatingTransactionalConnectableConnection.java:68) [stardog-4.0.jar:?]
at com.complexible.stardog.plan.eval.operator.impl.UpdateSequenceOperatorImpl.computeNext(UpdateSequenceOperatorImpl.java:81) [stardog-4.0.jar:?]
at com.complexible.stardog.plan.eval.operator.impl.UpdateSequenceOperatorImpl.computeNext(UpdateSequenceOperatorImpl.java:26) [stardog-4.0.jar:?]
at com.complexible.common.collect.AbstractSkippingIterator.tryToComputeNext(AbstractSkippingIterator.java:143) [stardog-utils-common-4.0.jar:?]
at com.complexible.common.collect.AbstractSkippingIterator.hasNext(AbstractSkippingIterator.java:130) [stardog-utils-common-4.0.jar:?]
at com.complexible.stardog.plan.eval.operator.util.AutoCloseOperator.computeNext(AutoCloseOperator.java:89) [stardog-4.0.jar:?]
at com.complexible.stardog.plan.eval.operator.util.AutoCloseOperator.computeNext(AutoCloseOperator.java:25) [stardog-4.0.jar:?]
at com.complexible.common.collect.AbstractSkippingIterator.tryToComputeNext(AbstractSkippingIterator.java:143) [stardog-utils-common-4.0.jar:?]
at com.complexible.common.collect.AbstractSkippingIterator.hasNext(AbstractSkippingIterator.java:130) [stardog-utils-common-4.0.jar:?]
at com.google.common.collect.Iterators.size(Iterators.java:191) [guava-18.0.jar:?]
at com.complexible.stardog.plan.eval.QueryEngine.executeUpdate(QueryEngine.java:154) [stardog-4.0.jar:?]
at com.complexible.stardog.query.DefaultQueryFactory$UpdateQueryImpl.execute(DefaultQueryFactory.java:310) [stardog-4.0.jar:?]
at com.complexible.stardog.query.DefaultQueryFactory$UpdateQueryImpl.execute(DefaultQueryFactory.java:289) [stardog-4.0.jar:?]
at com.complexible.stardog.query.DelegatingUpdateQuery.execute(DelegatingUpdateQuery.java:135) [stardog-4.0.jar:?]
at com.complexible.stardog.db.DatabaseImpl$TimerPauseUpdate.execute(DatabaseImpl.java:1560) [stardog-4.0.jar:?]
at com.complexible.stardog.db.DatabaseImpl$TimerPauseUpdate.execute(DatabaseImpl.java:1548) [stardog-4.0.jar:?]
at com.complexible.stardog.query.DelegatingUpdateQuery.execute(DelegatingUpdateQuery.java:135) [stardog-4.0.jar:?]
at com.complexible.stardog.StardogKernel$SecuredUpdateQuery.execute(StardogKernel.java:3666) [stardog-4.0.jar:?]
at com.complexible.stardog.StardogKernel$SecuredUpdateQuery.execute(StardogKernel.java:3653) [stardog-4.0.jar:?]
at com.complexible.stardog.protocols.server.SPECServerFunction.query(SPECServerFunction.java:517) [stardog-protocols-spec-server-4.0.jar:?]
at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) [stardog-protocols-spec-server-4.0.jar:?]
at com.complexible.common.protocols.server.rpc.ServerHandler.handleMessage(ServerHandler.java:324) [stardog-protocols-api-server-4.0.jar:?]
at com.complexible.common.protocols.server.rpc.ServerHandler.channelRead(ServerHandler.java:207) [stardog-protocols-api-server-4.0.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [netty-all-4.0.32.Final.jar:4.0.32.Final]
at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32) [netty-all-4.0.32.Final.jar:4.0.32.Final]
at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299) [netty-all-4.0.32.Final.jar:4.0.32.Final]
at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.32.Final.jar:4.0.32.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [netty-all-4.0.32.Final.jar:4.0.32.Final]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.32.Final.jar:4.0.32.Final]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: com.complexible.stardog.index.IndexException: Inconsistent index size for OSPC; expected=905366, got= 905373
at com.complexible.stardog.index.AbstractIndexData.verifySizes(AbstractIndexData.java:254) ~[stardog-4.0.jar:?]
at com.complexible.stardog.index.AbstractIndexData.updateInPlace(AbstractIndexData.java:319) ~[stardog-4.0.jar:?]
at com.complexible.stardog.index.AbstractIndexData.update(AbstractIndexData.java:263) ~[stardog-4.0.jar:?]
at com.complexible.stardog.index.SingletonIndexData.updateDirect(SingletonIndexData.java:98) ~[stardog-4.0.jar:?]
at com.complexible.stardog.index.SingletonIndexData.update(SingletonIndexData.java:93) ~[stardog-4.0.jar:?]
at com.complexible.stardog.index.IndexWriterDataMapImpl.applyChanges(IndexWriterDataMapImpl.java:239) ~[stardog-4.0.jar:?]
at com.complexible.stardog.index.IndexWriterImpl.prepare(IndexWriterImpl.java:191) ~[stardog-4.0.jar:?]
at com.complexible.stardog.index.impl.DelegatingIndexWriter.prepare(DelegatingIndexWriter.java:134) ~[stardog-4.0.jar:?]
at com.complexible.stardog.db.index.ConnectableIndexRWConnectionImpl$IndexResourceTransaction.prepare(ConnectableIndexRWConnectionImpl.java:544) ~[stardog-4.0.jar:?]
... 35 more

Then:

ERROR 2017-05-31 15:41:07,613 [SPEC-Server-1-16] com.complexible.stardog.index.statistics.AbstractCharacteristicSetStatistics:getCardinality(146): Exception occurred during cardinality estimation
java.lang.ArrayIndexOutOfBoundsException

I tried repairing the db but that failed. I dropped it and recreated it, and a few days later started getting the same errors. Now when I look on the browser admin page it does not show any databases at all.

Anyone know what is going on, and how I can recover now?

This is with 4.0

This is a bit of a wild guess but is there any chance that your drive is full?

You should also consider upgrading to the latest release.

No, drive is not full. I will see about upgrading.

You should also check that you have adequate temp space. Home | Stardog Documentation Latest

How do I see what java.io.tmpdir is set to and how do I change it if I want to?

You can change the location of the temp directory by setting the following environment variable

STARDOG_JAVA_ARGS="-Djava.io.tmpdir=/path/to/tmpdir"

The default location for the JVM temp directory is going to be platform dependent but generally on Unix systems it will be /tmp or /var/tmp and on windows it will be c:\temp

So we found what we think the issue was - we run stardog in a docker container and there were 3 containers running and all were writing to the same database. One of those containers was running version 5 and 2 were running version 4. The db was a version 4. We have shutdown the extra 2 containers but now we cannot start the serve. It fails with messages shown below.

We need to get back to running version 4 for now and then we will look at upgrading. How can I fix this so we can be up again?

The messages as too long to post. Here is part 1:

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.RuntimeException: Could not load system index: system
    com.complexible.stardog.virtual.DefaultVirtualGraphRegistry
    com.complexible.stardog.virtual.VirtualGraphService.()
    com.complexible.stardog.BaseStardogModule.getSecurityManager() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    com.complexible.stardog.plan.eval.service.DefaultServiceRegistry.()
    com.complexible.stardog.security.ldap.LDAPRealmFactory.()
    com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.()
    com.complexible.stardog.StardogKernel
    com.complexible.stardog.search.waldo.WaldoModule.configure(WaldoModule.java:43) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.search.waldo.WaldoModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    com.complexible.stardog.BaseStardogModule.getSystemSecurityManager() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    com.complexible.stardog.security.SecurityModule.configure(SecurityModule.java:51) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.security.SecurityModule)
    com.complexible.stardog.BaseStardogModule.configure(BaseStardogModule.java:120) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    com.complexible.stardog.security.StardogSecurityManagerImpl
    com.complexible.stardog.StardogKernel.()
    com.complexible.stardog.virtual.VirtualGraphConnectableFactory
    com.complexible.stardog.virtual.VirtualGraphConnectableFactory.()
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    com.complexible.stardog.security.StardogSecurityManagerImpl.()
    com.complexible.stardog.security.SecurityModule.configure(SecurityModule.java:63) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.security.SecurityModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:24) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    com.complexible.stardog.db.DatabaseFactoryImpl
    com.complexible.stardog.plan.eval.service.DefaultServiceRegistry
    com.complexible.stardog.security.DefaultNamedGraphSecurityManager
    com.complexible.stardog.db.DatabaseFactoryImpl.()
    com.complexible.stardog.BaseStardogModule.getSecurityManager()
    com.complexible.stardog.security.DefaultNamedGraphSecurityManager.()
    com.complexible.stardog.virtual.VirtualGraphService
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:26) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    com.complexible.stardog.security.ldap.LDAPRealmFactory
    com.complexible.stardog.BaseStardogModule.getSystemIndex() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    com.complexible.stardog.virtual.MappingsStore.()
    Caused by:
    java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:285)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.complexible.stardog.virtual.MappingsStore.(MappingsStore.java:49)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:86)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at com.complexible.stardog.Stardog.initKernel(Stardog.java:212)
    at com.complexible.stardog.Stardog.(Stardog.java:205)
    at com.complexible.stardog.Stardog.(Stardog.java:61)
    at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:552)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:139)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:35)
    at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
    at com.complexible.stardog.cli.admin.CLI.main(CLI.java:171)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 16387
    at com.complexible.common.io.mem.MemoryByteReader.readByte(MemoryByteReader.java:41)
    at com.complexible.common.io.impl.AbstractByteReader.readVLong(AbstractByteReader.java:70)
    at com.complexible.stardog.index.statistics.AbstractCharacteristicSetCompressor.readLongIntMap(AbstractCharacteristicSetCompressor.java:50)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSets$DiskCharacteristicSetCompressor.decompressFrom(DiskCharacteristicSets.java:260)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSets$DiskCharacteristicSetCompressor.decompressFrom(DiskCharacteristicSets.java:255)
    at com.complexible.stardog.index.disk.compression.AbstractDataCompressor.decompress(AbstractDataCompressor.java:166)
    at com.complexible.stardog.index.disk.btree.impl.PagedKeysIO.read(PagedKeysIO.java:49)
    at com.complexible.stardog.index.disk.btree.impl.ArrayKeys.(ArrayKeys.java:39)
    at com.complexible.stardog.index.disk.btree.impl.ArrayKeys$Factory.create(ArrayKeys.java:179)
    at com.complexible.stardog.index.disk.btree.BPlusTreeFactory.build(BPlusTreeFactory.java:180)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSetsStatisticsLoader.doLoad(DiskCharacteristicSetsStatisticsLoader.java:78)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSetsStatisticsLoader.load(DiskCharacteristicSetsStatisticsLoader.java:54)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSetsStatisticsLoader.load(DiskCharacteristicSetsStatisticsLoader.java:38)
    at com.complexible.stardog.index.disk.DiskIndex.(DiskIndex.java:40)
    at com.complexible.stardog.index.disk.DefaultDiskIndexReader.read(DefaultDiskIndexReader.java:117)
    at com.complexible.stardog.index.io.IndexIO.read(IndexIO.java:305)
    at com.complexible.stardog.index.io.IndexIO.read(IndexIO.java:230)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:250)
    ... 84 more
    Unable to provision, see the following errors:

And is part 2 of the messages:

  1. Error in custom provider, java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.index.Index annotated with @com.google.inject.name.Named(value=system.index)
    at com.complexible.stardog.virtual.MappingsStore.(MappingsStore.java:48)
    while locating com.complexible.stardog.virtual.MappingsStore
    for parameter 1 at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.(DefaultVirtualGraphRegistry.java:85)
    while locating com.complexible.stardog.virtual.DefaultVirtualGraphRegistry
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:24) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    while locating com.complexible.stardog.virtual.VirtualGraphRegistry
    for parameter 0 at com.complexible.stardog.virtual.VirtualGraphConnectableFactory.(VirtualGraphConnectableFactory.java:29)
    while locating com.complexible.stardog.virtual.VirtualGraphConnectableFactory
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:26) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    while locating com.complexible.stardog.db.ConnectableFactory annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=85, type=MULTIBINDER, keyType=)
    at com.complexible.stardog.search.waldo.WaldoModule.configure(WaldoModule.java:43) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.search.waldo.WaldoModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<com.complexible.stardog.db.ConnectableFactory>
    for parameter 0 at com.complexible.stardog.db.DatabaseFactoryImpl.(DatabaseFactoryImpl.java:81)
    while locating com.complexible.stardog.db.DatabaseFactoryImpl
    while locating com.complexible.stardog.db.DatabaseFactory
    for parameter 0 at com.complexible.stardog.StardogKernel.(StardogKernel.java:202)
    at com.complexible.stardog.StardogKernel.class(StardogKernel.java:202)
    while locating com.complexible.stardog.StardogKernel
    while locating com.complexible.stardog.Kernel
    Caused by: java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:285)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.complexible.stardog.virtual.MappingsStore.(MappingsStore.java:49)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:86)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at com.complexible.stardog.Stardog.initKernel(Stardog.java:212)
    at com.complexible.stardog.Stardog.(Stardog.java:205)
    at com.complexible.stardog.Stardog.(Stardog.java:61)
    at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:552)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:139)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:35)
    at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
    at com.complexible.stardog.cli.admin.CLI.main(CLI.java:171)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 16387
    at com.complexible.common.io.mem.MemoryByteReader.readByte(MemoryByteReader.java:41)
    at com.complexible.common.io.impl.AbstractByteReader.readVLong(AbstractByteReader.java:70)
    at com.complexible.stardog.index.statistics.AbstractCharacteristicSetCompressor.readLongIntMap(AbstractCharacteristicSetCompressor.java:50)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSets$DiskCharacteristicSetCompressor.decompressFrom(DiskCharacteristicSets.java:260)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSets$DiskCharacteristicSetCompressor.decompressFrom(DiskCharacteristicSets.java:255)
    at com.complexible.stardog.index.disk.compression.AbstractDataCompressor.decompress(AbstractDataCompressor.java:166)
    at com.complexible.stardog.index.disk.btree.impl.PagedKeysIO.read(PagedKeysIO.java:49)
    at com.complexible.stardog.index.disk.btree.impl.ArrayKeys.(ArrayKeys.java:39)
    at com.complexible.stardog.index.disk.btree.impl.ArrayKeys$Factory.create(ArrayKeys.java:179)
    at com.complexible.stardog.index.disk.btree.BPlusTreeFactory.build(BPlusTreeFactory.java:180)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSetsStatisticsLoader.doLoad(DiskCharacteristicSetsStatisticsLoader.java:78)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSetsStatisticsLoader.load(DiskCharacteristicSetsStatisticsLoader.java:54)
    at com.complexible.stardog.index.disk.statistics.DiskCharacteristicSetsStatisticsLoader.load(DiskCharacteristicSetsStatisticsLoader.java:38)
    at com.complexible.stardog.index.disk.DiskIndex.(DiskIndex.java:40)
    at com.complexible.stardog.index.disk.DefaultDiskIndexReader.read(DefaultDiskIndexReader.java:117)
    at com.complexible.stardog.index.io.IndexIO.read(IndexIO.java:305)
    at com.complexible.stardog.index.io.IndexIO.read(IndexIO.java:230)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:250)
    … 84 more

  2. Error in custom provider, java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.index.Index annotated with @com.google.inject.name.Named(value=system.index)
    at com.complexible.stardog.virtual.MappingsStore.(MappingsStore.java:48)
    while locating com.complexible.stardog.virtual.MappingsStore
    for parameter 1 at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.(DefaultVirtualGraphRegistry.java:85)
    while locating com.complexible.stardog.virtual.DefaultVirtualGraphRegistry
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:24) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    while locating com.complexible.stardog.virtual.VirtualGraphRegistry
    for parameter 0 at com.complexible.stardog.virtual.VirtualGraphService.(VirtualGraphService.java:48)
    while locating com.complexible.stardog.virtual.VirtualGraphService
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    while locating com.complexible.stardog.plan.eval.service.Service annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=84, type=MULTIBINDER, keyType=)
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<com.complexible.stardog.plan.eval.service.Service>
    for parameter 0 at com.complexible.stardog.plan.eval.service.DefaultServiceRegistry.(DefaultServiceRegistry.java:23)
    while locating com.complexible.stardog.plan.eval.service.DefaultServiceRegistry
    at com.complexible.stardog.BaseStardogModule.configure(BaseStardogModule.java:120) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.plan.eval.service.ServiceRegistry
    for parameter 6 at com.complexible.stardog.db.DatabaseFactoryImpl.(DatabaseFactoryImpl.java:81)
    while locating com.complexible.stardog.db.DatabaseFactoryImpl
    while locating com.complexible.stardog.db.DatabaseFactory
    for parameter 0 at com.complexible.stardog.StardogKernel.(StardogKernel.java:202)
    at com.complexible.stardog.StardogKernel.class(StardogKernel.java:202)
    while locating com.complexible.stardog.StardogKernel
    while locating com.complexible.stardog.Kernel
    Caused by: java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:285)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.complexible.stardog.virtual.MappingsStore.(MappingsStore.java:49)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:86)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at com.complexible.stardog.Stardog.initKernel(Stardog.java:212)
    at com.complexible.stardog.Stardog.(Stardog.java:205)
    at com.complexible.stardog.Stardog.(Stardog.java:61)
    at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:552)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:139)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:35)
    at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
    at com.complexible.stardog.cli.admin.CLI.main(CLI.java:171)
    Caused by: java.lang.ArrayIndexOutOfBoundsException

And part 3:

  1. Error in custom provider, java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.index.Index annotated with @com.google.inject.name.Named(value=system.index)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:179) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:179) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.security.SystemSecurityManager
    for parameter 1 at com.complexible.stardog.security.ldap.LDAPRealmFactory.(LDAPRealmFactory.java:37)
    while locating com.complexible.stardog.security.ldap.LDAPRealmFactory
    while locating com.complexible.stardog.security.shiro.RealmFactory annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=76, type=MULTIBINDER, keyType=)
    at com.complexible.stardog.security.SecurityModule.configure(SecurityModule.java:63) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.security.SecurityModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<com.complexible.stardog.security.shiro.RealmFactory>
    for parameter 1 at com.complexible.stardog.BaseStardogModule.getSecurityManager(BaseStardogModule.java:131)
    at com.complexible.stardog.BaseStardogModule.getSecurityManager(BaseStardogModule.java:131) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSecurityManager(BaseStardogModule.java:131) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating org.apache.shiro.mgt.SecurityManager
    for parameter 11 at com.complexible.stardog.StardogKernel.(StardogKernel.java:202)
    at com.complexible.stardog.StardogKernel.class(StardogKernel.java:202)
    while locating com.complexible.stardog.StardogKernel
    while locating com.complexible.stardog.Kernel
    Caused by: java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:285)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.complexible.stardog.security.index.IndexSystemSecurityManagerFactory.create(IndexSystemSecurityManagerFactory.java:55)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:186)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:104)
    at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:104)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at com.complexible.stardog.Stardog.initKernel(Stardog.java:212)
    at com.complexible.stardog.Stardog.(Stardog.java:205)
    at com.complexible.stardog.Stardog.(Stardog.java:61)
    at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:552)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:139)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:35)
    at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
    at com.complexible.stardog.cli.admin.CLI.main(CLI.java:171)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
  1. Error in custom provider, java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.index.Index annotated with @com.google.inject.name.Named(value=system.index)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:179) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:179) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.security.SystemSecurityManager
    for parameter 1 at com.complexible.stardog.security.StardogSecurityManagerImpl.(StardogSecurityManagerImpl.java:62)
    while locating com.complexible.stardog.security.StardogSecurityManagerImpl
    at com.complexible.stardog.security.SecurityModule.configure(SecurityModule.java:51) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.security.SecurityModule)
    while locating com.complexible.stardog.security.StardogSecurityManager
    for parameter 12 at com.complexible.stardog.StardogKernel.(StardogKernel.java:202)
    at com.complexible.stardog.StardogKernel.class(StardogKernel.java:202)
    while locating com.complexible.stardog.StardogKernel
    while locating com.complexible.stardog.Kernel
    Caused by: java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:285)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.complexible.stardog.security.index.IndexSystemSecurityManagerFactory.create(IndexSystemSecurityManagerFactory.java:55)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:186)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at com.complexible.stardog.Stardog.initKernel(Stardog.java:212)
    at com.complexible.stardog.Stardog.(Stardog.java:205)
    at com.complexible.stardog.Stardog.(Stardog.java:61)
    at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:552)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:139)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:35)
    at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
    at com.complexible.stardog.cli.admin.CLI.main(CLI.java:171)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
  1. Error in custom provider, java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.index.Index annotated with @com.google.inject.name.Named(value=system.index)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:179) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:179) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.security.SystemSecurityManager
    for parameter 0 at com.complexible.stardog.security.DefaultNamedGraphSecurityManager.(DefaultNamedGraphSecurityManager.java:58)
    while locating com.complexible.stardog.security.DefaultNamedGraphSecurityManager
    while locating com.complexible.stardog.security.NamedGraphSecurityManager
    for parameter 13 at com.complexible.stardog.StardogKernel.(StardogKernel.java:202)
    at com.complexible.stardog.StardogKernel.class(StardogKernel.java:202)
    while locating com.complexible.stardog.StardogKernel
    while locating com.complexible.stardog.Kernel
    Caused by: java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:285)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.complexible.stardog.security.index.IndexSystemSecurityManagerFactory.create(IndexSystemSecurityManagerFactory.java:55)
    at com.complexible.stardog.BaseStardogModule.getSystemSecurityManager(BaseStardogModule.java:186)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at com.complexible.stardog.Stardog.initKernel(Stardog.java:212)
    at com.complexible.stardog.Stardog.(Stardog.java:205)
    at com.complexible.stardog.Stardog.(Stardog.java:61)
    at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:552)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:139)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:35)
    at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
    at com.complexible.stardog.cli.admin.CLI.main(CLI.java:171)
    Caused by: java.lang.ArrayIndexOutOfBoundsException

And the remainder:

  1. Error in custom provider, java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:232) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.index.Index annotated with @com.google.inject.name.Named(value=system.index)
    at com.complexible.stardog.virtual.MappingsStore.(MappingsStore.java:48)
    while locating com.complexible.stardog.virtual.MappingsStore
    for parameter 1 at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.(DefaultVirtualGraphRegistry.java:85)
    while locating com.complexible.stardog.virtual.DefaultVirtualGraphRegistry
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:24) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    while locating com.complexible.stardog.virtual.VirtualGraphRegistry
    for parameter 0 at com.complexible.stardog.virtual.VirtualGraphService.(VirtualGraphService.java:48)
    while locating com.complexible.stardog.virtual.VirtualGraphService
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    while locating com.complexible.stardog.plan.eval.service.Service annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=84, type=MULTIBINDER, keyType=)
    at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    while locating java.util.Set<com.complexible.stardog.plan.eval.service.Service>
    for parameter 0 at com.complexible.stardog.plan.eval.service.DefaultServiceRegistry.(DefaultServiceRegistry.java:23)
    while locating com.complexible.stardog.plan.eval.service.DefaultServiceRegistry
    at com.complexible.stardog.BaseStardogModule.configure(BaseStardogModule.java:120) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    while locating com.complexible.stardog.plan.eval.service.ServiceRegistry
    for parameter 16 at com.complexible.stardog.StardogKernel.(StardogKernel.java:202)
    at com.complexible.stardog.StardogKernel.class(StardogKernel.java:202)
    while locating com.complexible.stardog.StardogKernel
    while locating com.complexible.stardog.Kernel
    Caused by: java.lang.RuntimeException: Could not load system index: system
    at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:285)
    at com.complexible.stardog.BaseStardogModule$$FastClassByGuice$$920e5968.invoke()
    at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
    at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.complexible.stardog.virtual.MappingsStore.(MappingsStore.java:49)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:86)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
    at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
    at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
    at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
    at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at com.complexible.stardog.Stardog.initKernel(Stardog.java:212)
    at com.complexible.stardog.Stardog.(Stardog.java:205)
    at com.complexible.stardog.Stardog.(Stardog.java:61)
    at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:552)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:139)
    at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:35)
    at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
    at com.complexible.stardog.cli.admin.CLI.main(CLI.java:171)
    Caused by: java.lang.ArrayIndexOutOfBoundsException

6 errors

Looks like part of my post was blocked by the spam filter. So I'll try again.

We think we found what the issue was. We run stardog in a docker container, and there were 3 docker containers running all pointing at the same SD DB. One of the containers was running version 5 and 2 were running 4. I think this corrupted the DB. But now how can we recover. With one container running 4, I cannot start the server. I get:

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.RuntimeException: Could not load system index: system
    com.complexible.stardog.virtual.DefaultVirtualGraphRegistry
    com.complexible.stardog.virtual.VirtualGraphService.()
    com.complexible.stardog.BaseStardogModule.getSecurityManager() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    com.complexible.stardog.plan.eval.service.DefaultServiceRegistry.()
    com.complexible.stardog.security.ldap.LDAPRealmFactory.()
    com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.()
    com.complexible.stardog.StardogKernel
    com.complexible.stardog.search.waldo.WaldoModule.configure(WaldoModule.java:43) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.search.waldo.WaldoModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    com.complexible.stardog.BaseStardogModule.getSystemSecurityManager() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    com.complexible.stardog.security.SecurityModule.configure(SecurityModule.java:51) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.security.SecurityModule)
    com.complexible.stardog.BaseStardogModule.configure(BaseStardogModule.java:120) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
    com.complexible.stardog.security.StardogSecurityManagerImpl
    com.complexible.stardog.StardogKernel.()
    com.complexible.stardog.virtual.VirtualGraphConnectableFactory
    com.complexible.stardog.virtual.VirtualGraphConnectableFactory.()
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    com.complexible.stardog.security.StardogSecurityManagerImpl.()
    com.complexible.stardog.security.SecurityModule.configure(SecurityModule.java:63) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.security.SecurityModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:24) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    com.complexible.stardog.db.DatabaseFactoryImpl
    com.complexible.stardog.plan.eval.service.DefaultServiceRegistry
    com.complexible.stardog.security.DefaultNamedGraphSecurityManager
    com.complexible.stardog.db.DatabaseFactoryImpl.()
    com.complexible.stardog.BaseStardogModule.getSecurityManager()
    com.complexible.stardog.security.DefaultNamedGraphSecurityManager.()
    com.complexible.stardog.virtual.VirtualGraphService
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:23) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:26) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
    com.complexible.stardog.security.ldap.LDAPRealmFactory
    com.complexible.stardog.BaseStardogModule.getSystemIndex() (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)

Followed by lots more output

I deleted everything and then I was able to start the server.

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