JIT debugging RRS feed

  • Question

  • I have found this in error in an application, can anyone help on this

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

       at DirXObjects.ParticleFountain.Dispose()
       at DirXObjects.ParticleGen.Tick(Int32 step)
       at DirXObjects.DirXModel.Tick(Int32 step)
       at RPGView.ActorInfo.Tick(Int32 step)
       at RPGView.Scene.Tick(Int32 step)
       at DirXModule.DirXPanel.Tick(Int32 step)
       at DirXStart.Form1.timer1_Tick(Object sender, EventArgs e)
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Wednesday, December 11, 2019 5:47 AM

All replies

  • Hi Free.Code,

    Welcome to MSDN forum.

    The exception will be caused by many situations, please check whether the object that needs to be processed has a gained value.

    You could set a breakpoint before where the exception thrown, then watch if the object is null.

    And if possible, could you share some details or screenshots which could help us analysis this issue? And you could also share a sample using github or onedrive, we will test it and try to reproduce this issue on our side.

    Look forward to your reply.

    Best Regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Wednesday, December 11, 2019 8:10 AM