アプリケーションのコンポーネントで、ハンドルされていない例外が発生しました。と表示され、起動できない問題

永井 0 評価のポイント
2025-05-13T02:02:07.82+00:00

ツールを起動しようとすると表題のようなメッセージが表示される問題について、原因と詳しい解決法をご教示いただきたいです。

下記、詳細の内容をペーストします。

Just-In-Time (JIT) デバッグを呼び出すための詳細については、

ダイアログ ボックスではなく、このメッセージの最後を参照してください。

************** 例外テキスト **************

System.NullReferenceException: Object reference not set to an instance of an object.

  at SWSH_OWRNG_Generator.WinForms.MainWindow.EncounterLookupMenu_Click(Object sender, EventArgs e) in C:\Users\Lego\Documents\GitHub\swsh-overworld-rng-gui\SWSH_OWRNG_Generator.WinForms\MainWindow.cs:line 1250

  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

  at System.Windows.Forms.ToolStrip.WndProc(Message& m)

  at System.Windows.Forms.MenuStrip.WndProc(Message& m)

  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

************** 読み込まれたアセンブリ **************

System.Private.CoreLib

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Private.CoreLib.dll


SWSH_OWRNG_Generator.WinForms

  アセンブリ バージョン:3.1.0.0

  Win32 バージョン:N/A

  コードベース:


System.Runtime

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Runtime.dll


System.Collections

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Collections.dll


System.Windows.Forms

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26907

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/System.Windows.Forms.dll


System.ComponentModel.Primitives

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.ComponentModel.Primitives.dll


System.Windows.Forms.Primitives

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26907

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/System.Windows.Forms.Primitives.dll


System.Runtime.InteropServices

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Runtime.InteropServices.dll


System.Drawing.Primitives

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Drawing.Primitives.dll


System.Collections.Specialized

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Collections.Specialized.dll


System.Threading

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Threading.dll


System.Diagnostics.TraceSource

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Diagnostics.TraceSource.dll


System.IO.Compression

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.IO.Compression.dll


System.Memory

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Memory.dll


SysBot.Base

  アセンブリ バージョン:1.0.0.0

  Win32 バージョン:N/A

  コードベース:


netstandard

  アセンブリ バージョン:2.1.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/netstandard.dll


System.Net.Sockets

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Net.Sockets.dll


System.Configuration.ConfigurationManager

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/System.Configuration.ConfigurationManager.dll


System.ObjectModel

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.ObjectModel.dll


System.Private.Uri

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Private.Uri.dll


System.Diagnostics.Process

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Diagnostics.Process.dll


Microsoft.Win32.Primitives

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/Microsoft.Win32.Primitives.dll


System.Collections.NonGeneric

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Collections.NonGeneric.dll


System.Security.Cryptography

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Security.Cryptography.dll


System.Collections.Concurrent

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Collections.Concurrent.dll


System.ComponentModel.TypeConverter

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.ComponentModel.TypeConverter.dll


System.Xml.ReaderWriter

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Xml.ReaderWriter.dll


System.Private.Xml

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Private.Xml.dll


System.Text.RegularExpressions

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Text.RegularExpressions.dll


System.Net.WebClient

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Net.WebClient.dll


System.ComponentModel.EventBasedAsync

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.ComponentModel.EventBasedAsync.dll


System.Text.Encoding.Extensions

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Text.Encoding.Extensions.dll


System.Threading.Thread

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Threading.Thread.dll


System.Runtime.Serialization.Formatters

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Runtime.Serialization.Formatters.dll


System.Xml.XmlSerializer

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Xml.XmlSerializer.dll


System.Net.Primitives

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Net.Primitives.dll


System.Diagnostics.Tracing

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Diagnostics.Tracing.dll


System.Drawing.Common

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/System.Drawing.Common.dll


Accessibility

  アセンブリ バージョン:4.0.0.0

  Win32 バージョン:7.0.2024.26907

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/Accessibility.dll


System.Numerics.Vectors

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Numerics.Vectors.dll


System.Runtime.Loader

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Runtime.Loader.dll


System.Windows.Forms.resources

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26907

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/ja/System.Windows.Forms.resources.dll


System.ComponentModel

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.ComponentModel.dll


Microsoft.Win32.SystemEvents

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/Microsoft.Win32.SystemEvents.dll


System.Resources.Extensions

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/System.Resources.Extensions.dll


System.Drawing

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26907

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.20/System.Drawing.dll


PKHeX.Drawing.PokeSprite

  アセンブリ バージョン:23.7.10.0

  Win32 バージョン:N/A

  コードベース:


SWSH_OWRNG_Generator.Core

  アセンブリ バージョン:1.0.0.0

  Win32 バージョン:N/A

  コードベース:


System.Text.Json

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Text.Json.dll


System.Diagnostics.StackTrace

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Diagnostics.StackTrace.dll


System.Reflection.Metadata

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Reflection.Metadata.dll


System.Collections.Immutable

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Collections.Immutable.dll


System.IO.MemoryMappedFiles

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.IO.MemoryMappedFiles.dll


System.Diagnostics.FileVersionInfo

  アセンブリ バージョン:7.0.0.0

  Win32 バージョン:7.0.2024.26716

  コードベース:file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.20/System.Diagnostics.FileVersionInfo.dll


************** JIT デバッグ **************

ビジネス向け Windows | IT プロフェッショナル用 Windows クライアント | ユーザー エクスペリエンス | その他
{count} 件の投票

お客様の回答

回答は、質問作成者が [承諾された回答] としてマークできます。これは、ユーザーが回答が作成者の問題を解決したことを知るのに役立ちます。