You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
when i start visual studio 2022 this error appears
Content file ActivityLog.xml
<entry>
<record>422</record>
<time>2022/11/18 07:33:29.970</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [LicenseHeadersPackage]Source: 'LicenseHeaderManager.Core' Description: The file content is not in a valid format
System.Runtime.Serialization.SerializationException: The file content is not in a valid format ---> System.Text.Json.JsonException: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0. ---> System.Text.Json.JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
 in System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
 in System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
 in System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
 in System.Text.Json.Utf8JsonReader.ReadSingleSegment()
 in System.Text.Json.Utf8JsonReader.Read()
 in System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
 --- Fine della traccia dello stack dell'eccezione interna ---
 in System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
 in System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
 in System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase)
 in System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonConverter converter, JsonSerializerOptions options)
 in System.Text.Json.JsonSerializer.<ReadAllAsync>d__65`1.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 in System.Threading.Tasks.ValueTask`1.get_Result()
 in LicenseHeaderManager.Core.Options.JsonOptionsManager.<DeserializeAsync>d__7`1.MoveNext()
 --- Fine della traccia dello stack dell'eccezione interna ---
 in LicenseHeaderManager.Core.Options.JsonOptionsManager.<DeserializeAsync>d__7`1.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 in LicenseHeaderManager.Core.Options.CoreOptionsRepository.<LoadAsync>d__1.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 in LicenseHeaderManager.Options.OptionsFacade.<LoadAsync>d__37.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\Options\OptionsFacade.cs:riga 189
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 in LicenseHeaderManager.LicenseHeadersPackage.<MigrateOptionsAsync>d__66.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\LicenseHeadersPackage.cs:riga 472
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 in LicenseHeaderManager.LicenseHeadersPackage.<InitializeAsync>d__53.MoveNext() in C:\Build\1776828f99d31c99\LicenseHeaderManager.Shared\LicenseHeadersPackage.cs:riga 266
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 in Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass21_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
 in Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)System.Text.Json.JsonException: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0. ---> System.Text.Json.JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
 in System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
 in System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
 in System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
 in System.Text.Json.Utf8JsonReader.ReadSingleSegment()
 in System.Text.Json.Utf8JsonReader.Read()
 in System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
 --- Fine della traccia dello stack dell'eccezione interna ---
 in System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
 in System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
 in System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase)
 in System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonConverter converter, JsonSerializerOptions options)
 in System.Text.Json.JsonSerializer.<ReadAllAsync>d__65`1.MoveNext()
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
 in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 in System.Threading.Tasks.ValueTask`1.get_Result()
 in LicenseHeaderManager.Core.Options.JsonOptionsManager.<DeserializeAsync>d__7`1.MoveNext()System.Text.Json.JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
 in System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
 in System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
 in System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
 in System.Text.Json.Utf8JsonReader.ReadSingleSegment()
 in System.Text.Json.Utf8JsonReader.Read()
 in System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)</description>
<guid>{4C570677-8476-4D33-BD0C-DA36C89287C8}</guid>
<hr>0x8013150c</hr>
<errorinfo></errorinfo>
</entry>
best regards
The text was updated successfully, but these errors were encountered:
@franklupo Thank you for posting the update. I can't say why it's happening so I'll keep this ticket around until the next time someone does some spring cleaning.
Hi,
We should increase the details of the errors because it was difficult to find the name of the configuration file.
You might ask whether to recreate the file 'CoreOptions.json'.
Hi,
when i start visual studio 2022 this error appears
Content file ActivityLog.xml
best regards
The text was updated successfully, but these errors were encountered: