Occasionally java.lang.IllegalArgumentException is thrown when saving graphs, probably too fast. I could only recreate consistently when running constellation under development. But saw the same error in v3.0.0-rc2 after opening the same graphs edited in dev.
Steps to Reproduce
Open Constellation in Dev and open 4 saved graphs
Edit all graphs to mark them as changed. You can zoom or use find view as below. Open find view and search for a simple string like "ac" in Basic Find view. Select All Open graphs and click Find All, which marks all graphs as changed.
Close other graphs except the Active graph, quickly, clicking Save at the prompt. If no exceptions are thrown, open the same set of graphs and repeat from step 2 again.
Expected behaviour: No exception when saving graphs too quickly
Actual behaviour: Exception when saving too quickly
Prerequisites
[ ] Put an X between the brackets on this line if you have done all of the following:
Running the latest version of Constellation
Attached the Support Package via
Help
>Support Package
Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ
Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues
Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories
Description
Occasionally java.lang.IllegalArgumentException is thrown when saving graphs, probably too fast. I could only recreate consistently when running constellation under development. But saw the same error in v3.0.0-rc2 after opening the same graphs edited in dev.
Steps to Reproduce
Open Constellation in Dev and open 4 saved graphs
Edit all graphs to mark them as changed. You can zoom or use find view as below. Open find view and search for a simple string like "ac" in
Basic Find
view. SelectAll Open graphs
and clickFind All
, which marks all graphs as changed.Close other graphs except the Active graph, quickly, clicking
Save
at the prompt. If no exceptions are thrown, open the same set of graphs and repeat from step 2 again.Expected behaviour: No exception when saving graphs too quickly
Actual behaviour: Exception when saving too quickly
Reproduces how often: 90%
Additional Information
Observed while testing https://github.com/constellation-app/constellation/issues/2118, so verified the behavior present prior to those changes.