Null reference exception when call dispose

Docking/MDI for Windows Forms Forum

Posted 17 years ago by Ernesto Serrano - Software Developer, VyS Yecla S.L.
Version: 2.0.93
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Avatar
In the dispose method of a Form I'm calling dispose to some controls to help GC to collect they, but when I dispose the dockmanager object i'm getting this exception:

Message: {"Referencia a objeto no establecida como instancia de un objeto."} (Null reference exception in spanish)

Source: "ActiproSoftware.UIStudio.Dock.Net20"
StackTrace:
en ActiproSoftware.UIStudio.Dock.DockManager.a(ContainerControl A_0)
en ActiproSoftware.UIStudio.Dock.DockManager.Dispose(Boolean disposing)
en System.ComponentModel.Component.Dispose()
en VSControls.Grupo.Dispose(Boolean disposing) en N:\Proyectos\Controles\Controles\Ventanas\Principal\Controles\Grupo.vb:línea 1906

I hope this helps you, thanks!

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Ernesto,

Can you email over a small sample project that reproduces this? There is a lot of code in the Dispose method so we need to be able to debug it to see what is happening in your situation. Thanks!


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.