planetarium / libplanet

Blockchain in C#/.NET for on-chain, decentralized gaming
https://docs.libplanet.io/
GNU Lesser General Public License v2.1
506 stars 142 forks source link

Explorer crashes during start-up #1398

Closed longfin closed 1 year ago

longfin commented 3 years ago
Unhandled Exception: System.ArgumentException: An item with the same key has already been added. Key: 8957fdfe-54ba-48a6-ab7b-3b6122dd9da7
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at RocksDbSharp.RocksDb.Open(DbOptions options, String path, ColumnFamilies columnFamilies)
   at Libplanet.RocksDBStore.MonoRocksDBStore.RocksDBUtils.OpenRocksDb(DbOptions options, String dbPath, ColumnFamilies columnFamilies) in /app/Libplanet.RocksDBStore/MonoRocksDBStore.cs:line 745
   at Libplanet.RocksDBStore.MonoRocksDBStore..ctor(String path, Int32 blockCacheSize, Int32 txCacheSize, Nullable`1 maxTotalWalSize, Nullable`1 keepLogFileNum, Nullable`1 maxLogFileSize) in /app/Libplanet.RocksDBStore/MonoRocksDBStore.cs:line 132
   at Libplanet.Explorer.Executable.Program.LoadStore(Options options) in /app/Libplanet.Explorer.Executable/Program.cs:line 297
   at Libplanet.Explorer.Executable.Program.Run(String storePath, String storeType, String genesisBlockPath, Boolean debug, String host, Int32 port, Int32 blockIntervalMilliseconds, Int64 minimumDifficulty, Int32 difficultyBoundDivisor, Int32 workers, String appProtocolVersionToken, String mysqlServer, Nullable`1 mysqlPort, String mysqlUsername, String mysqlPassword, String mysqlDatabase, Int32 maxTransactionsPerBlock, Int32 maxBlockBytes, Int32 maxGenesisBytes, String[] seedStrings, String iceServerUrl) in /app/Libplanet.Explorer.Executable/Program.cs:line 179
   at Cocona.Command.Dispatcher.Middlewares.CoconaCommandInvokeMiddleware.DispatchAsync(CommandDispatchContext ctx)
   at Cocona.Command.Dispatcher.Middlewares.HandleParameterBindExceptionMiddleware.DispatchAsync(CommandDispatchContext ctx)
   at Cocona.Command.Dispatcher.Middlewares.HandleExceptionAndExitMiddleware.DispatchAsync(CommandDispatchContext ctx)
   at Cocona.Command.Dispatcher.CoconaCommandDispatcher.DispatchAsync(CancellationToken cancellationToken)
   at Cocona.Lite.Hosting.CoconaLiteAppHost.RunAsyncCore(CancellationToken cancellationToken)
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.