Closed earlbread closed 4 years ago
At the time this issue was filed Swarm<T>.BroadcastTxAsync()
method hadn't logged the detailed exception traceback, but now it shows:
06:28:32[@9e66F6faF87109163BFB7cdBfB62685DfbE1Fcea][12] - An unexpected exception occured during BroadcastTxAsync(): System.NullReferenceException: Object reference not set to an instance of an object.
at LiteDB.StreamExtensions.<>c__DisplayClass4_0.<TryLock>b__0()
at LiteDB.FileHelper.TryExec(Action action, TimeSpan timeout)
at LiteDB.StreamExtensions.TryLock(FileStream stream, Int64 position, Int64 length, TimeSpan timeout)
at LiteDB.FileDiskService.Lock(LockState state, TimeSpan timeout)
at LiteDB.LockService.Read()
at LiteDB.LiteEngine.<Find>d__9.MoveNext()
at LiteDB.LiteEngine.<Find>d__13.MoveNext()
at LiteDB.LiteCollection`1.<Find>d__17.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Libplanet.Net.Swarm`1.<BroadcastTxAsync>b__93_0() in d:\a\1\s\Libplanet\Net\Swarm.cs:line 1175
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Libplanet.Net.Swarm`1.<BroadcastTxAsync>d__93.MoveNext() in d:\a\1\s\Libplanet\Net\Swarm.cs:line 1172
06:28:32[@925219D488Ee73c42EB308ac178Ea1D6D55288eC][12] - An unexpected exception occured during BroadcastTxAsync(): System.NullReferenceException: Object reference not set to an instance of an object.
at LiteDB.StreamExtensions.<>c__DisplayClass4_0.<TryLock>b__0()
at LiteDB.FileHelper.TryExec(Action action, TimeSpan timeout)
at LiteDB.StreamExtensions.TryLock(FileStream stream, Int64 position, Int64 length, TimeSpan timeout)
at LiteDB.FileDiskService.Lock(LockState state, TimeSpan timeout)
at LiteDB.LockService.Read()
at LiteDB.LiteEngine.<Find>d__9.MoveNext()
at LiteDB.LiteEngine.<Find>d__13.MoveNext()
at LiteDB.LiteCollection`1.<Find>d__17.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Libplanet.Net.Swarm`1.<BroadcastTxAsync>b__93_0() in d:\a\1\s\Libplanet\Net\Swarm.cs:line 1175
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Libplanet.Net.Swarm`1.<BroadcastTxAsync>d__93.MoveNext() in d:\a\1\s\Libplanet\Net\Swarm.cs:line 1172