Posted 20 years ago
by medyanik
-
Software Developer,
Direct EDI, Inc.

Hi All.
I have VS autogenerated code in my main form which starts from
this.dwManager = new ActiproSoftware.DockableWindow.DWManager();
this.SuspendLayout();
.....
this.Controls.Add(this.dwManager);
the last string of code causes exception which becomes visible when you set
Break into Debugger for Common Language Runtime Exceptions.
Details:
A first chance exception of type 'System.NullReferenceException' occurred in actiprosoftware.dockablewindow.dll
Additional information: Object reference not set to an instance of an object.
Some additional info
System.Object {System.NullReferenceException} System.Object
_className null string
_COMPlusExceptionCode -532459699 int
_exceptionMethod <undefined value> System.Reflection.MethodBase
_exceptionMethodString null string
_helpURL null string
_HResult -2147467261 int
_innerException { } System.Exception
_message "Object reference not set to an instance of an object." string
_remoteStackIndex 0 int
_remoteStackTraceString null string
_source null string
_stackTrace <undefined value> System.Object
_stackTraceString null string
_xcode -1073741819 int
_xptrs 1237856 int
HelpLink null string
HResult -2147467261 int
InnerException { } System.Exception
Message "Object reference not set to an instance of an object." string
Source null string
StackTrace null string
TargetSite <undefined value> System.Reflection.MethodBase
Has someone faced this before?
Any help is appreciated.
I have VS autogenerated code in my main form which starts from
this.dwManager = new ActiproSoftware.DockableWindow.DWManager();
this.SuspendLayout();
.....
this.Controls.Add(this.dwManager);
the last string of code causes exception which becomes visible when you set
Break into Debugger for Common Language Runtime Exceptions.
Details:
A first chance exception of type 'System.NullReferenceException' occurred in actiprosoftware.dockablewindow.dll
Additional information: Object reference not set to an instance of an object.
Some additional info
System.Object {System.NullReferenceException} System.Object
_className null string
_COMPlusExceptionCode -532459699 int
_exceptionMethod <undefined value> System.Reflection.MethodBase
_exceptionMethodString null string
_helpURL null string
_HResult -2147467261 int
_innerException { } System.Exception
_message "Object reference not set to an instance of an object." string
_remoteStackIndex 0 int
_remoteStackTraceString null string
_source null string
_stackTrace <undefined value> System.Object
_stackTraceString null string
_xcode -1073741819 int
_xptrs 1237856 int
HelpLink null string
HResult -2147467261 int
InnerException { } System.Exception
Message "Object reference not set to an instance of an object." string
Source null string
StackTrace null string
TargetSite <undefined value> System.Reflection.MethodBase
Has someone faced this before?
Any help is appreciated.
Sincerely yours, Oleg Medyanik