Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Exception on Razor pages #1443

Closed
skleg opened this issue Sep 8, 2024 · 4 comments
Closed

[BUG] Exception on Razor pages #1443

skleg opened this issue Sep 8, 2024 · 4 comments
Assignees
Labels
area-razor bug Something isn't working

Comments

@skleg
Copy link

skleg commented Sep 8, 2024

Describe the Issue

[Error - 14:15:27] Request textDocument/implementation failed.
Message: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
Code: -32004
[object Object]

Steps To Reproduce

This often happens when working with Razor pages. It could be also connected to the size of the solution, which is became much bigger now and I have to close the solution or VS Code to get the Intellisense to work again.

Expected Behavior

No response

Environment Information

MacOS Sonoma
VS Code v. 1.93.0

@skleg skleg added the bug Something isn't working label Sep 8, 2024
@phil-allen-msft
Copy link

I definitely see this with C# 2.45.20 and C# Dev Kit 1.11.4

@ryzngard
Copy link
Member

Fixed by #1443

@Fludem
Copy link

Fludem commented Oct 22, 2024

Fixed by #1443

Hey, which PR sorry?

@ryzngard
Copy link
Member

Oh woops, paste error on my part. dotnet/razor#11003 is the PR and dotnet/vscode-csharp#7667 is when it merged into vscode. It should be in the next prerelease

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-razor bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants