CivOne icon indicating copy to clipboard operation
CivOne copied to clipboard

RuntimeHandler.OnDraw: Exception has occurred: CLR/System.NullReferenceException

Open iegik opened this issue 3 years ago • 0 comments

Runtime.Palette = Common.TopScreen.Palette.Copy();
^
Exception has occurred: CLR/System.NullReferenceException
An unhandled exception of type 'System.NullReferenceException' occurred in CivOne.dll: 'Object reference not set to an instance of an object.'
   at CivOne.RuntimeHandler.OnDraw(Object sender, EventArgs args) in CivOne/src/RuntimeHandler.cs:line 103
   at CivOne.Runtime.InvokeDraw() in CivOne/runtime/sdl/src/Runtime.cs:line 29
   at CivOne.GameWindow.Draw(Object sender, EventArgs args) in CivOne/runtime/sdl/src/GameWindow.cs:line 56
   at CivOne.SDL.Window.Run() in CivOne/runtime/sdl/src/SDL/Window.cs:line 96
   at CivOne.Program.Main(String[] args) in CivOne/runtime/sdl/src/Program.cs:line 89

(need more info)

iegik avatar Sep 19 '21 18:09 iegik