CraftBook 5 cannot reload with WorldEdit 7.4.7-SNAPSHOT because the command parser changed
まだ誰も着手していません。
評価
調査の方向性
craftbook-core/src/main/java/org/enginehub/craftbook/PlatformCommandManager.java の111~113行目にあるコマンドのディスパッチ呼び出しから始め、次に issue にリンクされた WorldEdit パーサーの変更を読んで、新しいエントリーポイントを特定します。呼び出しを WorldEdit 7.4.7-SNAPSHOT に合わせて更新し、craftbook reload がリロードハンドラーに到達してその結果を報告することを確認します。
索引モデルが issue の本文から書いたものです。
説明
CraftBook Version
5.0.0-SNAPSHOT+49338eb38 (five branch)
Platform Version
Paper 26.3 (build 248 when the command failed; build 257 API in the isolated compatibility check)
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using a version of CraftBook compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
Running craftbook reload from the console fails before CraftBook reaches its reload handler. The console reports this error with WorldEdit 7.4.7-SNAPSHOT:
java.lang.NoSuchMethodError: 'com.sk89q.worldedit.internal.command.CommandArgParser com.sk89q.worldedit.internal.command.CommandArgParser.forArgString(java.lang.String)'
Expected Behavior
CraftBook should parse the command, reload its configuration, and report the result to the console.
Reproduction Steps
- Start Paper 26.3 with CraftBook 5.0.0-SNAPSHOT+49338eb38 and EngineHub WorldEdit 7.4.7-SNAPSHOT. The command failure was observed with WorldEdit revision
2ddf41e36. - Run
craftbook reloadin the server console. - The console reports
NoSuchMethodErrorbefore the configuration reload starts.
Anything Else?
CraftBook’s command dispatcher still calls CommandArgParser.forArgString(String). WorldEdit’s parser change replaced that entry point. An isolated Java check against WorldEdit 7.4.7-SNAPSHOT+349ea5155 produced the same NoSuchMethodError for that call.
- 主要言語
- Java
- スター
- 323
- フォーク
- 164
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EngineHub/CraftBook のほかの issue
-
status:pending type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
status:pending type:feature-request
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
-
status:pending type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
-
status:pending type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
status:pending type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
EngineHub/CraftBook の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
bug level:trivial
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
exoego/keycloak-fuhito#666 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ant-media/Ant-Media-Server#8185 ·
メンテナーはふだん 4 日以内に返信
-
desktop grp:about type:graphics-bug ui-public
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信