I am getting this error after 0.2.1 update

DO NOT CLOSE THIS WINDOW

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)

1 Like

Check this checkbox
image
But I haven’t updated yet

Native one does not start yet when update to 0.2.1

There was a problem with the build, I am remaking it.
Wait 15 mins and then redownload the release and overwrite the files, sorry about it.

1 Like

I have to be sorry.
was my fault. totally forgot about the syntax when copy and pasting :smiley:

1 Like

What about OB2 console sir ?

1 Like

I am writing documentation it’s going to take a while I can only work on OB2 for 1 hour a day so don’t expect anything soon

1 Like

My bros, Now web client is working, but Please check the native OB2, download new one, it does not start yet.
anyone has the same problem?

Yes, same problem here.

I am looking into the issue, I will let everybody know when I solve it. For now just use v0.2.0

UPDATE I did some research and apparently it’s an issue with .NET 6.0.2

I will add the workaround and publish 0.2.1 again, please hang on.

UPDATE 2 Download the new 0.2.1 release as soon as it’s available and let me know if it works please.

1 Like

@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.

@Ruri,
Thanks, After installing .NET 6.0.2, it is working fine now.

i pushed a build done with .net 6.0.100 - this should hopefully work also with 6.0.2
Maybe it works - if not then do what @Ruri said :wink:

@meinname
After you pushed the build, OB0.2.1 can not start yet again (it is from updater).
This is crash log for you information.

Thnx for trying - i gonna revert my change… and push it as it was before…

Seems we really have to wait for microsoft to fix it :person_shrugging:

1 Like

@meinname
My bro, Tried the newest native you built, it still crashes and the crashed log is the same as before.

Strange it should be exactly the same as the one you said 6 hours ago that it’s working fine.

Are you 100% sure you uninstalled 6.0.2 and installed 6.0.0 or 6.0.1?

@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