We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Leaving page with toast object on it throwing error in colsole

Thread ID:

Created:

Updated:

Platform:

Replies:

151218 Feb 4,2020 09:53 AM UTC Feb 26,2020 10:27 AM UTC Blazor 4
loading
Tags: Toast
Admir Hodžic
Asked On February 4, 2020 09:53 AM UTC

On pages with toast control, when user navigate away from page console throws error 
Same error we have in ver 44 with RichText Editor , now in 46 version RichText working but Toast is broken.
It is becoming so annoying working with Syncfusion Blazor components.
From version to version functions that has been worked falling apart randomly.
To be more spicy in browser console there is no any clue what was wrong
From messages like this
System.ArgumentException: There is no tracked object with id '1'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')
   at Microsoft.JSInterop.JSRuntime.GetObjectReference(Int64 dotNetObjectId)
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)
Error: System.ArgumentException: There is no tracked object with id '1'. Perhaps the DotNetObjectReference instance was already disposed. (Parameter 'dotNetObjectId')

There is no way to figure which control throws error, you need to test controls one by one to figure what went wrong, and then to wait for days to patch bug and pray that there is no new ones.

Reporo for this you can try on demo page 
Swic from demo to source tab take a look at browser console






Indrajith Srinivasan [Syncfusion]
Replied On February 6, 2020 02:52 PM UTC

Hi Admir, 
 
We regret for the inconvenience caused, 
 
We have validated your reported query and able to reproduce the issue from our end. The reported issue occurs only if the toast is open state and do the routing before hide it. We are making progress towards the memory leak issue for our Blazor components that leads this script error with dynamic DOM components alone. 
 
Currently, we are validating this issue with priority and update you with further details in two business days (10-02-2019). 
 
Regards, 
Indrajith 


Indrajith Srinivasan [Syncfusion]
Replied On February 10, 2020 02:21 PM UTC

Hi Admir, 
 
We have validated your reported query and able to reproduce the issue from our end. We have confirmed Script error from toast component while disposing of toast as a bug from our end and logged the report for the same and the fix will be included in our upcoming patch release scheduled to be roll-out on 19th February. 
 
You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link: https://www.syncfusion.com/feedback/11954/ 
 
Regards, 
Indrajith 


Indrajith Srinivasan [Syncfusion]
Replied On February 20, 2020 09:50 AM UTC

Hi Admir,    
    
We regret for the inconvenience caused, 
  
We couldn’t include the fix for “Script error from toast component while disposing of toast” with our weekly patch released on 19th February, due to complexity on resolving the reported issue from our end. We will include the fix in our next patch release scheduled to roll-out on 26th February 
 
We appreciate your patience until then. 
    
Regards, 
Indrajith 


Indrajith Srinivasan [Syncfusion]
Replied On February 26, 2020 10:27 AM UTC

Hi Admir,  
 
Thanks for your patience, 
 
We have resolved the reported issue “Script error from toast component while disposing of toast” with Toast and the fix is now available with the package version 17.4.51.  
 
  
Can you please upgrade your package to this latest version to resolve the issue from your end ? 
 
Regards, 
Indrajith 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon