Unhandled exception. System.IO.InvalidDataException: Failed to load configuration from file ‘C:\Users\xxx\Downloads\Compressed\OpenBullet2\appsettings.Release.json’.
—> System.FormatException: Could not parse the JSON file.
—> System.Text.Json.JsonReaderException: ‘"’ is invalid after a value. Expected either ‘,’, ‘}’, or ‘]’. LineNumber: 3 | BytePositionInLine: 2.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeNextTokenUntilAfterAllCommentsAreSkipped(Byte marker) at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker) at System.Text.Json.Utf8JsonReader.ConsumeNextTokenOrRollback(Byte marker) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options)
at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
at Microsoft.Extensions.Configuration.Json.JsonConfigurationFileParser.ParseStream(Stream input)
at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream)
— End of inner exception stack trace —
at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
— End of inner exception stack trace —
at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
at Microsoft.Extensions.Configuration.ConfigurationRoot…ctor(IList`1 providers)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at OpenBullet2.Program.Main(String args)
@Ruri
I downloaded it again and try it out, unfortunately It is not working yet.
It could not initiate as before. Please check it, thanks for your work, my bro
You’re right, I applied the workaround posted in the issue but apparently it’s not working. Can you try downgrading your runtime from 6.0.2 to something like 6.0.0 or 6.0.1?
Just scroll down and you will find the downloads. Uninstall 6.0.2 before you proceed.
@meinname My bro, thanks for your work.
Strangely, ob 0.2.1 comingfrom updater.exe could not start. However, the native ob 0.2.1 downloaded directly from Github and is working now.
The log of ob 0.2.1 from updater.exe is as-followed for your check