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

NullPointerException when running Concrete Simulator #294

Open
mikaelbdj opened this issue Oct 10, 2024 · 0 comments
Open

NullPointerException when running Concrete Simulator #294

mikaelbdj opened this issue Oct 10, 2024 · 0 comments
Labels
bug Something isn't working confirmed GUI stratego Specific to stratego

Comments

@mikaelbdj
Copy link

Describe the bug
In one case, after generating a strategy for a Timed Game, when I run the Concrete Simulator with the generated strategy I get a NullPointerException. In this particular case it happens in a deadlocked state, but I am not sure if it is pertinent to the bug.

To Reproduce
Steps to reproduce the behavior:

  1. Open the model: strategy_example.zip
  2. Execute the first query to generate a strategy
  3. Open Concrete Simulator
  4. Choose Goal as the strategy and click "Stochastic"
  5. If the Simulator moves directly to 'Win' (20% chance), redo steps 2-4 after reloading.
  6. The simulator will move to L1 and freeze for a few seconds and the error occurs.

Expected behavior
I don't get a NullPointerException and the simulator simply stops if there is a deadlock.

Version(s) of UPPAAL tested
5.0.0

Screenshots
image
image

Desktop:

  • Version 5.0.0
  • OS, Java version: Ubuntu 22.04.4 LTS, openjdk 17.0.12 2024-07-16
@mikucionisaau mikucionisaau added bug Something isn't working stratego Specific to stratego confirmed GUI labels Oct 10, 2024
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 GUI stratego Specific to stratego
Projects
None yet
Development

No branches or pull requests

2 participants