KirillOsenkov / MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
MIT License
1.41k stars 188 forks source link

Web version is broken #690

Closed OwnageIsMagic closed 11 months ago

OwnageIsMagic commented 1 year ago

Problem with web version https://live.msbuildlog.com/

System.AggregateException: AggregateException_ctor_DefaultMessage (Cannot wait on monitors on this runtime.)
 ---> System.PlatformNotSupportedException: Cannot wait on monitors on this runtime.
  at System.Threading.Monitor.ObjWait(Int32 , Object )
  at System.Threading.Monitor.Wait(Object , Int32 )
  at System.Threading.SemaphoreSlim.WaitUntilCountOrTimeout(Int32 , UInt32 , CancellationToken )
  at System.Threading.SemaphoreSlim.Wait(Int32 , CancellationToken )
  at System.Collections.Concurrent.BlockingCollection`1[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TryTakeWithNoTimeValidation(Task& , Int32 , CancellationToken , CancellationTokenSource )
  at System.Collections.Concurrent.BlockingCollection`1.<GetConsumingEnumerable>d__68[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
  at System.Collections.Concurrent.Partitioner.DynamicPartitionerForIEnumerable`1.InternalPartitionEnumerable[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GrabChunk_Buffered(KeyValuePair`2[] , Int32 , Int32& )
  at System.Collections.Concurrent.Partitioner.DynamicPartitionerForIEnumerable`1.InternalPartitionEnumerable[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GrabChunk(KeyValuePair`2[] , Int32 , Int32& )
  at System.Collections.Concurrent.Partitioner.DynamicPartitionerForIEnumerable`1.InternalPartitionEnumerator[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GrabNextChunk(Int32 )
  at System.Collections.Concurrent.Partitioner.DynamicPartitionEnumerator_Abstract`2[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Collections.Generic.IEnumerator`1[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
  at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<PartitionerForEachWorker>b__1(IEnumerator& , Int32 , Boolean& )
   --- End of stack trace from previous location ---
  at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2[[System.Threading.Tasks.Task, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<PartitionerForEachWorker>b__1(IEnumerator& , Int32 , Boolean& )
  at System.Threading.Tasks.TaskReplicator.Run[IEnumerator](ReplicatableUserAction`1 , ParallelOptions , Boolean )
  at System.Threading.Tasks.Parallel.PartitionerForEachWorker[Task,Object](Partitioner`1 , ParallelOptions , Action`1 , Action`2 , Action`3 , Func`4 , Func`5 , Func`1 , Action`1 )
  at System.Threading.Tasks.Parallel.ForEachWorker[Task,Object](IEnumerable`1 , ParallelOptions , Action`1 , Action`2 , Action`3 , Func`4 , Func`5 , Func`1 , Action`1 )
  at System.Threading.Tasks.Parallel.ForEach[Task](IEnumerable`1 , Action`1 )
  at Microsoft.Build.Logging.StructuredLogger.Construction.<.ctor>b__17_0()
  at System.Threading.Tasks.Task.InnerInvoke()
  at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object )
  at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
   --- End of stack trace from previous location ---
  at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
  at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread ) Exception_EndOfInnerExceptionStack
  at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean )
  at System.Threading.Tasks.Task.Wait(Int32 , CancellationToken )
  at System.Threading.Tasks.Task.Wait()
  at Microsoft.Build.Logging.StructuredLogger.Construction.Shutdown()
  at Microsoft.Build.Logging.StructuredLogger.StructuredLogger.Shutdown()
  at Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(Stream stream, Byte[] projectImportsArchive, Func`3 progressFunc)
  at StructuredLogViewerWASM.Shared.NavMenu.LoadBinlog(MemoryStream memoryStream)
  at StructuredLogViewerWASM.Shared.NavMenu.ReadFile(IFileListEntry[] files)