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?

Apexでのエラー

Posted at

An Apex error occurred: System.NullPointerException: Attempt to de-reference a null object
48221c335b9a0c1b6f3026381fe9195405d1466-3a60

デバッグログを取得して確認したところ解決しました。
CSVで一括登録した際に、選択リスト項目のAPI名でなく表示名で登録したため
デバッグログに「IDで指定してください」のエラーが記載されていました。

無効な値となっていたこれらを既存のリストに置換して、フローをデバッグしたところ無事に実行でき、
選択リスト項目を定義された値にリストに制限するよう変更して、今後表示名で登録できないようにしました。

エラー

You can write only 1 million character per class and your class character count is greater then this so you need to break it into multiple sub classes.
クラスごとに 100 万文字しか記述できず、クラスの文字数がこれよりも多いため、複数のサブクラスに分割する必要があります。

https://salesforce.stackexchange.com/questions/195277/class-compilation-requires-too-much-metadata

image.png

  • Action failed: aura:iteration$controller$itemsChange [Invalid regular expression: /(.+?)(?::(\d+))?(?::(\d+))?$/: Stack overflow]
  • Action failed: aura:iteration$controller$itemsChange [Maximum call stack size exceeded]

Please change the url parameters

"url": reportId

-->

"url": "/lightning/r/Report/" & reportId  & "/view?queryScope=userFolders"
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?