Unhandled Exception: Object reference not set to an instance of an object, when closing a form, but ONLY when many other forms are open

  • Thread starter Thread starter nina98765
  • Start date Start date
N

nina98765

Guest
I have a Windows desktop MDI application, which sometimes throws an unhandled exception when a specific form is closed. Sometimes, not always. As far as I can tell with testing, it only errors when many other forms are open at the same time = the program is using a lot of memory.

Below is the error, I have done a lot of searching and reading, and cannot come up with a solution. If anyone can help I would greatly appreciate it.


************** Exception Text **************

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

at C1.Win.C1Input.C1TextBox.WndProc(Message& m)

at C1.Win.C1Input.C1DropDownControl.WndProc(Message& m)

at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)





************** Loaded Assemblies **************

mscorlib

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

----------------------------------------

FacilitEASE

Assembly Version: 1.0.7093.19529

Win32 Version: 1.0.7093.19529

CodeBase: file:///C:/CNHS/FacilitEASE/FacilitEASE.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

----------------------------------------

System

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

----------------------------------------

System.Drawing

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

----------------------------------------

Accessibility

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll

----------------------------------------

AppWide

Assembly Version: 1.0.7096.21870

Win32 Version: 1.0.7096.21870

CodeBase: file:///C:/CNHS/FacilitEASE/AppWide.DLL

----------------------------------------

Facilities

Assembly Version: 1.0.6660.17428

Win32 Version: 1.0.6660.17428

CodeBase: file:///C:/CNHS/FacilitEASE/Facilities.DLL

----------------------------------------

Microsoft.VisualBasic

Assembly Version: 7.0.5000.0

Win32 Version: 7.10.3052.4

CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll

----------------------------------------

System.Data

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll

----------------------------------------

System.Xml

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

----------------------------------------

System.EnterpriseServices

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll

----------------------------------------

Receivables

Assembly Version: 1.0.7096.21873

Win32 Version: 1.0.7096.21873

CodeBase: file:///C:/CNHS/FacilitEASE/Receivables.DLL

----------------------------------------

C1.Win.C1Input

Assembly Version: 1.0.20061.135

Win32 Version: 1.0.20061.135

CodeBase: file:///C:/CNHS/FacilitEASE/C1.Win.C1Input.DLL

----------------------------------------

C1.Win.C1List

Assembly Version: 1.1.20061.92

Win32 Version: 1.1.20061.92

CodeBase: file:///C:/CNHS/FacilitEASE/C1.Win.C1List.DLL

----------------------------------------

System.Design

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll

----------------------------------------

C1.Win.C1TrueDBGrid

Assembly Version: 1.4.20061.51219

Win32 Version: 1.4.20061.51219

CodeBase: file:///C:/CNHS/FacilitEASE/C1.Win.C1TrueDBGrid.DLL

----------------------------------------

C1.Common

Assembly Version: 1.0.20031.116

Win32 Version: 1.0.20042.118

CodeBase: file:///C:/CNHS/FacilitEASE/C1.Common.DLL

----------------------------------------

CrystalDecisions.CrystalReports.Engine

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.crystalreports.engine/11.5.3300.0__692fbea5521e1304/crystaldecisions.crystalreports.engine.dll

----------------------------------------

CrystalDecisions.Shared

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.shared/11.5.3300.0__692fbea5521e1304/crystaldecisions.shared.dll

----------------------------------------

CrystalDecisions.ReportAppServer.CommLayer

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.commlayer/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.commlayer.dll

----------------------------------------

CrystalDecisions.ReportAppServer.ClientDoc

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.clientdoc/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.clientdoc.dll

----------------------------------------

CrystalDecisions.ReportAppServer.DataSetConversion

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.datasetconversion/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.datasetconversion.dll

----------------------------------------

CrystalDecisions.ReportAppServer.CubeDefModel

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.cubedefmodel/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.cubedefmodel.dll

----------------------------------------

CrystalDecisions.ReportAppServer.Controllers

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.controllers/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.controllers.dll

----------------------------------------

CrystalDecisions.ReportAppServer.DataDefModel

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.datadefmodel/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.datadefmodel.dll

----------------------------------------

CrystalDecisions.ReportAppServer.ReportDefModel

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.reportdefmodel/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.reportdefmodel.dll

----------------------------------------

BusinessObjects.Licensing.KeycodeDecoder

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.10.1263

CodeBase: file:///c:/windows/assembly/gac/businessobjects.licensing.keycodedecoder/11.5.3300.0__692fbea5521e1304/businessobjects.licensing.keycodedecoder.dll

----------------------------------------

System.Web

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll

----------------------------------------

crdb_adoplus

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.10.1263

CodeBase: file:///C:/Program%20Files%20(x86)/Business%20Objects/Common/3.5/bin/crdb_adoplus.dll

----------------------------------------

CustomMarshalers

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/custommarshalers/1.0.5000.0__b03f5f7f11d50a3a/custommarshalers.dll

----------------------------------------

CrystalDecisions.ReportAppServer.XmlSerialize

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportappserver.xmlserialize/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportappserver.xmlserialize.dll

----------------------------------------

CrystalDecisions.Enterprise.InfoStore

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.10.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.enterprise.infostore/11.5.3300.0__692fbea5521e1304/crystaldecisions.enterprise.infostore.dll

----------------------------------------

System.Web.Services

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.573

CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll

----------------------------------------

CrystalDecisions.ReportSource

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.9510.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportsource/11.5.3300.0__692fbea5521e1304/crystaldecisions.reportsource.dll

----------------------------------------

CrystalDecisions.Enterprise.Framework

Assembly Version: 11.5.3300.0

Win32 Version: 11.5.10.1263

CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.enterprise.framework/11.5.3300.0__692fbea5521e1304/crystaldecisions.enterprise.framework.dll


Nina

Continue reading...
 
Back
Top