Skip to content

[1.7.104.0] 插件市场中的项目未完全加载时点击“项目主页”导致应用崩溃 #1203

@RoboMico

Description

@RoboMico

检查清单

  • 我已更新到最新版 最新的版本号最新的版本号 测试,并看过 最新提交,确认这一 Bug 还没有修复。我也已在 Issues 中检索,确认这一 Bug 未被提交过,并且在 常见问题 中没有解决方案。
  • 我已经仔细阅读过选项里的内容,并且知道这个选项不用勾选。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题(关于其他非程序本身的问题应当在 Discussion 板块提出)。

期望的行为

实际结果

如题。

重现步骤

  1. 在网络环境不好的时候打开插件市场
  2. 选择任意一个条目,呈它还没加载好的时候点击“项目主页”链接
  3. ClassIsland 发生错误 ヽ(*。>Д<)o゜

堆栈跟踪(可选)

在向开发者提交问题时请保留以下信息:
TraceID: ec31bcf505a34424aebb8771e0def48a
================================
System.ArgumentNullException: Value cannot be null. (Parameter 'uriString')
   at System.ArgumentNullException.Throw(String paramName)
   at System.Uri..ctor(String uriString)
   at ClassIsland.Core.Controls.NavHyperlink.NavHyperlink.OnClick(Object sender, RoutedEventArgs e) in /home/andycode3759/.cache/yay/classisland-git/src/ClassIsland/ClassIsland.Core/Controls/NavHyperlink/NavHyperlink.cs:line 36
   at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
   at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
   at Avalonia.Controls.Button.OnClick()
   at Avalonia.Controls.HyperlinkButton.OnClick()
   at Avalonia.Controls.Button.OnPointerReleased(PointerReleasedEventArgs e)
   at Avalonia.Reactive.LightweightObservableBase`1.PublishNext(T value)
   at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
   at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
   at Avalonia.Input.MouseDevice.MouseUp(IMouseDevice device, UInt64 timestamp, IInputRoot root, Point p, PointerPointProperties props, KeyModifiers inputModifiers, IInputElement hitTest)
   at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e)
   at Avalonia.Threading.Dispatcher.Send(SendOrPostCallback action, Object arg, Nullable`1 priority)

诊断信息

SystemOsVersion: Arch Linux
SystemOsArch: X64
SystemDeviceName: ???
SystemDeviceVendor: ???
AppPackageRoot: /opt/classisland
AppRoot: /home/andycode3759/.config/ClassIsland/Data
AppCurrentDirectory: /opt/classisland
AppCurrentMemoryUsage: 601,399,296.000
AppStartupDurationMs: 875
AppVersion: 1.7.104.0-Khaslana-05f2def3(makepkg) (Core 1.4.0.0)
AppSubChannel: linux_x64_full_deb
AppIsAssetsTrimmed: False
DiagnosticFirstLaunchTime: 2025/7/28 12:17:25
DiagnosticStartupCount: 12
DiagnosticMemoryKillCount: 0
DiagnosticLastMemoryKillTime: 2025/7/28 12:17:25
DiagnosticMemoryKillFreqDay: 0.000

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题。如果我的 issue 没有按照上述的要求填写,可能会被无条件关闭。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug在使用 ClassIsland 的过程中遇到了 Bug优先级:无短期内不会计划完成的事项待查看等待开发者查看此 Issue需要人工分类

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions