Arcade expression in ArcGIS Online fails with an error message "Runtime error: Out of Bounds" on a server service published from ArcMap 10.6 using feature classes from an Oracle 11g 10.6 geodatabase.
最後に公開された状態: March 5, 2018ArcGIS Online
不具合 ID 番号
BUG-000110566
送信されました
January 4, 2018
最終更新日
June 5, 2024
適用対象
ArcGIS Online
見つかったバージョン
N/A
オペレーティング システム
N/A
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
In Arcade, it is the users' responsibility to handle null records. The script attempted to split a null value on a ' ' which is not possible, hence the error if the data has the potential to contain nulls first check for nulls before splitting. For example,
if (IsEmpty($feature.Name)) {
return "No Name"
} else {
var Book = Split($feature.Name, ' ')[0];
//console("book", Book);
var page = Split($feature.Name, ' ')[1];
//console("page", Page);
if (Book != ""){
return Book + "/" + Page;
} else {
return "";
}
}