laptop and a wrench

不具合

NullReferenceException while extending PanMapAction class.

最後に公開された状態: April 3, 2018 ArcGIS Runtime for Windows Mobile
不具合 ID 番号 NIM046947
送信されましたJuly 21, 2009
最終更新日April 28, 2025
適用対象ArcGIS Runtime for Windows Mobile
見つかったバージョン9.3.1
プログラム言語C#
ステータスWill Not Be Addressed

参考情報

On July 1, 2017 Esri retired the ArcGIS for Windows Mobile product and we encourage customers to migrate mobile field editing projects to Collector for ArcGIS app or another ArcGIS App available at http://www.esri.com/software/apps.

対処法

1) Extend MapAction class instead. The following supresses the exception: 2) Override the OnActiveChanging function for the PanMapAction class. In MyPan.cs, enter the following piece of code (or uncomment the block): protected override void OnActiveChanging(bool active) { try { //base.OnActiveChanging(active); } catch (Exception ex) { System.Diagnostics.Debug.Write(ex.StackTrace.ToString()); } } Note: Uncommenting the line: base.OnActiveChanging(active); will cause similar exception: A first chance exception of type 'System.NullReferenceException' occurred in System.Windows.Forms.dll at System.Windows.Forms.Cursor..ctor(Stream stream) at ESRI.ArcGIS.Mobile.MapActions.PanMapAction.OnActiveChanging(Boolean active)

再現の手順

不具合 ID: NIM046947

ソフトウェア:

  • ArcGIS Runtime for Windows Mobile

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動