Support Topics Documentation Slack YouTube Blog

Unable to manage my users table

Application ID: 0BEE5C37-8169-488F-B9BC-9C021138683C
Error UID: 5A8E5BEB-F1D4-F48E-FF5B-F645789D8200

Backendless encountered an error while handling the request. An internal trouble ticket with ID 5A8E5BEB-F1D4-F48E-FF5B-F645789D8200 has been created and we will be investigating the issue.
Duplicate key date (attempted merging values 2020-06-23T16:37:23.757Z and 2020-06-23T17:22:50.167Z)
java.lang.IllegalStateException: Duplicate key date (attempted merging values 2020-06-23T16:37:23.757Z and 2020-06-23T17:22:50.167Z)
	at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:133)
	at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:180)
	at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at com.backendless.services.persistence.internal.DatastoreRelationManager.generateConsoleRepresentation(DatastoreRelationManager.java:199)
	at com.backendless.services.persistence.internal.DatastoreRelationManager.extractRelationDataForConsole(DatastoreRelationManager.java:103)
	at com.backendless.services.persistence.internal.DatastoreRelationManager.lambda$loadRelations$9(DatastoreRelationManager.java:406)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
	at com.backendless.services.persistence.internal.DatastoreRelationManager.loadRelations(DatastoreRelationManager.java:406)
	at com.backendless.services.persistence.internal.Datastore.loadRelations(Datastore.java:295)
	at com.backendless.services.persistence.internal.Datastore.lambda$executeDatabaseQuery$9(Datastore.java:376)
	at net.jodah.failsafe.Functions.lambda$resultSupplierOf$11(Functions.java:283)
	at net.jodah.failsafe.internal.executor.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:67)
	at net.jodah.failsafe.internal.executor.RetryPolicyExecutor.lambda$supply$0(RetryPolicyExecutor.java:67)
	at net.jodah.failsafe.PolicyExecutor.lambda$supply$0(PolicyExecutor.java:57)
	at net.jodah.failsafe.Execution.executeSync(Execution.java:117)
	at net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:319)
	at net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:71)
	at com.backendless.services.persistence.internal.Datastore.executeDatabaseQuery(Datastore.java:351)
	at com.backendless.services.persistence.internal.Datastore.findByQuery(Datastore.java:260)
	at com.backendless.services.persistence.internal.Datastore.findByQuery(Datastore.java:250)
	at com.backendless.monitoring.PerformanceMonitoring.invoke(PerformanceMonitoring.java:19)
	at com.backendless.services.persistence.internal.PersistenceService.find(PersistenceService.java:779)
	at com.backendless.services.persistence.internal.PersistenceService.find(PersistenceService.java:101)
	at jdk.internal.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.backendless.dc.manager.DataConnectorChooser.invokeDefaultMethod(DataConnectorChooser.java:172)
	at com.backendless.dc.manager.DataConnectorChooser.invoke(DataConnectorChooser.java:93)
	at com.sun.proxy.$Proxy137.find(Unknown Source)
	at com.backendless.dc.manager.PersistenceProxy.find(PersistenceProxy.java:197)
	at com.backendless.services.persistence.ContextServiceWrapper.find(ContextServiceWrapper.java:184)
	at com.backendless.services.persistence.ContextServiceWrapper.find(ContextServiceWrapper.java:14)
	at com.backendless.services.persistence.ContextServiceWrapper.find(ContextServiceWrapper.java:184)
	at com.backendless.services.persistence.GeoIntegration.find(GeoIntegration.java:88)
	at com.backendless.services.persistence.GeoIntegration.find(GeoIntegration.java:19)
	at com.backendless.services.persistence.common.PersistenceInterfaceAdapter.find(PersistenceInterfaceAdapter.java:152)
	at com.backendless.services.users.services.UserPersistenceFind.find(UserPersistenceFind.java:54)
	at com.backendless.services.users.impl.UserService.find(UserService.java:270)
	at com.backendless.services.users.impl.UserServiceManagementProxy.find(UserServiceManagementProxy.java:259)
	at com.backendless.services.users.impl.UserServicePersistenceAdapter.find(UserServicePersistenceAdapter.java:127)
	at com.backendless.services.users.impl.UserServicePersistenceAdapter.find(UserServicePersistenceAdapter.java:21)
	at com.backendless.services.persistence.ContextServiceWrapper.find(ContextServiceWrapper.java:184)
	at com.backendless.services.persistence.GeoIntegration.find(GeoIntegration.java:88)
	at com.backendless.services.persistence.GeoIntegration.find(GeoIntegration.java:19)
	at com.backendless.services.persistence.ConsolePersistenceUserValidationDecorator.find(ConsolePersistenceUserValidationDecorator.java:192)
	at com.backendless.services.persistence.ConsolePersistenceUserValidationDecorator.find(ConsolePersistenceUserValidationDecorator.java:17)
	at com.backendless.services.persistence.ContextServiceWrapper.find(ContextServiceWrapper.java:184)
	at com.backendless.services.persistence.ContextServiceWrapper.find(ContextServiceWrapper.java:14)
	at com.backendless.services.persistence.validator.TableExistenceDecorator.find(TableExistenceDecorator.java:190)
	at com.backendless.services.persistence.common.PersistenceInterfaceAdapter.find(PersistenceInterfaceAdapter.java:152)
	at com.backendless.management.persistence.DirectManagementService.findWithService(DirectManagementService.java:1065)
	at com.backendless.management.persistence.DirectManagementService.find(DirectManagementService.java:797)
	at com.backendless.management.users.UserManagementService.find(UserManagementService.java:264)
	at com.backendless.management.persistence.DataManagementService.find(DataManage

Problem description

Just enter to my Users table. Don’t really know when did this start to happen.

Steps to reproduce

Please describe steps to reproduce starting from the first action.

1.Log in
2. Go to Users table

Hello, @RAFAEL_PEREZ,

I see the problem. We will fix it ASAP, sorry for the inconvenience.
Here is the issue ID for tracking purposes - BKNDLSS-22028
We will keep you informed about the progress.

Regards,
Stanislaw

Sure, thanks so much. Just to confirm, it only affects the management console, right? Appearantly my app is working as expected.

Yes, it’s something wrong with just admin console part. API should not be affected (if so - please let us know).
It’s not a general problem - something special was happend with your table, we will investigate it and our engineers will fix it. I beleive it should not happen again in future.

Regards,
Stanislaw

Understood. We’d like to provide further information but that was rare. Thanks, you are the best!

Thanks! We’ll contact you if some further information is needed, but I beleive info from logs is enough for now.

Hi @RAFAEL_PEREZ!

Problem is fixed. Users table should be available for management.

Regards, Andriy

Hi @Andriy_Konoz,

I confirm it’s working now. Thanks for the support!

Have a nice day.