diff --git a/knowledge-base/common-code-examples-in-documentation-do-not-compile.md b/knowledge-base/common-code-examples-in-documentation-do-not-compile.md index cda77b883..1c06e7fc4 100644 --- a/knowledge-base/common-code-examples-in-documentation-do-not-compile.md +++ b/knowledge-base/common-code-examples-in-documentation-do-not-compile.md @@ -29,7 +29,7 @@ I am trying to run the code snippets in the documentation but they do not compil ## Error Message ->warning Unhandled Exception: System.MissingMethodException: Method not found: Microsoft.Extensions.DependencyInjection.IServiceCollection +`Unhandled Exception: System.MissingMethodException: Method not found: Microsoft.Extensions.DependencyInjection.IServiceCollection` ## Solution diff --git a/knowledge-base/common-component-requires-telerikrootcomponent.md b/knowledge-base/common-component-requires-telerikrootcomponent.md index a2175f231..fa0dd7076 100644 --- a/knowledge-base/common-component-requires-telerikrootcomponent.md +++ b/knowledge-base/common-component-requires-telerikrootcomponent.md @@ -28,7 +28,7 @@ This knowledge base article explains how to avoid or fix the exception about a m ## Error Message ->warning Exception: A Telerik component on the requested view requires a TelerikRootComponent in MainLayout or a parent component. +`Exception: A Telerik component on the requested view requires a TelerikRootComponent in MainLayout or a parent component.` ## Cause diff --git a/knowledge-base/common-connection-closed.md b/knowledge-base/common-connection-closed.md index 08aa6cea7..1f3dff1e9 100644 --- a/knowledge-base/common-connection-closed.md +++ b/knowledge-base/common-connection-closed.md @@ -63,15 +63,11 @@ Cannot import XSLX files which have a lot of records. It works for few records. The exceptions may be similar to: ->warning Connection disconnected with error 'Error: Server returned an error on close: Connection closed with an error.' -> -Attempting to reconnect to the server... +`Connection disconnected with error 'Error: Server returned an error on close: Connection closed with an error.' Attempting to reconnect to the server...` Or: ->warning `System.Threading.Tasks.TaskCanceledException` -> -> `A task was canceled.` +`System.Threading.Tasks.TaskCanceledException. A task was canceled.` ## Possible Cause diff --git a/knowledge-base/common-failed-to-find.md b/knowledge-base/common-failed-to-find.md index d1ef1cea9..68b280245 100644 --- a/knowledge-base/common-failed-to-find.md +++ b/knowledge-base/common-failed-to-find.md @@ -26,11 +26,11 @@ I get a `Failed to find a valid digest in the 'integrity' attribute for resource ## Error Message ->warning Failed to find a valid digest in the 'integrity' attribute for resource 'https://.../_framework/Telerik.Recurrence.dll' with computed SHA-256 integrity ... The resource has been blocked. -> -> Unknown error occured while trying to verify integrity. -> ->Error: Failed to start platform. Reason: TypeError: Failed to fetch +`Failed to find a valid digest in the 'integrity' attribute for resource 'https://.../_framework/Telerik.Recurrence.dll' with computed SHA-256 integrity ... The resource has been blocked.` + +`Unknown error occured while trying to verify integrity.` + +`Error: Failed to start platform. Reason: TypeError: Failed to fetch` Other possible resources that may be referred to in the error: * Telerik.Documents.SpreadsheetStreaming.dll diff --git a/knowledge-base/common-maximum-call-stack-exceeded.md b/knowledge-base/common-maximum-call-stack-exceeded.md index e2a6101ac..27ad9f480 100644 --- a/knowledge-base/common-maximum-call-stack-exceeded.md +++ b/knowledge-base/common-maximum-call-stack-exceeded.md @@ -26,9 +26,9 @@ This knowledge base article deals with the `Maximum call stack size exceeded` er ## Error Message ->warning Microsoft.JSInterop.JSException: Maximum call stack size exceeded -> -> RangeError: Maximum call stack size exceeded +`Microsoft.JSInterop.JSException: Maximum call stack size exceeded` + +`RangeError: Maximum call stack size exceeded` ## Cause diff --git a/knowledge-base/common-null-value-parameter-format.md b/knowledge-base/common-null-value-parameter-format.md index 9adada420..4edbbaf9b 100644 --- a/knowledge-base/common-null-value-parameter-format.md +++ b/knowledge-base/common-null-value-parameter-format.md @@ -29,22 +29,22 @@ I am getting an error when I am using a Telerik Blazor component in an applicati The exact error message can vary. Here are just a few examples: ->warning Unhandled exception rendering component: Value cannot be null. (Parameter 'format') -> +``` +Unhandled exception rendering component: Value cannot be null. (Parameter 'format') +``` + +``` System.ArgumentNullException: Value cannot be null. (Parameter 'format') -> -at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) -> -at System.String.Format(String format, Object arg0, Object arg1) -> -at Telerik.Blazor.Components.TelerikWizard.get_PagerMessage() - ->warning System.ArgumentNullException: Value cannot be null. (Parameter 'format') -> -at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) -> -at Telerik.Blazor.Components.Common.Filters.FilterMenu.TelerikFilterMenu.get_FilterMenuSettingsLabel() + at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) + at System.String.Format(String format, Object arg0, Object arg1) + at Telerik.Blazor.Components.TelerikWizard.get_PagerMessage() +``` +``` +System.ArgumentNullException: Value cannot be null. (Parameter 'format') + at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) + at Telerik.Blazor.Components.Common.Filters.FilterMenu.TelerikFilterMenu.get_FilterMenuSettingsLabel() +``` ## Possible Cause diff --git a/knowledge-base/common-package-telerik-pivot-not-compatible-with-netframework.md b/knowledge-base/common-package-telerik-pivot-not-compatible-with-netframework.md index 11c515447..2f61718fd 100644 --- a/knowledge-base/common-package-telerik-pivot-not-compatible-with-netframework.md +++ b/knowledge-base/common-package-telerik-pivot-not-compatible-with-netframework.md @@ -32,14 +32,15 @@ This knowledge base article deals with the following issues: ## Error Message ->warning The nuget command failed with exit code and error -> -> NU1202: Package Telerik.Pivot.Core 0.1.1 is not compatible with net80 (.NETFramework,Version=v8.0). Package Telerik.Pivot.Core 0.1.1 supports: netstandard2.1 (.NETStandard,Version=v2.1) -> -> NU1202: Package Telerik.Pivot.DataProviders.Xmla 0.1.1 is not compatible with net80 (.NETFramework,Version=v8.0). Package Telerik.Pivot.DataProviders.Xmla 0.1.1 supports: -netstandard2.1 (.NETStandard,Version=v2.1) -> -> Packages failed to restore. +``` +The nuget command failed with exit code and error + +NU1202: Package Telerik.Pivot.Core 0.1.1 is not compatible with net80 (.NETFramework,Version=v8.0). Package Telerik.Pivot.Core 0.1.1 supports: netstandard2.1 (.NETStandard,Version=v2.1) + +NU1202: Package Telerik.Pivot.DataProviders.Xmla 0.1.1 is not compatible with net80 (.NETFramework,Version=v8.0). Package Telerik.Pivot.DataProviders.Xmla 0.1.1 supports: netstandard2.1 (.NETStandard,Version=v2.1) + +Packages failed to restore. +``` Similar errors can mention `net70 (.NETFramework,Version=v7.0)` or `net60 (.NETFramework,Version=v6.0)`. diff --git a/knowledge-base/common-partial-localization.md b/knowledge-base/common-partial-localization.md index 858be2ac3..b0a7e47d2 100644 --- a/knowledge-base/common-partial-localization.md +++ b/knowledge-base/common-partial-localization.md @@ -65,6 +65,6 @@ The following repository contains translations provided by the community. You ca Apart from missing localization strings, you may occasionally experience an error, similar to this one: ->warning Unhandled exception rendering component: Value cannot be null. (Parameter 'format') +`Unhandled exception rendering component: Value cannot be null. (Parameter 'format')` See knowledge base article [Value cannot be null. (Parameter 'format')]({%slug common-kb-null-value-parameter-format%}) for more details. diff --git a/knowledge-base/dpl-allocate-memory-error.md b/knowledge-base/dpl-allocate-memory-error.md index 748369073..57e372768 100644 --- a/knowledge-base/dpl-allocate-memory-error.md +++ b/knowledge-base/dpl-allocate-memory-error.md @@ -29,13 +29,19 @@ When I try to Generate or Export documents through the Telerik Document Processi ## Error Message ->warning WASM: Error: Garbage collector could not allocate 16384 bytes of memory for major heap section - ->warning WASM: * Assertion at /mnt/jenkins/workspace/test-mono-mainline-wasm/label/ubuntu-1804-amd64/mono/utils/lock-free-alloc.c:145, condition `sb_header' not met, function:alloc_sb, Failed to allocate memory for the lock free allocator - ->warning dotnet.js:1 Uncaught RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info. -> at abort (http://localhost:62774/_framework/wasm/dotnet.js:1:16107) -> at _abort (http://localhost:62774/_framework/wasm/dotnet.js:1:117299) +``` +WASM: Error: Garbage collector could not allocate 16384 bytes of memory for major heap section +``` + +``` +WASM: * Assertion at /mnt/jenkins/workspace/test-mono-mainline-wasm/label/ubuntu-1804-amd64/mono/utils/lock-free-alloc.c:145, condition 'sb_header' not met, function:alloc_sb, Failed to allocate memory for the lock free allocator +``` + +``` +dotnet.js:1 Uncaught RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info. + at abort (http://localhost:62774/_framework/wasm/dotnet.js:1:16107) + at _abort (http://localhost:62774/_framework/wasm/dotnet.js:1:117299) +``` ## Possible Cause diff --git a/knowledge-base/dropdowns-readonly-struct-error.md b/knowledge-base/dropdowns-readonly-struct-error.md index 95539a353..b197b39bc 100644 --- a/knowledge-base/dropdowns-readonly-struct-error.md +++ b/knowledge-base/dropdowns-readonly-struct-error.md @@ -24,6 +24,13 @@ res_type: kb ## Description When using the combo box component when the desired data is list of readonly structs there is a null reference exception and the combo box does not work. +## Error Message +A typical error would be null reference exception like the one below: + +``` +NullReferenceException: Object reference not set to an instance of an object. +Telerik.Blazor.Components.TelerikComboBox.b__70_0(ListDataItem item) +``` ## Steps to Reproduce @@ -53,12 +60,6 @@ Selected value: @selectedValue } ```` -## Error Message -A typical error would be null reference exception like the one below - ->warning NullReferenceException: Object reference not set to an instance of an object. -Telerik.Blazor.Components.TelerikComboBox.b__70_0(ListDataItem item) - ## Possible Cause The components require a model when binding so it can be instantiated with a parameterless constructor. This is a requirement that comes down to the forms validation that they must support and getting the `Default` value and object. Structs do not have a parameterless constructor. diff --git a/knowledge-base/fileselect-autofac.md b/knowledge-base/fileselect-autofac.md index c876f09fa..9ce7348ac 100644 --- a/knowledge-base/fileselect-autofac.md +++ b/knowledge-base/fileselect-autofac.md @@ -36,15 +36,11 @@ This knowledge base article deals with the following issues: ## Error Message ->warning Microsoft.JSInterop.JSException -> -> JsonException: JSON serialization is attempting to deserialize an unexpected byte array. -> -> StackTrace: -> -> at System.Threading.Tasks.ValueTask`1.get_Result() -> -> at Telerik.Blazor.Components.FileSelect.Stream.FileInfoStream.<ReadBytesAsync>d__24.MoveNext() +``` +Microsoft.JSInterop.JSException: JSON serialization is attempting to deserialize an unexpected byte array. + at System.Threading.Tasks.ValueTask`1.get_Result() + at Telerik.Blazor.Components.FileSelect.Stream.FileInfoStream.<ReadBytesAsync>d__24.MoveNext() +``` ## Cause diff --git a/knowledge-base/fileselect-stream-exception.md b/knowledge-base/fileselect-stream-exception.md index 8e26ed7d0..38fdff1d4 100644 --- a/knowledge-base/fileselect-stream-exception.md +++ b/knowledge-base/fileselect-stream-exception.md @@ -30,9 +30,10 @@ The FileSelect `Stream` (`FileInfoStream`) has exposed methods that are "not imp ## Error Message ->warning System.NotImplementedException: The method or operation is not implemented. -> -at Telerik.Blazor.Components.FileSelect.Stream.FileInfoStream.Read() +``` +System.NotImplementedException: The method or operation is not implemented. + at Telerik.Blazor.Components.FileSelect.Stream.FileInfoStream.Read() +``` The same exception will occur for the following methods and properties: diff --git a/knowledge-base/grid-filtering-null-reference.md b/knowledge-base/grid-filtering-null-reference.md index a634d99cf..307884708 100644 --- a/knowledge-base/grid-filtering-null-reference.md +++ b/knowledge-base/grid-filtering-null-reference.md @@ -25,11 +25,13 @@ res_type: kb For our current project, we are grabbing data from the server and using it to dynamically populate a `TelerikGrid` in Blazor. This is causing an issue with filtering in the `Grid`. ## Error Message ->warning `System.NullReferenceException: Object reference not set to an instance of an object.`
->`at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.GetFilterOperators()` ->`at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.InitFilterOperators()` ->`at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.OnInitializedAsync()` ->`at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()` +``` +System.NullReferenceException: Object reference not set to an instance of an object. + at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.GetFilterOperators() + at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.InitFilterOperators() + at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.OnInitializedAsync() + at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() +``` ## Possible Cause The possible reason for this error is a missing `FieldType` from the column that you try to filter. diff --git a/knowledge-base/grid-json-serializer-null-membertype.md b/knowledge-base/grid-json-serializer-null-membertype.md index df5190874..d442532f1 100644 --- a/knowledge-base/grid-json-serializer-null-membertype.md +++ b/knowledge-base/grid-json-serializer-null-membertype.md @@ -38,18 +38,24 @@ I see errors when I load the Grid state at initialization (`OnStateInit` event h The exception messages can vary, for example: ->warning System.NullReferenceException: Object reference not set to an instance of an object. -at Telerik.Blazor.Common.Filter.FilterOperatorFactory.GetFilterOperatorsForType(Type type, ITelerikStringLocalizer localizer) +``` +System.NullReferenceException: Object reference not set to an instance of an object. + at Telerik.Blazor.Common.Filter.FilterOperatorFactory.GetFilterOperatorsForType(Type type, ITelerikStringLocalizer localizer) +``` Or alternatively: ->warning System.NullReferenceException: Object reference not set to an instance of an object. -at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.GetFilterOperators() -at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.InitFilterOperators() +``` +System.NullReferenceException: Object reference not set to an instance of an object. + at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.GetFilterOperators() + at Telerik.Blazor.Components.Common.Filters.FilterList.TelerikFilterList.InitFilterOperators() +``` If the Grid is bound to **OData**, the OData query may be incorrect and the following exception may occur: ->warning A binary operator with incompatible types was detected. Found operand types '...' and '...' for operator kind '...'.", "type": "Microsoft.OData.ODataException". +``` +A binary operator with incompatible types was detected. Found operand types '...' and '...' for operator kind '...'.", "type": "Microsoft.OData.ODataException". +``` ## Possible Cause diff --git a/knowledge-base/keynotfoundexception-inputelementvalue.md b/knowledge-base/keynotfoundexception-inputelementvalue.md index 0549171ed..7dc37c56c 100644 --- a/knowledge-base/keynotfoundexception-inputelementvalue.md +++ b/knowledge-base/keynotfoundexception-inputelementvalue.md @@ -33,7 +33,7 @@ When I set the focus on a DatePicker or DateInput and tab to switch to another c ## Error Message ->warning System.Collections.Generic.KeyNotFoundException: The given key 'inputElementValue' was not present in the dictionary. +`System.Collections.Generic.KeyNotFoundException: The given key 'inputElementValue' was not present in the dictionary.` ## Possible Cause diff --git a/knowledge-base/nest-render-fragment.md b/knowledge-base/nest-render-fragment.md index f2767d32a..d7c4fc818 100644 --- a/knowledge-base/nest-render-fragment.md +++ b/knowledge-base/nest-render-fragment.md @@ -32,19 +32,19 @@ The Blazor app produces exceptions when using `RenderFragment` templates in Tele The exception message can vary by component name, but the common wording will be similar to: ->warning The child content element `ChildContent` of component `GridCommandColumn` uses the same parameter name (`context`) as enclosing child content element `ChildContent` of component `EditForm`. Specify the parameter name like: `` to resolve the ambiguity. +`The child content element ChildContent of component GridCommandColumn uses the same parameter name (context) as enclosing child content element ChildContent of component EditForm. Specify the parameter name like: to resolve the ambiguity.` or ->warning The child content element `DetailTemplate` of component `TelerikGrid` uses the same parameter name (`context`) as enclosing child content element `DetailTemplate` of component `TelerikGrid`. Specify the parameter name like: `` to resolve the ambiguity. +`The child content element DetailTemplate of component TelerikGrid uses the same parameter name (context) as enclosing child content element DetailTemplate of component TelerikGrid. Specify the parameter name like: to resolve the ambiguity.` or ->warning RZ9999: The child content element `Template` of component `GridColumn` uses the same parameter name (`context`) as enclosing child content element ... of component .... Specify the parameter name like `