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

Rascal check crashed unexpectedly with: MultipleKeyat: |std:///Map.rsc|(2659,708,<109,0>,<130,54>) #520

Open
jan-abt opened this issue Nov 16, 2024 · 2 comments

Comments

@jan-abt
Copy link

jan-abt commented Nov 16, 2024

Context: Please provide context

Exception thrown:

|std:///Map.rsc|:109,0: MultipleKey(
  |file:///Users/jan/Content/Periteleios/dev/adept-base/src/main/rascal/lang/basesql/ast/BaseSQL.rsc|(5731,41,<223,0>,<223,41>),
  |rascal+data:///lang/basesql/ast/BaseSQL/ConnectWith$7f28b0d429f82661|,
  |rascal+data:///lang/basesql/ast/BaseSQL/ConnectProps$8ff4a96f4b77500b|)

Stacktrace:

	at *** somewhere ***(|std:///Map.rsc|(2659,708,<109,0>,<130,54>))
	at invertUnique(|lib://typepal/analysis/typepal/Collector.rsc|(11366,3,<256,51>,<256,54>))
	at removeTModel(|lib://rascal-core/lang/rascalcore/check/CheckerCommon.rsc|(9118,42,<237,13>,<237,55>))
	at removeOldestTModelFromCache(|lib://rascal-core/lang/rascalcore/check/CheckerCommon.rsc|(9638,28,<253,13>,<253,41>))
	at getTModelForModule(|lib://rascal-core/lang/rascalcore/check/CheckerCommon.rsc|(11020,32,<283,13>,<283,45>))
	at loadImportsAndExtends(|lib://rascal-core/lang/rascalcore/check/Checker.rsc|(15803,28,<364,34>,<364,62>))
	at rascalTModelComponent(|lib://rascal-core/lang/rascalcore/check/Checker.rsc|(17566,40,<416,22>,<416,62>))
	at rascalTModelForLocs(|lib://rascal-core/lang/rascalcore/check/Checker.rsc|(8674,37,<232,27>,<232,64>))
	at check(|lib://rascal-core/lang/rascalcore/check/Checker.rsc|(19552,64,<475,9>,<475,73>))
	at $shell$(|main://$shell$|)

@DavyLandman
Copy link
Member

DavyLandman commented Nov 16, 2024

hi @jan-abt we've seen this error before in case someone did not update their dependencies or did not run mvn clean / deleted the target folder.

Could you tell us a bit about the project setup and what you've done after upgrading to the latest version of VS Code?

@jan-abt
Copy link
Author

jan-abt commented Nov 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants