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

[LS] Windows issue on resolving string imports #97

Open
devbugging opened this issue Apr 11, 2023 · 1 comment
Open

[LS] Windows issue on resolving string imports #97

devbugging opened this issue Apr 11, 2023 · 1 comment
Assignees
Labels
Bug The issue represents a bug, malfunction, regression Feedback Language Server

Comments

@devbugging
Copy link
Contributor

devbugging commented Apr 11, 2023

There's a windows specific issue when resolving string imports. The Sentry report:

Sentry Issue: LANGUAGE-SERVER-6V

runtime.errorString: runtime error: invalid memory address or nil pointer dereference
  File "/go/pkg/mod/github.com/onflow/cadence-tools/languageserver@v0.8.1-0.20230327102606-6be626d07eb8/integration/resolvers.go", line 41, in (*resolvers).stringImport
  File "/go/pkg/mod/github.com/onflow/cadence-tools/languageserver@v0.8.1-0.20230327102606-6be626d07eb8/server/server.go", line 2019, in (*Server).resolveImport
  File "/go/pkg/mod/github.com/onflow/cadence-tools/languageserver@v0.8.1-0.20230327102606-6be626d07eb8/server/server.go", line 2870, in (*Server).handleImport
  File "/go/pkg/mod/github.com/onflow/cadence@v0.37.0/runtime/sema/check_import_declaration.go", line 102, in (*Checker).importResolvedLocation
  File "/go/pkg/mod/github.com/onflow/cadence@v0.37.0/runtime/sema/check_import_declaration.go", line 65, in (*Checker).declareImportDeclaration
...
(9 additional frame(s) were not displayed)

https://dapperlabs.sentry.io/issues/3901167811/events/latest/?project=6330569&query=is%3Aunresolved+level%3Afatal&referrer=latest-event&stream_index=0

@devbugging devbugging changed the title ] [LS] Windows issue on resolving string imports Apr 11, 2023
@devbugging devbugging self-assigned this Apr 11, 2023
@devbugging devbugging moved this to 🔖 Ready for Pickup in 🌊 Flow 4D Apr 11, 2023
@devbugging devbugging added the Bug The issue represents a bug, malfunction, regression label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue represents a bug, malfunction, regression Feedback Language Server
Projects
None yet
Development

No branches or pull requests

4 participants
@turbolent @DylanTinianov @devbugging and others