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 - TChart class of TeeChart.Server cannot be initialized in build 4.2023.3.23
Summary: TChart class of TeeChart.Server cannot be initialized in build 4.2023.3.23
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: .NET 5.0 (show other bugs)
Version: unspecified
Hardware: PC All
: Highest regression
Target Milestone: ---
Assignee: Steema Issue Manager
URL: https://steema.com/support/posting.ph...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-04 12:55 EDT by christopher ireland
Modified: 2023-04-04 12:57 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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()