Generic NPE error without details on product/variant import
まだ誰も着手していません。
評価
調査の方向性
まず、既存の product slug と重複した variant key を使って、issue に記載された import を再現し、その後、汎用的な NPE がどこで生成されるかを追跡します。両方の失敗を commercetools の import response と比較して、関連するエラー詳細を特定します。完了条件は、呼び出し元が拒否された各 import について具体的な理由を受け取ることです。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When we try to import a new product and one of the variants on the product has the same key the import fails but there is no detailed message as to why. The same is the case when we try to import a new product with an existing SLUG, there is always the same, generic error message. This was working before but seems like in some update of the library or on Commercetools side it just gives generic NPE.
This is an issue when we need to report to the calling system why did the import fail.
To Reproduce
Steps to reproduce the behavior:
- Import a new product with the same Slug as an existing product
- NPE happens without any details
Expected behavior
Error details
Screenshots
- 主要言語
- Java
- スター
- 41
- フォーク
- 41
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
commercetools/commercetools-sync-java のほかの issue
-
Dependency Dashboardオープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
Hacktoberfest
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
commercetools/commercetools-sync-java の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
go 🏃 testing 🧪
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
valkey-io/valkey-glide#7239 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/copilot-sdk#2793 ·
メンテナーはふだん 1 日以内に返信