Starting Mendix Runtime failed.

0
After running the application i receive this message: An exception occurred while running the after-startup-action.   com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Object id: 5845953791303614468, validation errors: (member: Name, message: Group name must be unique.)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Object id: 5845953791303614468, validation errors: (member: Name, message: Group name must be unique.)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:30) Caused by: com.mendix.systemwideinterfaces.core.UserException: Object id: 5845953791303614468, validation errors: (member: Name, message: Group name must be unique.)       Stack trace:    com.mendix.m2ee.api.AdminException: Starting Mendix Runtime failed.     at com.mendix.basis.impl.MxRuntimeImplBase.fireZeMissiles(MxRuntimeImplBase.java:562) Caused by: com.mendix.m2ee.api.AdminException: An exception occurred while running the after-startup-action.     at com.mendix.basis.impl.MxRuntimeImplBase.doFire(MxRuntimeImplBase.java:617)     at com.mendix.basis.impl.MxRuntimeImplBase.fireZeMissiles(MxRuntimeImplBase.java:559)     at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:341)     at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:48)     at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30)     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129)    
asked
1 answers
1

Probably you have added an uniqueness validation on the entity Group attribute Name.

In your database there are records that you made before adding the validation that have the same Attribute Name Value. With the new restriction in place your database is not ‘valid’ therefore you application cannot be started.

 

To solve this delete the validation, and find the double value records, adjust these records and add the validation again. 

answered