Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentNullException in TeeChart.Maui.Gallery #1

Open
taimo42 opened this issue Oct 21, 2022 · 1 comment
Open

ArgumentNullException in TeeChart.Maui.Gallery #1

taimo42 opened this issue Oct 21, 2022 · 1 comment

Comments

@taimo42
Copy link

taimo42 commented Oct 21, 2022

Hi,
I'm having trouble when trying out the Maui example for the TeeChart control.
Here are the details:

Development Environment

  • Microsoft Windows 10 Pro, Version 21H2, OS build 19044.2130
  • Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.3.6

Steps to reproduce

  • Download this repository
  • Open 'TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\TeeChart.Maui.Gallery.sln' in Visual Studio
  • Select 'Windows Machine' as the target
  • Build and Run the solution

Result

System.ArgumentNullException
HResult=0x80004003
Message=Value cannot be null. (Parameter 'type')
Source=System.Private.CoreLib
StackTrace:
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Steema.TeeChart.Drawing.Shape.get_Pen()
at Steema.TeeChart.Panel..ctor(Chart c)
at Steema.TeeChart.Chart.InitVars()
at TeeChart.Maui.ChartView..ctor()
at TeeChart.Maui.Gallery.MainPage.OnCounterClicked(Object sender, EventArgs e) in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 25
at TeeChart.Maui.Gallery.MainPage..ctor() in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 11
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

Can someone help me make this working?

@PepJorge
Copy link
Member

Hi, I'm having trouble when trying out the Maui example for the TeeChart control. Here are the details:

Development Environment

  • Microsoft Windows 10 Pro, Version 21H2, OS build 19044.2130
  • Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.3.6

Steps to reproduce

  • Download this repository
  • Open 'TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\TeeChart.Maui.Gallery.sln' in Visual Studio
  • Select 'Windows Machine' as the target
  • Build and Run the solution

Result

System.ArgumentNullException HResult=0x80004003 Message=Value cannot be null. (Parameter 'type') Source=System.Private.CoreLib StackTrace: at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at Steema.TeeChart.Drawing.Shape.get_Pen() at Steema.TeeChart.Panel..ctor(Chart c) at Steema.TeeChart.Chart.InitVars() at TeeChart.Maui.ChartView..ctor() at TeeChart.Maui.Gallery.MainPage.OnCounterClicked(Object sender, EventArgs e) in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 25 at TeeChart.Maui.Gallery.MainPage..ctor() in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 11 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

Can someone help me make this working?

Yes, the TeeChart for MAUI Windows platform part still giving some problems. For the moment only the other platforms (Android, iOS and MacOS) are available.
We hope to have working on Windows plarform shortly.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants