Cannot Invite specific developer email

Application ID: 028AF23A-DE67-970F-FF7B-CE73726F3E00
Error UID: 300585DE-077F-BE73-FFFC-B37BCD6CC600

Backendless encountered an error while handling the request. An internal trouble ticket with ID bl-server:300585DE-077F-BE73-FFFC-B37BCD6CC600 has been created and we will be investigating the issue.
org.hibernate.exception.ConstraintViolationException: could not execute batch
javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute batch
	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154)
	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1626)
	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1665)
	at com.backendless.datamodel.dao.AbstractEntityDAO.getSingleResultOrNull(AbstractEntityDAO.java:186)
	at com.backendless.datamodel.main.dao.DeveloperDao.lambda$findByIdAppId$4(DeveloperDao.java:84)
	at com.backendless.datamodel.main.dao.MainJpaContext.executeSync(MainJpaContext.java:69)
	at com.backendless.datamodel.main.dao.MainJpaContext.execute(MainJpaContext.java:43)
	at com.backendless.datamodel.main.dao.DeveloperDao.findByIdAppId(DeveloperDao.java:79)
	at com.backendless.developer.permission.services.ApplicationDeveloperService.hasAccessToApp(ApplicationDeveloperService.java:77)
	at com.backendless.developer.permission.services.DeveloperPermissionsService.findDeveloperAllPermissionAndGroups(DeveloperPermissionsService.java:255)
	at com.backendless.management.devteam.ManageDevTeamService.lambda$inviteDeveloper$0(ManageDevTeamService.java:171)
	at com.backendless.datamodel.main.dao.MainJpaTransaction.executeSync(MainJpaTransaction.java:119)
	at com.backendless.datamodel.main.dao.MainJpaTransaction.executeSync(MainJpaTransaction.java:91)
	at com.backendless.datamodel.main.dao.MainJpaTransaction.lambda$execute$0(MainJpaTransaction.java:46)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	at com.backendless.async.BackendlessExecutorService.lambda$execute$2(BackendlessExecutorService.java:160)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
	Suppressed: java.util.concurrent.ExecutionException: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute batch
		at java.base/java.util.concurrent.Co

Problem description

Describe what you did in console that led to the error. Please provide a description of what actually happens. Be descriptive: “it doesn’t work” does not describe what the behavior actually is. This will help us with reproducing the problem.

Invite new developer email, open link received in inbox, app opens in Backendless

Steps to reproduce

Please describe steps to reproduce starting from the first action.

  1. Invite new developer email
  2. Error pops up, but email is sent
  3. Click on link in email
  4. App is not in invited user account

Hello @karim-wazzan

Thank you for informing us about this issue. Could you share an email that you are trying to invite?

Yes of course [REDACTED]

Could you check it now?

1 Like