You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build Identifier:
We had a situation where a problem in our model was causing BasicEObjectImpl to throw a RuntimeException while TransactionImpl.commit was doing its thing. The method has a try-finally where most of the work is done without a catch. It also calls things in the finally block (like close()) that assume that the system is in a good state and throw their own exceptions if they are not.
The result was that during the finally after the first exception, close() was called and it threw an IllegalArgumentException because the activeTransaction was out of sync (do to the try block ending abnormally). This causes the original exception information to be completely lost.
Recommendation: Add a catch block that at least logs any RuntimeException's before the finally block runs. This will ensure that the information doesn't get lost.
Reproducible: Always
Eclipse EMF Transaction is moving away from this bugs.eclipse.org issue tracker to https://github.com/eclipse/emf-transaction.
If this issue is relevant to you and still present in the latest release:
* Create a new issue at https://github.com/eclipse/emf-transaction/issues/.
* Use as title in GitHub the title of this Bugzilla ticket (may include the bug number or not, at your own convenience)
* In the GitHub description, start with a link to this bugzilla ticket
* Optionally add new content to the description if it can helps towards resolution
* Update bugzilla ticket
* Add to "See also" property (up right column) the link to the newly created GitHub issue
* Add a comment "Migrated to <link-to-newly-created-GitHub-issue>"
* Set status as CLOSED MOVED
All issues that remain open will be automatically closed next week or so. Then the Bugzilla component for EMF Transaction will be archived and made read-only.
The text was updated successfully, but these errors were encountered: