Lunar-Engine icon indicating copy to clipboard operation
Lunar-Engine copied to clipboard

Error in Editor

Open tomekatomek123456789 opened this issue 4 years ago • 2 comments

Szczegółowe informacje na temat wywoływania debugowania w trybie JIT (just in time) zamiast tego okna dialogowego znajdują się na końcu tego komunikatu.

************** Tekst wyjątku ************** System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu. w Lunar.Core.Utilities.Data.FileSystem.NPCFSDataManager.Load(IDataManagerArguments arguments) w D:\GameEngines\Lunar-Engine\src\Lunar.Core\Utilities\Data\FileSystem\NPCFSDataManager.cs:wiersz 92 w Lunar.Editor.Project.LoadNPC(String filePath) w D:\GameEngines\Lunar-Engine\src\Lunar.Editor\Project.cs:wiersz 624 w Lunar.Editor.Controls.DockNPCEditor.Initalize() w D:\GameEngines\Lunar-Engine\src\Lunar.Editor\Controls\DockNPCEditor.cs:wiersz 49 w Lunar.Editor.SuiteForm.OpenNPCDocument(FileInfo file) w D:\GameEngines\Lunar-Engine\src\Lunar.Editor\SuiteForm.cs:wiersz 356 w System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e) w DarkUI.Controls.DarkTreeView.OnMouseDoubleClick(MouseEventArgs e) w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) w System.Windows.Forms.Control.WndProc(Message& m) w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Zestawy załadowane ************** mscorlib Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4150.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Lunar.Editor Wersja zestawu: 1.0.0.0 Wersja Win32: 1.0.0.0 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/Lunar.Editor.exe

System.Windows.Forms Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4150.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4001.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

DarkUI Wersja zestawu: 1.0.0.0 Wersja Win32: 1.0.0.0 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/DarkUI.DLL

MonoGame.Framework Wersja zestawu: 3.7.1.189 Wersja Win32: 3.7.1.189 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/MonoGame.Framework.DLL

System.Configuration Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Windows.Forms.resources Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll

SharpDX.DXGI Wersja zestawu: 4.0.1.0 Wersja Win32: 4.0.1 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/SharpDX.DXGI.DLL

SharpDX.Direct3D11 Wersja zestawu: 4.0.1.0 Wersja Win32: 4.0.1 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/SharpDX.Direct3D11.DLL

Lunar.Core Wersja zestawu: 1.0.0.0 Wersja Win32: 1.0.0.0 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/Lunar.Core.DLL

Accessibility Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Xml.Linq Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

Lunar.Server Wersja zestawu: 1.0.0.0 Wersja Win32: 1.0.0.0 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/Lunar.Server.EXE

Lunar.Graphics Wersja zestawu: 1.0.0.0 Wersja Win32: 1.0.0.0 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/Lunar.Graphics.DLL

Newtonsoft.Json Wersja zestawu: 12.0.0.0 Wersja Win32: 12.0.2.23222 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/Newtonsoft.Json.DLL

System.Numerics Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4150.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Data Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.4121.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

SharpDX Wersja zestawu: 4.0.1.0 Wersja Win32: 4.0.1 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/SharpDX.DLL

System.resources Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/System.resources.dll

ScintillaNET Wersja zestawu: 3.6.3.0 Wersja Win32: 3.6.3.0 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/ScintillaNET.DLL

Microsoft.Scripting Wersja zestawu: 1.2.2.0 Wersja Win32: 1.2.2.1000 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/Microsoft.Scripting.DLL

IronPython Wersja zestawu: 2.7.9.0 Wersja Win32: 2.7.9.1000 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/IronPython.DLL

Microsoft.Dynamic Wersja zestawu: 1.2.2.0 Wersja Win32: 1.2.2.1000 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/Microsoft.Dynamic.DLL

IronPython.Modules Wersja zestawu: 2.7.9.0 Wersja Win32: 2.7.9.1000 CodeBase: file:///D:/GameEngines/Lunar-Engine/src/Lunar.Editor/bin/Release/IronPython.Modules.DLL

Anonymously Hosted DynamicMethods Assembly Wersja zestawu: 0.0.0.0 Wersja Win32: 4.8.4150.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

Microsoft.CSharp Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

mscorlib.resources Wersja zestawu: 4.0.0.0 Wersja Win32: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pl_b77a5c561934e089/mscorlib.resources.dll

************** Debugowanie w trybie JIT ************** Aby włączyć debugowanie w trybie just in time (JIT), plik .config tej aplikacji lub komputera (machine.config) musi mieć wartość jitDebugging ustawioną w sekcji system.windows.forms. Aplikacja musi być również skompilowana z włączonym debugowaniem.

Na przykład:

Gdy debugowanie JIT jest włączone, wszystkie nieobsługiwane wyjątki są wysyłane do debugera JIT zarejestrowanego na komputerze i nie są obsługiwane w tym oknie dialogowym.

The error is displayed in Polish, but it should be the same on every system. For translation I used DeepL.

tomekatomek123456789 avatar Mar 15 '20 19:03 tomekatomek123456789

Looks like this is an issue of it trying to load a file that no longer exists. What actions did you take prior for this error for reproduction purposes?

I know this submission is a bit old but I'm just getting around to picking this project back up.

JohnLamontagne avatar May 08 '20 15:05 JohnLamontagne

I didn't really do anything. I normally used the Lunar Engine. An error occurred when creating and modifying files related to Lunar Engine. For translation I used DeepL.

tomekatomek123456789 avatar May 09 '20 15:05 tomekatomek123456789