Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Renaming a Mode throws ClassCastException #1449
When renaming a mode with the graphical editor, a ClassCastException is thrown if that mode is referenced by a flow specification. We believe it is due to a problem with org.osate.aadl2.operations.ModalPathOperations#getInModes not returning the type expected by EMF. This is very similar to #1021.
Steps to Reproduce
While editing a model, I received a write transaction error while the model was being serialized. It was triggered by creating a classifier implementation with Modes and ModalElements, then selecting a mode from the the highlight-in-mode drop-down in the toolbar.
I have attached the stack trace.