Error unexpected
Hi
I get this error without make changes on my code...
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.RichTextEditor.RichTextEditorImageSettings.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit 'kec6egIyrSxop4D0HaeQrUKNPY4i1KEcb8Yo7hcZ--o'.
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.RichTextEditor.RichTextEditorImageSettings.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
I close visual studio and start again and this error is gone...
Please help!
SIGN IN To post a reply.
4 Replies
1 reply marked as answer
JL
jose luis barajas
December 12, 2020 09:47 PM UTC
As new information for help...
I deployed my project to hosting server with release mode
* I not get any errors, testing many times
If I run my project in my local machine without debug, I not get any errors ..
Only I get this exception when run locally and whit debug enabled in visual studio...
RK
Revanth Krishnan
Syncfusion Team
December 14, 2020 12:54 PM UTC
Hi Jose,
Greetings from Syncfusion support.
We have validated your query “Exception error occurs when running the project in the local machine and when the debugging is enabled”.
We have tried the following to reproduce the issue,
- Checked with the samples without using the `RichTextEditorImageSettings`.
- Checked with samples with `RichTextEditorImageSettings` and upload the image to the server.
- Both the samples are checked by debugging.
But we are not able to reproduce the issue from our end.
We have prepared a sample for your reference,
Can you please share us with more details to reproduce the issue or modify the shared samples with the issue reproducing scenario along with the product version you are using, so that we can validate the issue and assist you at the earliest.
Regards,
Revanth
Hi Jose,Greetings from Syncfusion support.We have validated your query “Exception error occurs when running the project in the local machine and when the debugging is enabled”.We have tried the following to reproduce the issue,
- Checked with the samples without using the `RichTextEditorImageSettings`.
- Checked with samples with `RichTextEditorImageSettings` and upload the image to the server.
- Both the samples are checked by debugging.
But we are not able to reproduce the issue from our end.We have prepared a sample for your reference,Can you please share us with more details to reproduce the issue or modify the shared samples with the issue reproducing scenario along with the product version you are using, so that we can validate the issue and assist you at the earliest.Regards,Revanth
Hi
I already checked and I made a mistake on a call in the event
OnAfterRenderAsync
Thanks for the support!
Marked as answer
RK
Revanth Krishnan
Syncfusion Team
December 16, 2020 09:55 AM UTC
Hi Jose,
Good day to you.
We are glad that the reported issue is resolved in your end. Thanks for your update.
Regards,
Revanth
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
- Marked answer
-
JL jose luis barajas
- Dec 12, 2020 01:26 AM UTC
- Dec 16, 2020 09:55 AM UTC