Can you add the entire information from the stack trace?
Commit failure can happen due to multiple reasons.
I'v seen this error when not using the correct JDK.
https://docs.mendix.com/refguide/system-requirements
The OpenJDK version is the one that i know for sure works fine.