sf.filemanager is undefined
Hello, after I updated to latest version ( 18.0.4.32) I started getting the following error in a specific page. After some digging I found out that it's because I have the Gantt chart component in the page. How are the two things related and is there fix ?
Error: Microsoft.JSInterop.JSException: sf.filemanager is undefined
./modules/richtexteditor.js/sf.richtexteditor</hn<@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:449384
./modules/richtexteditor.js/sf.richtexteditor<@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:451188
./modules/richtexteditor.js@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:511629
n@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:110
./bundles/richtexteditor.js@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:1043
n@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:110
@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:937
@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:974
at Microsoft.JSInterop.JSRuntime.InvokeWithDefaultCancellation[T](String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Syncfusion.Blazor.Internal.SfBaseUtils.ImportScripts(IJSRuntime jsRuntime, String modulePath)
at Syncfusion.Blazor.Internal.SfBaseUtils.ImportModules(IJSRuntime jsRuntime, List`1 scriptModules, String hashKey)
at Syncfusion.Blazor.BaseComponent.OnInitRenderAsync()
at Syncfusion.Blazor.SyncfusionBlazorService.UpdateSyncfusionService(Boolean isDevice)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_0(Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteSynchronously(TaskCompletionSource`1 completion, SendOrPostCallback d, Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteBackground(WorkItem item)
./modules/richtexteditor.js/sf.richtexteditor</hn<@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:449384
./modules/richtexteditor.js/sf.richtexteditor<@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:451188
./modules/richtexteditor.js@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:511629
n@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:110
./bundles/richtexteditor.js@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:1043
n@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:110
@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:937
@https://localhost:44303/_content/Syncfusion.Blazor/scripts/richtexteditor-152d28.min.js:1:974
at Microsoft.JSInterop.JSRuntime.InvokeWithDefaultCancellation[T](String identifier, Object[] args)
at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args)
at Syncfusion.Blazor.Internal.SfBaseUtils.ImportScripts(IJSRuntime jsRuntime, String modulePath)
at Syncfusion.Blazor.Internal.SfBaseUtils.ImportModules(IJSRuntime jsRuntime, List`1 scriptModules, String hashKey)
at Syncfusion.Blazor.BaseComponent.OnInitRenderAsync()
at Syncfusion.Blazor.SyncfusionBlazorService.UpdateSyncfusionService(Boolean isDevice)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_0(Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteSynchronously(TaskCompletionSource`1 completion, SendOrPostCallback d, Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteBackground(WorkItem item)
SIGN IN To post a reply.
3 Replies
GM
Gopinath Muniraj
Syncfusion Team
January 6, 2021 08:18 AM UTC
Hi Georgi,
Thanks for contacting Syncfusion support.
We have analyzed your query. This is a known issue and it was already fixed. Please upgrade your packages to the latest version (v18.4.33).
We have prepared a sample for your reference. Please get the sample from below link.
Please let us know if you need any further assistance on this.
Thanks,
Gopinath M
GS
Georgi Stoyanov
January 6, 2021 09:20 AM UTC
Hello, after upgrade I still get this error ocassionally. Is there anything else that can interfere the execution and cause this problem ?
Edit: I even get this error on your demo. Please note that its not guarantee that it will happen. If you refresh the page the bug could appear. Attaching image from the demo

KR
Karthikeyan Raja
Syncfusion Team
January 7, 2021 11:21 AM UTC
Hi Georgi,
We have analyzed your query. But the reported problem were not reproduced in 18.4.33 version. The reported problem is may arises due to nuget cache. So kindly follow the below documentation guidelines for updating packages and ensure.
Documentation - https://blazor.syncfusion.com/documentation/common/how-to/upgrade-syncfusion-components-to-latest-version/#cache-problem
If you are still facing problem, Kindly share the below details
- Is your application is Server side or Web assembly?
- Code snippets for script reference & Gantt
So that we can investigate this further at our end.
Also we have provided support for use Gantt with individual nuget packages. Please refer the below documentation link and ensure it
Documentation - https://blazor.syncfusion.com/documentation/getting-started/server-side-blazor/#using-syncfusion-blazor-individual-nuget-packages-new-standard
Regards,
Karthikeyan Raja
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
GS Georgi Stoyanov
- Jan 5, 2021 09:29 AM UTC
- Jan 7, 2021 11:21 AM UTC