Skip to content

Crashed when pushing large amounts of files (or changes) #1229

@istanb84

Description

@istanb84

在初始提交并推送一个文件数量比较多的repo时出现了崩溃,文件数量或者说更改的数量大约是600个。

崩溃日志如下:

Crash::: System.NullReferenceException: Object reference not set to an instance of an object.

----------------------------
Version: 2025.14.0.0
OS: Microsoft Windows NT 10.0.26100.0
Framework: .NETCoreApp,Version=v9.0
Source: SourceGit
Thread Name: Unnamed
User: istanb
App Start Time: 2025/4/22 16:54:13
Exception Time: 2025/4/22 17:10:21
Memory Usage: 306 MB
---------------------------

System.NullReferenceException: Object reference not set to an instance of an object.
   at SourceGit.ViewModels.Push.AutoSelectBranchByRemote() + 0x62
   at SourceGit.ViewModels.Push..ctor(Repository repo, Branch localBranch) + 0x235
   at SourceGit.ViewModels.WorkingCopy.<>c__DisplayClass86_1.<DoCommit>b__3() + 0xc6
   at Avalonia.Threading.DispatcherOperation.InvokeCore() + 0x1bc
   at Avalonia.Threading.DispatcherOperation.Execute() + 0x83
   at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation) + 0x5d
   at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean) + 0x3d
   at Avalonia.Threading.Dispatcher.Signaled() + 0x41
   at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) + 0x58
   at SourceGit!<BaseAddress>+0xf8d1ba

我点击的是“提交并推送”按钮,崩溃后查看repo,提交成功了,应该是在推送时出现了异常。

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions