TeeChart.NET 3.0: NullReferenceException in TeeChart.dll
Posted: Thu Mar 06, 2008 2:48 pm
Good Day,
I'm using Visual Studio 2005 with C# in a scientific application with Infragistics NetAdvantage 2008 Volume 1 (Front-End) and Steema TeeChart.NET 3.0 (Graphs and Diagrams) third party software (fully licensed).
After much trial and error we've standarized on a specific front-end design for this specific type of business, which relies heavily on the UltraDockManager and UltraToolbarsManager controls and forms the critical part of the design. During the placement of the UltraToolbarsManager on the Form, a "Fill_Panel" is created which will contain other controls. One of these controls is a tChart control from Steema TeeChart.NET.
If the tChart control is placed within the boundary of the "Fill_Panel" without docking, the application behaves normal and correct when the Form is closed.
If the tChart control is placed within the boundary of the "Fill_Panel" with Dock set to Fill or any of the other options, the application produces a "A first chance exception of type 'System.NullReferenceException' occurred in TeeChart.dll", when the Form is closed.
As I don't know with which control the problem is, I'm sending this request for both Infragistics and Steema. I need help in figuring out if the problem is with the TeeChart control or with the Infragistics controls. I cannot emphasize the importance of these controls working together. Our whole solution depends on this one critical situation.
When the application is executed by running the exe outside VStudio, there doesn't seem to be a problem, but I need to be sure.
This was not a problem when we used Steema TeeChart.NET 1.1 and Infragistics NetAdvantage 2006 Volume 3.
Sample code uploaded (TestApplication.exe)
Regards,
Casper JH Erasmus
I'm using Visual Studio 2005 with C# in a scientific application with Infragistics NetAdvantage 2008 Volume 1 (Front-End) and Steema TeeChart.NET 3.0 (Graphs and Diagrams) third party software (fully licensed).
After much trial and error we've standarized on a specific front-end design for this specific type of business, which relies heavily on the UltraDockManager and UltraToolbarsManager controls and forms the critical part of the design. During the placement of the UltraToolbarsManager on the Form, a "Fill_Panel" is created which will contain other controls. One of these controls is a tChart control from Steema TeeChart.NET.
If the tChart control is placed within the boundary of the "Fill_Panel" without docking, the application behaves normal and correct when the Form is closed.
If the tChart control is placed within the boundary of the "Fill_Panel" with Dock set to Fill or any of the other options, the application produces a "A first chance exception of type 'System.NullReferenceException' occurred in TeeChart.dll", when the Form is closed.
As I don't know with which control the problem is, I'm sending this request for both Infragistics and Steema. I need help in figuring out if the problem is with the TeeChart control or with the Infragistics controls. I cannot emphasize the importance of these controls working together. Our whole solution depends on this one critical situation.
When the application is executed by running the exe outside VStudio, there doesn't seem to be a problem, but I need to be sure.
This was not a problem when we used Steema TeeChart.NET 1.1 and Infragistics NetAdvantage 2006 Volume 3.
Sample code uploaded (TestApplication.exe)
Regards,
Casper JH Erasmus