Stackoverflow with MathFx in Blazor Designer

Stimulsoft Reports.BLAZOR discussion
Post Reply
Marco1970
Posts: 10
Joined: Mon Apr 24, 2023 12:17 pm

Stackoverflow with MathFx in Blazor Designer

Post by Marco1970 »

I droppe a mathfx component on a band, click ok, and after that I get this error:

Stack overflow.
Repeat 16045 times:
--------------------------------
at Stimulsoft.Drawing.Graphics.SetClip(System.Drawing.Rectangle, System.Drawing.Drawing2D.CombineMode)
--------------------------------
at Stimulsoft.Base.Helpers.StiSvgHelper.DrawWithSvg(System.String, System.Drawing.RectangleF, System.Drawing.Rec
tangleF, Double, Stimulsoft.Drawing.Graphics)
at Stimulsoft.Report.Painters.StiMathFormulaGdiPainter.DrawMath(Stimulsoft.Report.Components.StiMathFormula, Sti
mulsoft.Drawing.Graphics, System.Drawing.RectangleF)
at Stimulsoft.Report.Painters.StiMathFormulaGdiPainter.Draw(Stimulsoft.Report.Components.StiMathFormula, Stimuls
oft.Drawing.Graphics, System.Drawing.RectangleF)
at Stimulsoft.Report.Painters.StiMathFormulaGdiPainter.GetImage(Stimulsoft.Report.Components.StiComponent, Singl
e ByRef, Stimulsoft.Report.StiExportFormat)
at Stimulsoft.Report.Components.StiMathFormula.GetImage(Single ByRef, Stimulsoft.Report.StiExportFormat)
at Stimulsoft.Report.Export.StiSvgHelper.WriteImage(System.Xml.XmlTextWriter, Stimulsoft.Report.Export.StiSvgDat
a, Single, Stimulsoft.Drawing.Imaging.ImageFormat, Single, Stimulsoft.Drawing.Imaging.ImageCodecInfo, System.Collec
tions.Hashtable)
at Stimulsoft.Report.Export.StiSvgHelper.SaveComponentToString(Stimulsoft.Report.Components.StiComponent, Stimul
soft.Drawing.Imaging.ImageFormat, Single, Single)
at Stimulsoft.Report.Web.StiReportEdit.GetSvgContent(Stimulsoft.Report.Components.StiComponent, Double)
at Stimulsoft.Report.Web.StiReportEdit.ReadAllPropertiesFromString(Stimulsoft.Report.StiReport, System.Collectio
ns.Hashtable, System.Collections.Hashtable)
at Stimulsoft.Report.Web.StiWebDesigner.CommandResult(Stimulsoft.Report.Web.StiRequestParams, Stimulsoft.Report.
StiReport)
at Stimulsoft.Report.Blazor.StiBlazorDesigner+<InvokeDesignerEvent>d__108.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Stimulsoft.Report.Blazor.StiBlazorDesigner+<Inv
okeDesignerEvent>d__108, Stimulsoft.Report.Blazor, Version=2024.2.2.0, Culture=neutral, PublicKeyToken=ebe6666cba19
647a]](<InvokeDesignerEvent>d__108 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=8.0
.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Stimulsoft.Report.Blazor.StiBlazorDesigner+<InvokeD
esignerEvent>d__108, Stimulsoft.Report.Blazor, Version=2024.2.2.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a
]](<InvokeDesignerEvent>d__108 ByRef)
at Stimulsoft.Report.Blazor.StiBlazorDesigner.InvokeDesignerEvent(Stimulsoft.Report.Web.StiRequestParams)
at Stimulsoft.Report.Blazor.StiBlazorDesigner+<ProcessRequestResult>d__56.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Stimulsoft.Report.Blazor.StiBlazorDesigner+<Pro
cessRequestResult>d__56, Stimulsoft.Report.Blazor, Version=2024.2.2.0, Culture=neutral, PublicKeyToken=ebe6666cba19
647a]](<ProcessRequestResult>d__56 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=8.0
.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Stimulsoft.Report.Blazor.StiBlazorDesigner+<Process
RequestResult>d__56, Stimulsoft.Report.Blazor, Version=2024.2.2.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a
]](<ProcessRequestResult>d__56 ByRef)
at Stimulsoft.Report.Blazor.StiBlazorDesigner.ProcessRequestResult(Stimulsoft.Report.Web.StiRequestParams)
at Stimulsoft.Report.Blazor.StiBlazorDesigner+<Request>d__55.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Stimulsoft.Report.Blazor.StiBlazorDesigner+<Req
uest>d__55, Stimulsoft.Report.Blazor, Version=2024.2.2.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a]](<Reque
st>d__55 ByRef)
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[[Stimulsoft.Report.Blazor.StiBlazorDesigner+<Req
uest>d__55, Stimulsoft.Report.Blazor, Version=2024.2.2.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a]](<Reque
st>d__55 ByRef)
at Stimulsoft.Report.Blazor.StiBlazorDesigner.Request(System.String, System.String, System.String)
at DynamicClass.InvokeStub_StiBlazorDesigner.Request(System.Object, System.Span`1<System.Object>)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(System.Object, System.Reflection.BindingFlags, System.R
eflection.Binder, System.Object[], System.Globalization.CultureInfo)
at System.Reflection.MethodBase.Invoke(System.Object, System.Object[])
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(Microsoft.JSInterop.JSRuntime, Micros
oft.JSInterop.Infrastructure.DotNetInvocationInfo ByRef, Microsoft.JSInterop.Infrastructure.IDotNetObjectReference,
System.String)
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(Microsoft.JSInterop.JSRuntime, Microsof
t.JSInterop.Infrastructure.DotNetInvocationInfo, System.String)
at Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost+<>c__DisplayClass45_0.<BeginInvokeDotNetFromJS>b_
_1()
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<InvokeAsync>g__Execute|8_0(System.V
alueTuple`3<System.Runtime.CompilerServices.AsyncTaskMethodBuilder,System.Action,Microsoft.AspNetCore.Components.Re
ndering.RendererSynchronizationContext>)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.InvokeAsync(System.Action)
at Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost+<BeginInvokeDotNetFromJS>d__45.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.Components.Server.Circuits
.CircuitHost+<BeginInvokeDotNetFromJS>d__45, Microsoft.AspNetCore.Components.Server, Version=8.0.0.0, Culture=neutr
al, PublicKeyToken=adb9793829ddae60]](<BeginInvokeDotNetFromJS>d__45 ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.AspNetCore.Components.Server.Circuits
.CircuitHost+<BeginInvokeDotNetFromJS>d__45, Microsoft.AspNetCore.Components.Server, Version=8.0.0.0, Culture=neutr
al, PublicKeyToken=adb9793829ddae60]](<BeginInvokeDotNetFromJS>d__45 ByRef)
at Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost.BeginInvokeDotNetFromJS(System.String, System.Str
ing, System.String, Int64, System.String)
at Microsoft.AspNetCore.Components.Server.ComponentHub+<BeginInvokeDotNetFromJS>d__16.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.Components.Server.Componen
tHub+<BeginInvokeDotNetFromJS>d__16, Microsoft.AspNetCore.Components.Server, Version=8.0.0.0, Culture=neutral, Publ
icKeyToken=adb9793829ddae60]](<BeginInvokeDotNetFromJS>d__16 ByRef)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder.Start[[Microsoft.AspNetCore.Components.Server.Com
ponentHub+<BeginInvokeDotNetFromJS>d__16, Microsoft.AspNetCore.Components.Server, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=adb9793829ddae60]](<BeginInvokeDotNetFromJS>d__16 ByRef)
at Microsoft.AspNetCore.Components.Server.ComponentHub.BeginInvokeDotNetFromJS(System.String, System.String, Sys
tem.String, Int64, System.String)
at DynamicClass.lambda_method437(System.Runtime.CompilerServices.Closure, System.Object, System.Object[])
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1+<ExecuteMethod>d__23[[System.__Canon, System.Pri
vate.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.SignalR.Internal.DefaultHu
bDispatcher`1+<ExecuteMethod>d__23[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, Publi
cKeyToken=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=a
db9793829ddae60]](<ExecuteMethod>d__23<System.__Canon> ByRef)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Versio
n=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.AspNetCore.SignalR.Internal.DefaultH
ubDispatcher`1+<ExecuteMethod>d__23[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, Publ
icKeyToken=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=
adb9793829ddae60]](<ExecuteMethod>d__23<System.__Canon> ByRef)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1[[System.__Canon, System.Private.CoreLib, Version
=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecuteMethod(Microsoft.Extensions.Internal.ObjectMeth
odExecutor, Microsoft.AspNetCore.SignalR.Hub, System.Object[])
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1+<<Invoke>g__ExecuteInvocation|18_0>d[[System.__C
anon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.SignalR.Internal.DefaultHu
bDispatcher`1+<<Invoke>g__ExecuteInvocation|18_0>d[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Cultur
e=neutral, PublicKeyToken=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=adb9793829ddae60]](<<Invoke>g__ExecuteInvocation|18_0>d<System.__Canon> ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.AspNetCore.SignalR.Internal.DefaultHu
bDispatcher`1+<<Invoke>g__ExecuteInvocation|18_0>d[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Cultur
e=neutral, PublicKeyToken=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=adb9793829ddae60]](<<Invoke>g__ExecuteInvocation|18_0>d<System.__Canon> ByRef)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1[[System.__Canon, System.Private.CoreLib, Version
=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<Invoke>g__ExecuteInvocation|18_0(Microsoft.AspNetCore
.SignalR.Internal.DefaultHubDispatcher`1<System.__Canon>, Microsoft.Extensions.Internal.ObjectMethodExecutor, Syste
m.__Canon, System.Object[], Microsoft.Extensions.DependencyInjection.AsyncServiceScope, Microsoft.AspNetCore.Signal
R.IHubActivator`1<System.__Canon>, Microsoft.AspNetCore.SignalR.HubConnectionContext, Microsoft.AspNetCore.SignalR.
Protocol.HubMethodInvocationMessage, Boolean)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1+<Invoke>d__18[[System.__Canon, System.Private.Co
reLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.SignalR.Internal.DefaultHu
bDispatcher`1+<Invoke>d__18[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyTok
en=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb97938
29ddae60]](<Invoke>d__18<System.__Canon> ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.Boolean, System.Private.CoreLib, Version=8.0
.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.AspNetCore.SignalR.Internal.DefaultHubDis
patcher`1+<Invoke>d__18[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7
cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829dd
ae60]](<Invoke>d__18<System.__Canon> ByRef)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1[[System.__Canon, System.Private.CoreLib, Version
=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Invoke(Microsoft.AspNetCore.SignalR.Internal.HubMethod
Descriptor, Microsoft.AspNetCore.SignalR.HubConnectionContext, Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvoc
ationMessage, Boolean, Boolean)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1+<>c[[System.__Canon, System.Private.CoreLib, Ver
sion=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<ProcessInvocation>b__17_0(System.ValueTuple`4<Mic
rosoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1<System.__Canon>,Microsoft.AspNetCore.SignalR.Internal.Hub
MethodDescriptor,Microsoft.AspNetCore.SignalR.HubConnectionContext,Microsoft.AspNetCore.SignalR.Protocol.HubMethodI
nvocationMessage>)
at Microsoft.AspNetCore.SignalR.Internal.ChannelBasedSemaphore+<RunTask>d__7`1[[System.ValueTuple`4[[System.__Ca
non, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, Sy
stem.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Pr
ivate.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.C
oreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.
0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.AspNetCore.SignalR.Internal.ChannelBa
sedSemaphore+<RunTask>d__7`1[[System.ValueTuple`4[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture
=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutra
l, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, Publ
icKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyTo
ken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
, Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<RunTask>d
__7`1<System.ValueTuple`4<System.__Canon,System.__Canon,System.__Canon,System.__Canon>> ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.AspNetCore.SignalR.Internal.ChannelBa
sedSemaphore+<RunTask>d__7`1[[System.ValueTuple`4[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture
=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutra
l, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, Publ
icKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyTo
ken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
, Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]](<RunTask>d
__7`1<System.ValueTuple`4<System.__Canon,System.__Canon,System.__Canon,System.__Canon>> ByRef)
at Microsoft.AspNetCore.SignalR.Internal.ChannelBasedSemaphore.RunTask[[System.ValueTuple`4[[System.__Canon, Sys
tem.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Pri
vate.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.Co
reLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,
Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Cultu
re=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`2<System.ValueTuple`4<System.__Canon,System.__Canon,Syste
m.__Canon,System.__Canon>,System.Threading.Tasks.Task`1<Boolean>>, System.ValueTuple`4<System.__Canon,System.__Cano
n,System.__Canon,System.__Canon>)
at Microsoft.AspNetCore.SignalR.Internal.ChannelBasedSemaphore.RunAsync[[System.ValueTuple`4[[System.__Canon, Sy
stem.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Pr
ivate.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.C
oreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib,
Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=8.0.0.0, Cult
ure=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`2<System.ValueTuple`4<System.__Canon,System.__Canon,Syst
em.__Canon,System.__Canon>,System.Threading.Tasks.Task`1<Boolean>>, System.ValueTuple`4<System.__Canon,System.__Can
on,System.__Canon,System.__Canon>)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1[[System.__Canon, System.Private.CoreLib, Version
=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ProcessInvocation(Microsoft.AspNetCore.SignalR.HubConn
ectionContext, Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage, Boolean)
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1[[System.__Canon, System.Private.CoreLib, Version
=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DispatchMessageAsync(Microsoft.AspNetCore.SignalR.HubC
onnectionContext, Microsoft.AspNetCore.SignalR.Protocol.HubMessage)
at Microsoft.AspNetCore.SignalR.HubConnectionHandler`1+<DispatchMessagesAsync>d__21[[System.__Canon, System.Priv
ate.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidT
askResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.As
pNetCore.SignalR.HubConnectionHandler`1+<DispatchMessagesAsync>d__21[[System.__Canon, System.Private.CoreLib, Versi
on=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=adb9793829ddae60]].ExecutionContextCallback(System.Object)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.Exe
cutionContext, System.Threading.ContextCallback, System.Object)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidT
askResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.As
pNetCore.SignalR.HubConnectionHandler`1+<DispatchMessagesAsync>d__21[[System.__Canon, System.Private.CoreLib, Versi
on=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=adb9793829ddae60]].MoveNext(System.Threading.Thread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidT
askResult, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.As
pNetCore.SignalR.HubConnectionHandler`1+<DispatchMessagesAsync>d__21[[System.__Canon, System.Private.CoreLib, Versi
on=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Microsoft.AspNetCore.SignalR.Core, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=adb9793829ddae60]].ExecuteFromThreadPool(System.Threading.Thread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
Max Shamanov
Posts: 897
Joined: Tue Sep 07, 2021 10:11 am

Re: Stackoverflow with MathFx in Blazor Designer

Post by Max Shamanov »

Hello,

Could you please clarify did you use Blaozr Server or Blazor WASM?
Also please clarify did you install Stimulsoft.MathFX package in your project?

Thank you.
Marco1970
Posts: 10
Joined: Mon Apr 24, 2023 12:17 pm

Re: Stackoverflow with MathFx in Blazor Designer

Post by Marco1970 »

Blazor Server. I added the nuget Package Stimulsoft.MathFX to the project and added Stimulsoft.MathFX.dll to the referenced assemblies.

Thanks!
Max Shamanov
Posts: 897
Joined: Tue Sep 07, 2021 10:11 am

Re: Stackoverflow with MathFx in Blazor Designer

Post by Max Shamanov »

Hello,

Can you specify if adding packages to your project solved the problem?
If not, can you send us a simple project that reproduces the issue?

Thank you.
Marco1970
Posts: 10
Joined: Mon Apr 24, 2023 12:17 pm

Re: Stackoverflow with MathFx in Blazor Designer

Post by Marco1970 »

No, adding the package does not solve the problem. Without the package, you can't add MathFx component to the designer.

I've attached a demo. Just a created a new blazor server project, added the nuget packages and added the designer.

To get the error:
- Start the application
- The Blazor designer will open
- click new (empty page)
- drop a math fx component on the page
- select any formula
- click ok
-> Programm crashes, browser will close


Thanks!
Attachments
MathFXDemo.zip
(290.61 KiB) Downloaded 292 times
Max Shamanov
Posts: 897
Joined: Tue Sep 07, 2021 10:11 am

Re: Stackoverflow with MathFx in Blazor Designer

Post by Max Shamanov »

Hello.

We have reproduced the issue and need some time to make an improvement.
We will let you know when we get any results.

Thank you.
Max Shamanov
Posts: 897
Joined: Tue Sep 07, 2021 10:11 am

Re: Stackoverflow with MathFx in Blazor Designer

Post by Max Shamanov »

Hello, Franc.

We have made an improvement.
Please, check our next major build when it will be available.

Thank you.
Post Reply