Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2599

Summary: TChart class of TeeChart.Server cannot be initialized in build 4.2023.3.23
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: .NET 5.0Assignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: regression    
Priority: Highest    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
URL: https://steema.com/support/posting.php?mode=quote&f=4&p=79370
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2023-04-04 12:55:42 EDT
Attempting to instantiate the TChart class, e.g.

var mChart = new TChart();

results in an unhandled exception:

System.ArgumentNullException: 'Value cannot be null. Arg_ParamName_Name'

   at System.ArgumentNullException.Throw(String paramName)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at Steema.TeeChart.Drawing.TeeBase.Instantiate[T](T property, Type type, Object[] args)
   at Steema.TeeChart.Axis..ctor(Chart c)
   at Steema.TeeChart.Axes..ctor(Chart c)
   at Steema.TeeChart.Chart.InitVars()
   at Steema.TeeChart.Chart..ctor(IChart parent, ILicenseProvider provider)
   at Steema.TeeChart.TChart..ctor()