-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reproduce:
- Extract
sourcegit_2025.40.win-x64.zipfrom https://github.com/sourcegit-scm/sourcegit/releases/tag/v2025.40 into Downloads - Run SourceGit.exe. Program does not appear to start
Creating a folder named 'data' in SourceGit directory creates the following crash log and an emptyprocess.lockfile.
Crash::: System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
----------------------------
Version: 2025.40.0.0
OS: Microsoft Windows NT 10.0.26200.0
Framework: .NETCoreApp,Version=v10.0
Source: <unknown>
Thread Name: Unnamed
User: User
App Start Time: 21/12/2025 22:31:20
Exception Time: 21/12/2025 22:31:21
Memory Usage: 24 MB
----------------------------
System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader&, ExceptionResource, Byte, ReadOnlySpan`1) + 0x15
at System.Text.Json.Utf8JsonReader.Read() + 0x65
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader&, T&, JsonSerializerOptions, ReadStack&) + 0x4c
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack&, JsonReaderException) + 0x2e3
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader&, T&, JsonSerializerOptions, ReadStack&) + 0x167
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize[TReadBufferState,TStream](TReadBufferState&, JsonReaderState&, ReadStack&, T&) + 0xb9
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Deserialize(Stream) + 0x15a
at SourceGit.Models.ExternalToolsFinder.FindJetBrainsFromToolbox(Func`1 platformFinder) + 0x56e
at SourceGit.Native.Windows.FindExternalTools() + 0x190
at SourceGit.App.TryLaunchAsNormal(IClassicDesktopStyleApplicationLifetime desktop) + 0x49
at SourceGit.App.OnFrameworkInitializationCompleted() + 0x1b7
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder, String[], Action`1) + 0x2f
at SourceGit.App.Main(String[] args) + 0xe6
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working