Skip to content

[Bug] 删除版本时点击切换实例会崩溃 #6099

@jdnjk

Description

@jdnjk

问题描述 | Bug Description

1.选择一个文件较多的游戏实例
2.进入该实例的管理页面,点击“管理”,“删除该实例”
3.弹出的删除窗口期间点击主界面的“切换实例”
Image
4.等待删除完成后弹出崩溃窗口

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

---- Hello Minecraft! Crash Report ----
Version: 3.14.0.344
Time: 2026-05-16 11:17:35
Thread: Thread[#35,JavaFX Application Thread,5,main]

Content:
org.jackhuang.hmcl.game.VersionNotFoundException: Version 'Create-Delight-Remake' does not exist in [1.12.2, 1.12.2worlddl, 1.16.4, 1.16.5qiangxie, 1.17.1forge, 1.18.1, 1.18.2, 1.18.2Fabric, 1.18.2mod, 1.19, 1.19.2, 1.19.2-Forge_43.2.0,1.21.1worlddl, 1.21.4, 1.21.8-Fabric, 23w13a_or_b].
at org.jackhuang.hmcl.game.DefaultGameRepository.getVersion(DefaultGameRepository.java:77)
at org.jackhuang.hmcl.game.HMCLGameRepository.getVersionIconImage(HMCLGameRepository.java:309)
at org.jackhuang.hmcl.ui.versions.GameItem.init(GameItem.java:116)
at org.jackhuang.hmcl.ui.versions.GameItem.imageProperty(GameItem.java:135)
at org.jackhuang.hmcl.ui.versions.GameListPopupMenu$Cell.updateItem(GameListPopupMenu.java:151)
at org.jackhuang.hmcl.ui.versions.GameListPopupMenu$Cell.updateItem(GameListPopupMenu.java:86)
at javafx.controls@25/javafx.scene.control.ListCell.updateItem(ListCell.java:526)
at javafx.controls@25/javafx.scene.control.ListCell.indexChanged(ListCell.java:338)
at javafx.controls@25/javafx.scene.control.IndexedCell$1.invalidated(IndexedCell.java:85)
at javafx.base@25/javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)
at javafx.base@25/javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:148)
at javafx.controls@25/javafx.scene.control.IndexedCell.updateIndex(IndexedCell.java:130)
at javafx.controls@25/javafx.scene.control.skin.VirtualFlow.setCellIndex(VirtualFlow.java:1845)
at javafx.controls@25/javafx.scene.control.skin.VirtualFlow.addTrailingCells(VirtualFlow.java:2239)
at javafx.controls@25/javafx.scene.control.skin.VirtualFlow.scrollPixels(VirtualFlow.java:1726)
at org.jackhuang.hmcl.ui.ScrollUtils.lambda$smoothScroll$6(ScrollUtils.java:258)
at javafx.graphics@25/com.sun.scenario.animation.shared.TimelineClipCore.visitKeyFrame(TimelineClipCore.java:239)
at javafx.graphics@25/com.sun.scenario.animation.shared.TimelineClipCore.playTo(TimelineClipCore.java:180)
at javafx.graphics@25/javafx.animation.Timeline.doPlayTo(Timeline.java:172)
at javafx.graphics@25/javafx.animation.AnimationAccessorImpl.playTo(AnimationAccessorImpl.java:39)
at javafx.graphics@25/com.sun.scenario.animation.shared.InfiniteClipEnvelope.timePulse(InfiniteClipEnvelope.java:104)
at javafx.graphics@25/javafx.animation.Animation.doTimePulse(Animation.java:1234)
at javafx.graphics@25/javafx.animation.Animation$1.timePulse(Animation.java:190)
at javafx.graphics@25/com.sun.scenario.animation.AbstractPrimaryTimer.timePulseImpl(AbstractPrimaryTimer.java:326)
at javafx.graphics@25/com.sun.scenario.animation.AbstractPrimaryTimer$MainLoop.run(AbstractPrimaryTimer.java:247)
at javafx.graphics@25/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:588)
at javafx.graphics@25/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:572)
at javafx.graphics@25/com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:565)
at javafx.graphics@25/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$0(QuantumToolkit.java:346)
at javafx.graphics@25/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at javafx.graphics@25/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics@25/com.sun.glass.ui.win.WinApplication.lambda$runLoop$0(WinApplication.java:168)
at java.base/java.lang.Thread.run(Thread.java:1474)

-- System Details --
Operating System: Windows 11 23H2 10.0.22631.5189
System Architecture: x86-64
Java Architecture: x86-64
Java Version: 25.0.2, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Microsoft
JVM Max Memory: 1073741824
JVM Total Memory: 153092096
JVM Free Memory: 29051312

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions