2016-11-12 14 views
0

Mono経由でLinux上で実行可能なプログラムを実行しようとしています(Wineは準拠していません)。DebianのMonoを使ったランタイムバージョンの問題

警告:このアプリケーションでサポートされているランタイムバージョンは利用できません。 デフォルトのランタイムを使用しています:v4.0.30319 ファイル/root/Desktop/tool\GeoIP.datを開くことができません System.IO.DirectoryNotFoundException:ディレクトリ '/ root/Desktop/tool \ plugin \'が見つかりません。 System.IO.Directory.ValidateDirectoryListing(パスを可能System.String、可能System.StringのsearchPattern、可能System.Boolean &停止)< 0x7f11f1ba74c0 + 0x0019c>で :0 System.IO.Directory.GetFileSystemEntriesで (パスを可能System.String、システム.StringのsearchPatternは、FileAttributesは、マスク内のFileAttributesのATTRS)< 0x7f11f1ba7700 + 0x00066>:System.IO.Directory.GetFilesで0 (可能System.String経路、可能System.StringのsearchPattern)< 0x7f11f1ba6d50 + 0x00018>で:njRATで0 。 Form1。 (System.Objects.System.EventArgs)< 0x4102ea90 + 0x006ea> 0 at System.Windows.Forms.Form.OnLoad(System.EventArgs e)< 0x410218f0 + 0x00071>:0 at System.Windows.Forms。 Form.OnLoadInternal(System.EventArgs e)< 0x410216d0 + 0x0007f>: System.NullReferenceException:オブジェクト参照がオブジェクトのインスタンスに設定されていません at +。 ()< 0x4103f510 + 0x001e6>:0 at njRAT.Form1。 (System.Windows.Forms.FormClosingEventArgs)< 0x4103e250 + 0x000ab>:0 at System.Windows.Forms.Form.OnFormClosing(System.Windows.Forms.FormClosingEventArgs)< 0x4103e1c0 + 0x00065>:0 at System.Windows.Forms.Form.FireClosingEvents(CloseReason理由、ブールキャンセル)< 0x4103e070 + 0x0009d>:0 at(ラッパーremoting-invoke-with-check)System.Windows.Forms.Form:FireClosingEvents(System。 System.Windows.Forms.Application.Exit()内の < 0x4103db20 + 0x001b7>: at System.Windows.Forms.Application.Exit()< 0x4103dae0 + 0x00027>:0 at System.Windows.Forms.Application.OnThreadExc eption(のSystem.Exceptionさt)< 0x4103d630 + 0x00147>で:System.Windows.Forms.Form.OnLoadInternal(System.EventArgs e)に0 < 0x410216d0 + 0x00097>で:System.Windows.Forms.Formで0 。 System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms。)で 0x41020ef0 + 0x0004f>内:0 、System.Windows.Forms.Control.CreateControl()< 0x412a3170 + 0x0011f>内:0 System.Windows.Formsで0 :0 System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message & M)<で0x412aa4a0 + 0x002d7>:でメッセージ& M)< 0x412ab7b0 + 0x00167>。 ScrollableControl.WndProc(System.Windows.Forms)で.Message & M)< 0x4101b3b0 + 0x00013>:System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message & M)で0 < 0x4101b330 + 0x0005b>で:のSystem.Windows.Formsで0 .Form.WndProc(System.Windows.Forms.Message & M)< 0x4101af50 + 0x00257>:0 System.Windows.Forms.Control + ControlWindowTarget.OnMessage(System.Windows.Forms.Message & M)で < 0x412aa470 + 0x00024>:0 at System.Windows.Forms.Control + ControlNativeWindow.WndProc(System.Windows.Forms。でメッセージ& M)< 0x412aa430 + 0x00036>:0

未処理の例外:System.Windows.Forms.NativeWindow.WndProc(のIntPtr hWndは、メッセージのMSG、のIntPtr wParamに、のIntPtr lParamに)< 0x412a8d70 + 0x0031c>内で0 : System.NullReferenceException:オブジェクト参照がオブジェクトのインスタンスに設定されていません at +。 ()< 0x4103f510 + 0x001e6>:0 at njRAT.Form1。 (System.Windows.Forms.FormClosingEventArgs)< 0x4103e250 + 0x000ab>:0 at System.Windows.Forms.Form.OnFormClosing(System.Windows.Forms.FormClosingEventArgs)< 0x4103e1c0 + 0x00065>:0 at System.Windows.Forms.Form.FireClosingEvents(CloseReason理由、ブールキャンセル)< 0x4103e070 + 0x0009d>:0 at(ラッパーremoting-invoke-with-check)System.Windows.Forms.Form:FireClosingEvents(System。 System.Windows.Forms.Application.Exit()内の < 0x4103db20 + 0x001b7>: at System.Windows.Forms.Application.Exit()< 0x4103dae0 + 0x00027>:0 at System.Windows.Forms.Application.OnThreadExc System.Windows.Forms.NativeWindow.OnThreadException(System.Exception e)< 0x4103d630 + 0x00147>内の0 0x0x41040a70 + 0x00013>:0 (System.Windows.Forms.NativeWindow)。 WndProcメソッド(のIntPtr hWndは、メッセージのMSG、のIntPtr wParamに、のIntPtr lParamに)< 0x412a8d70 + 0x00b51>:0 System.Windows.Forms.XplatUIX11.SendMessage(HWNDのIntPtr、メッセージメッセージのIntPtr wParamに、のIntPtr lParamに)< 0x412a8650 + 0x0044fで> 0: at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd、WindowTypeウィンドウ)< 0x412ab2d0 + 0x001f3>:0 at System.Windows.Forms.XplatUIX11.CreateWindow(System。 Windows.Forms.CreateParams cp)< 0x412a37e0 + 0x00c53>:System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)にある< 0x412a37b0 + 0x0001f>:0 at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp) < 0x412a3700 + 0x0003f>で:でSystem.Windows.Forms.Form.CreateHandle()< 0x41019c40 + 0x00027>で0 :0でSystem.Windows.Forms.Control.CreateHandle()< 0x412a3420 + 0x00069>で0 System.Windows.Forms.Control.CreateControlで ()で< 0x412a3170 + 0x00087>:System.Windows.Forms.Control.SetVisibleCore(ブール値)< 0x412b4bb0 + 0x00083>で0 で:System.Windowsで0 。 Forms.Form.SetVisibleCore(ブール値)< 0 System.Windows.Forms.Control.set_Visible(ブール値)< 0x412b4b30 + 0x00032> 0:0 at(ラッパーremoting-invoke-with-check)System.Windows.Forms.Controlでのx41019420 + 0x00317> in:0 System.Windows.Forms.Application.RunLoop(Boolean Modal、System.Windows.Forms.ApplicationContextコンテキスト) 0x41017ec0 + 0x0033f>: at System.Windows.Forms.Application.Run(System。 Windows.Forms.ApplicationContextコンテキスト)< 0x41017e10 + 0x00057> 0 、System.Windows.Forms.Application.Run(System.Windows.Forms.Formメインフォーム)< 0x41017dc0 + 0x00033>: 、Microsoft.VisualBasic ApplicationServices.WindowsFormsApplicationBase.OnRun()< 0x4125e9d0 + 0x00077>:0 (Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String [] commandLine)< 0x4125e9b0 + 0x00010>:0 at。 (システム。文字列[])< 0x4125bd50 + 0x00043>:0 [エラー]致命的な例外なし例外:System.NullReferenceException:オブジェクト参照がオブジェクトのインスタンスに設定されていません at +。 ()< 0x4103f510 + 0x001e6>:0 at njRAT.Form1。 (System.Windows.Forms.FormClosingEventArgs)< 0x4103e250 + 0x000ab>:0 at System.Windows.Forms.Form.OnFormClosing(System.Windows.Forms.FormClosingEventArgs)< 0x4103e1c0 + 0x00065>:0 at System.Windows.Forms.Form.FireClosingEvents(CloseReason理由、ブールキャンセル)< 0x4103e070 + 0x0009d>:0 at(ラッパーremoting-invoke-with-check)System.Windows.Forms.Form:FireClosingEvents(System。 System.Windows.Forms.Application.Exit()内の < 0x4103db20 + 0x001b7>: at System.Windows.Forms.Application.Exit()< 0x4103dae0 + 0x00027>:0 at System.Windows.Forms.Application.OnThreadExc System.Windows.Forms.NativeWindow.OnThreadException(System.Exception e)< 0x4103d630 + 0x00147>内の0 0x0x41040a70 + 0x00013>:0 (System.Windows.Forms.NativeWindow)。 WndProcメソッド(のIntPtr hWndは、メッセージのMSG、のIntPtr wParamに、のIntPtr lParamに)< 0x412a8d70 + 0x00b51>:0 System.Windows.Forms.XplatUIX11.SendMessage(HWNDのIntPtr、メッセージメッセージのIntPtr wParamに、のIntPtr lParamに)< 0x412a8650 + 0x0044fで> 0: at System.Windows.Forms.XplatUIX11.MapWindow(System.Windows.Forms.Hwnd hwnd、WindowTypeウィンドウ)< 0x412ab2d0 + 0x001f3>:0 at System.Windows.Forms.XplatUIX11.CreateWindow(System。 Windows.Forms.CreateParams cp)< 0x412a37e0 + 0x00c53>:System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)にある< 0x412a37b0 + 0x0001f>:0 at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp) < 0x412a3700 + 0x0003f>で:でSystem.Windows.Forms.Form.CreateHandle()< 0x41019c40 + 0x00027>で0 :0でSystem.Windows.Forms.Control.CreateHandle()< 0x412a3420 + 0x00069>で0 System.Windows.Forms.Control.CreateControlで ()で< 0x412a3170 + 0x00087>:System.Windows.Forms.Control.SetVisibleCore(ブール値)< 0x412b4bb0 + 0x00083>で0 で:System.Windowsで0 。 Forms.Form.SetVisibleCore(ブール値)< 0 System.Windows.Forms.Control.set_Visible(ブール値)< 0x412b4b30 + 0x00032> 0:0 at(ラッパーremoting-invoke-with-check)System.Windows.Forms.Controlでのx41019420 + 0x00317> in:0 System.Windows.Forms.Application.RunLoop(Boolean Modal、System.Windows.Forms.ApplicationContextコンテキスト) 0x41017ec0 + 0x0033f>: at System.Windows.Forms.Application.Run(System。 Windows.Forms.ApplicationContextコンテキスト)< 0x41017e10 + 0x00057> 0 、System.Windows.Forms.Application.Run(System.Windows.Forms.Formメインフォーム)< 0x41017dc0 + 0x00033>: 、Microsoft.VisualBasic ApplicationServices.WindowsFormsApplicationBase.OnRun()< 0x4125e9d0 + 0x00077>:0 (Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String [] commandLine)< 0x4125e9b0 + 0x00010>:0 at。 (System.String [])< 0x4125bd50 + 0x00043>:0

+0

どのようなプログラムですか? 'Directory '/ root/Desktop/tool \ plugin \' not found'このディレクトリは存在し、適切な権限を持っていますか? – mx0

答えて

0

警告とは何も関係ありませんが、後で例外が示されます。あなたのフォームはディスクからGeoIPファイルを読み込もうとしますが、Linuxで確実に失敗するWindowsのファイルパスしか使用しません。ファイルシステムの違いを学び、コードを修正してください。

+0

私は分かりません – jeromea

関連する問題