Imported users then cannot insert password manually


I have imported users with the Import > data service:


I see the users in the Users table:


But as soon as i insert a password manually in the backend as the owner i receive this error message:


Full error message:

Backendless encountered an error while handling the request. An internal trouble ticket with ID 0240605D-0F5C-F331-FF92-B29B42249400 has been created and we will be investigating the issue. null java.lang.NullPointerException at at at$unSafeUpdate$2( at com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync( at com.backendless.datamodel.application.dao.AppJpaTransaction.executeSync( at com.backendless.datamodel.application.dao.AppJpaTransaction.lambda$execute$0( at java.base/java.util.concurrent.CompletableFuture$ at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( at java.base/java.util.concurrent.ThreadPoolExecutor$ at java.base/ Suppressed: java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.base/java.util.concurrent.CompletableFuture.reportGet( at java.base/java.util.concurrent.CompletableFuture.get( at com.backendless.async.UncheckedCompletableFutureImpl.getUnchecked( at at$update$0( at com.backendless.util.sync.RedisSync.execute( at com.backendless.util.SyncUtil.execute( at com.backendless.util.sync.ISync.execute( at at at at at$$EnhancerByGuice$$2061a8e5.update() at at at at at at$$EnhancerByGuice$$b4b1ebdb.update() at at at at at$$EnhancerByGuice$$3ffe6f2e.CGLIB$update$5() at$$EnhancerByGuice$$3ffe6f2e$$FastClassByGuice$$810969bf.invoke() at$MethodProxy.invokeSuper( at$InterceptedMethodInvocation.proceed( at com.backendless.monitoring.PerformanceMonitoring.invoke( at$InterceptedMethodInvocation.proceed( at at$$EnhancerByGuice$$3ffe6f2e.update() at at$$EnhancerByGuice$$3ffe6f2e.update() at at$update$1( at at at controllers.console.Data.lambda$updateEntity$7( at com.backendless.async.ExecutorService.lambda$submit$0( … 4 more

Can you check why this error is happening?

Hi @Michel_Loriaux !

Does your file with users include values for ‘password’ column?
Backendless expects that there will be present hashes for an old passwords.
If password column is impty - fill it with any values and try to reimport file to your application. After reimport this error should be gone.
Could you please try this solution and write me back?

Regards, Andriy

Thank you Andriy, that works.

Is it correct that i need to fill in the passwords again for them to work?

Yes, that is correct. You should provide some value instead of password hash when there is no real password.
Password is required for users in Backendless. We will add check during the import for password presence in imported file. Technically, you should not be able to go so far with users without password.

Regards, Andriy

1 Like