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

System.IO.InvalidDataException #756

Open zdavatz opened 4 months ago

zdavatz commented 4 months ago
  1. I am trying to open a log file, using version 2.2.176
  2. AMS-20240206.070056.7255680-00000002-A97E.binlog
  3. Getting this error
  4. Bildschirmfoto 2024-02-06 um 10 20 31
    System.IO.InvalidDataException: Ungültige Daten beim Decodieren gefunden.
    bei System.IO.Compression.InflaterZlib.Inflate(FlushCode flushCode)
    bei System.IO.Compression.InflaterZlib.ReadInflateOutput(Byte[] outputBuffer, Int32 offset, Int32 length, FlushCode flushCode, Int32& bytesRead)
    bei System.IO.Compression.InflaterZlib.Inflate(Byte[] bytes, Int32 offset, Int32 length)
    bei System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
    bei System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
    bei System.IO.BinaryReader.FillBuffer(Int32 numBytes)
    bei System.IO.BinaryReader.ReadInt32()
    bei Microsoft.Build.Logging.StructuredLogger.BinLogReader.OpenReader(BinaryReader binaryReader) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:Zeile 192.
    bei Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(Stream stream, Progress progress) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:Zeile 70.
    bei Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(Stream stream, Progress progress, Byte[] projectImportsArchive, ReaderSettings readerSettings) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLog.cs:Zeile 135.
    bei Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(String filePath, Progress progress, ReaderSettings readerSettings) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLog.cs:Zeile 46.
    bei Microsoft.Build.Logging.StructuredLogger.Serialization.Read(String filePath, Progress progress, ReaderSettings readerSettings) in C:\MSBuildStructuredLog\src\StructuredLogger\Serialization\Serialization.cs:Zeile 79.
    bei StructuredLogViewer.MainWindow.<>c__DisplayClass33_0.<OpenLogFile>b__5() in C:\MSBuildStructuredLog\src\StructuredLogViewer\MainWindow.xaml.cs:Zeile 497.
zdavatz commented 4 months ago
---------------------------

---------------------------
Unexpected exception. Sorry about that.

Please Ctrl+C to copy this text and file an issue at https://github.com/KirillOsenkov/MSBuildStructuredLog/issues/new

System.ArgumentNullException: Der Wert darf nicht NULL sein.

Parametername: reference

   bei StructuredLogViewer.Controls.TracingControl.UpdateToolTips(Point mousePos) in C:\MSBuildStructuredLog\src\StructuredLogViewer\Controls\TracingControl.xaml.cs:Zeile 1208.

   bei StructuredLogViewer.Controls.TracingControl.Grid_MouseMove(Object sender, MouseEventArgs e) in C:\MSBuildStructuredLog\src\StructuredLogViewer\Controls\TracingControl.xaml.cs:Zeile 1201.

   bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   bei System.Windows.Input.InputManager.ProcessStagingArea()

   bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------
OK   
---------------------------
�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������