MendixRuntimeException: User role name should not be null

0
Need help resolving issue below: com.mendix.m2ee.api.AdminException: Starting Mendix Runtime failed.     at com.mendix.basis.impl.MxRuntimeImplBase.fireZeMissiles(MxRuntimeImplBase.java:566) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: User role name should not be null     at com.mendix.modelstorage.synchronization.Synchronization.synchronizeUserRoles(Synchronization.java:151)     at com.mendix.modelstorage.synchronization.Synchronization.synchronizeObjectInstances(Synchronization.java:68)     at com.mendix.basis.impl.MxRuntimeImplBase.doFire(MxRuntimeImplBase.java:580)     at com.mendix.basis.impl.MxRuntimeImplBase.fireZeMissiles(MxRuntimeImplBase.java:563)     at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:342)     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)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)     at org.eclipse.jetty.server.Server.handle(Server.java:500)     at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)     at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)     at java.base/java.lang.Thread.run(Thread.java:834)  
asked
2 answers
1

In normal situations this should not happen and I don't know what happend.

Since you are using de Mendix DB, you should be able to inspect the built-in DB: 

https://docs.mendix.com/howto/collaboration-requirements-management/sharing-the-development-database#5-start-the-database-viewer

Check the PUBLIC.system$userrole table to find out if there is a missing name, delete any unused rows and try again :)



 

answered
0

Hi,

Try to remove the records which are with empty name fields in database from System.UserRole object. Run app and check once.

Hope it helps you

answered