[#12528] 服务器崩溃
本帖由 MDT GitHub 同步机器人自动整理。翻译与摘要由 AI 生成,仅供阅读参考。
问题概要
服务器在放置逻辑方块期间崩溃,错误堆栈显示 java.util.NoSuchElementException。使用了 Essentials 插件,复现步骤未知。
内容
平台
Linux
构建版本
v159.7
问题
根据玩家的解释,这发生在放置逻辑方块期间。
java.util.NoSuchElementException: 21
at arc.struct.Seq$SeqIterable$SeqIterator.next(Seq.java:1171)
at arc.math.geom.Geometry.findClosest(Geometry.java:105)
at mindustry.game.Teams.closestCore(Teams.java:57)
at mindustry.gen.UnitEntity.closestCore(UnitEntity.java:209)
at mindustry.gen.UnitEntity.update(UnitEntity.java:1917)
at mindustry.entities.EntityGroup.update(EntityGroup.java:90)
at mindustry.core.Logic.updateEntities(Logic.java:474)
at mindustry.core.Logic.update(Logic.java:600)
at arc.backend.headless.HeadlessApplication.mainLoop(HeadlessApplication.java:87)
at arc.backend.headless.HeadlessApplication$1.run(HeadlessApplication.java:52)复现步骤
未知。
使用的模组
Essentials plugin
存档文件
无
(崩溃)日志
未提供
提交
我已经更新到最新发布版本 以确保我的问题尚未被修复。
我已经搜索了已关闭和未关闭的 issue 以确保此问题尚未被报告。
我没有使用 Foo's Client。
此问题在没有启用模组的情况下发生。
我已附上一个有效的存档文件。
原始信息
GitHub 编号:#12528
作者:Kieaer
状态:closed
标签:bug
创建时间:2026-08-25 16:35:04 CST
<details> <summary>查看原文</summary>
Platforms
Linux
Build
v159.7
Issue
According to the players’ explanation, it happened during the logic block place.
java.util.NoSuchElementException: 21
at arc.struct.Seq$SeqIterable$SeqIterator.next(Seq.java:1171)
at arc.math.geom.Geometry.findClosest(Geometry.java:105)
at mindustry.game.Teams.closestCore(Teams.java:57)
at mindustry.gen.UnitEntity.closestCore(UnitEntity.java:209)
at mindustry.gen.UnitEntity.update(UnitEntity.java:1917)
at mindustry.entities.EntityGroup.update(EntityGroup.java:90)
at mindustry.core.Logic.updateEntities(Logic.java:474)
at mindustry.core.Logic.update(Logic.java:600)
at arc.backend.headless.HeadlessApplication.mainLoop(HeadlessApplication.java:87)
at arc.backend.headless.HeadlessApplication$1.run(HeadlessApplication.java:52)Steps to reproduce
Unknown.
Mods used
Essentials plugin
Save file
None
(Crash) logs
No response
Submission
I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
I have searched the closed and open issues to make sure that this problem has not already been reported.
I am not using Foo's Client.
This issue occurs with no mods enabled.
I have attached a valid save file.
</details>
来源:GitHub #12528