You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing a System.NullReferenceException error when attempting to set a value using the #!set magic command in a .NET Interactive notebook. The error occurs when I try to assign a URL value to a variable in the notebook environment. Below is the error message and stack trace provided:
Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.DotNet.Interactive.KeyValueStoreKernel.Microsoft.DotNet.Interactive.IKernelCommandHandler<Microsoft.DotNet.Interactive.Commands.SubmitCode>.HandleAsync(SubmitCode command, KernelInvocationContext context) in D:\a_work\1\s\src\Microsoft.DotNet.Interactive\KeyValueStoreKernel.cs:line 79
at Microsoft.DotNet.Interactive.Kernel.HandleAsync(KernelCommand command, KernelInvocationContext context) in D:\a_work\1\s\src\Microsoft.DotNet.Interactive\Kernel.cs:line 330
at Microsoft.DotNet.Interactive.KernelCommandPipeline.<BuildPipeline>b__6_0(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _) in D:\a_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 60
at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(KernelCommand command, KernelInvocationContext context) in D:\a_work\1\s\src\Microsoft.DotNet.Interactive\KernelCommandPipeline.cs:line 41
The notebook content where the issue occurred is as follows:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
Version: 1.0.520801+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23
Library version: 1.0.0-beta.24208.1+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23
Build date: 2024-04-19T23:36:03.3519914Z
OS
Windows 11
Windows 10
macOS
Linux (Please specify distro: _______)
iOS
Android
Browser
Chrome
Edge
Firefox
Safari
Frontend
Jupyter Notebook
Jupyter Lab
nteract
Visual Studio Code
Visual Studio Code Insiders
Visual Studio
Other (please specify: _______)
Screenshots
If applicable, add screenshots to help explain your problem. Attach files or drag and drop images here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am experiencing a
System.NullReferenceException
error when attempting to set a value using the#!set
magic command in a .NET Interactive notebook. The error occurs when I try to assign a URL value to a variable in the notebook environment. Below is the error message and stack trace provided:The notebook content where the issue occurred is as follows:
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!about
magic command. ):Version: 1.0.520801+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23
Library version: 1.0.0-beta.24208.1+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23
Build date: 2024-04-19T23:36:03.3519914Z
OS
Browser
Frontend
Screenshots
If applicable, add screenshots to help explain your problem. Attach files or drag and drop images here.
The text was updated successfully, but these errors were encountered: