0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

認定 Platform デベロッパー資格の更新 (Winter '25)

Last updated at Posted at 2024-12-16

for ループで Iterable 変数を使用してハンズオンを実行する

以下の違いを疑いましたが、関係なかったみたいです。障害かも

image.png

コンストラクター MyIterable を作成している記述のカッコ前後の空白を除いてみてください。

Error "The parameter List cannot be null"

For anyone running into this - I was right, it was a problem with the validation. They opened a case and the resolution was as follows:

" We've thoroughly reviewed it in your org and can confirm that everything has been implemented according to the badge requirements. It appears this may be an intermittent issue that occurred while verifying the challenge. "

I tried again per their instructions, and the validation succeeded.

So if you run into this problem, wait 24 hours and try again.

この問題に遭遇した人へ - 私の考えは正しかった、それは検証の問題でした。彼らはケースを開き、解決策は次の通りでした:

「貴社の組織で徹底的に調査した結果、すべてがバッジ要件に従って実装されていることを確認できました。これは、チャレンジの検証中に断続的に発生した問題である可能性があります。」

指示に従って再度試してみたところ、検証は成功しました。

したがって、この問題が発生した場合は、24 時間待ってからもう一度お試しください。

We can’t find The Annotation @IsTest for method ‘testIterableForLoop’.

The constructor MyIterable should accept parameter of type List

this. を取った↓だとOKになりました。

public Iterator<String> iterator(){
        return strings.iterator();
}

Just sorted it out, playground was acting weird, seems like cache or something, tried both spacing and everything to no avail. I just closed the playground and opened it again and it worked. Seems like turning it off and on again just worked.

整理したところ、プレイグラウンドの動作がおかしく、キャッシュか何かのようで、間隔とすべてを試しましたが無駄でした。プレイグラウンドを閉じて再度開くと、うまくいきました。オフにしてから再度オンにするとうまくいったようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?