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でのエラー

Last updated at Posted at 2025-03-02

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"

STORAGE_LIMIT_EXCEEDED [object Object]:フロート表示が最大数を超えました

浮動小数点の演算を行っていませんか?
数字の大きさが範囲を超えているのかもしれません。

Decimal使っている部分があったので見直したところ無事エラーが消えました。

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?