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

5.1.0-beta5 - Persistent error in partiuclar file: "std::get: wrong index for variant" #253

Open
AsgerHB opened this issue Mar 25, 2024 · 2 comments
Labels
bug Something isn't working confirmed

Comments

@AsgerHB
Copy link

AsgerHB commented Mar 25, 2024

Describe the bug
This bug occurs in UPPAAL 5.1.0-beta5, but not in UPPAAL 5.0.0.

Opening this file:
bb_mech_shielded.zip

Causes the following error to occur every time it tries to connect to the verification engine
image

std::get: wrong index for variant

To Reproduce
Steps to reproduce the behavior:

  1. Open aforementioned file
  2. Error pops up immediately.
  3. This prevents running the verifier or simulator.

Version(s) of UPPAAL tested
UPPAAL 5.0.0 - works
UPPAAL 5.1.0-beta5 - errors

Desktop:

  • Ubuntu 23.10
  • openjdk 17.0.10 2024-01-16 | OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1) | OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode, sharing)
@mikucionisaau mikucionisaau added bug Something isn't working confirmed labels Mar 25, 2024
@mikucionisaau
Copy link
Member

mikucionisaau commented Mar 25, 2024

The root cause is in the language server, not sure what triggers it.
The language server can be disabled in Edit > Preferences > Autocomplete (remove tick) and restart Uppaal.

@AsgerHB
Copy link
Author

AsgerHB commented Apr 2, 2024

This does not seem to be the case - problem persists when autocomplete is off even after UPPAAL is restarted.

image

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

No branches or pull requests

2 participants