Application ID: 8149FCCE-07DA-F988-FFBB-6154872C9500
Error UID: A959E5D0-3FCA-8F6F-FFD9-40FE9EAE8A00
Backendless encountered an error while handling the request. An internal trouble ticket with ID A959E5D0-3FCA-8F6F-FFD9-40FE9EAE8A00 has been created and we will be investigating the issue.
null
java.lang.NullPointerException
at com.backendless.data.User.lambda$transformUserEntityToUserSubject$12(User.java:288)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at com.backendless.data.User.transformUserEntityToUserSubject(User.java:283)
at com.backendless.data.User.lambda$findUsersWithFilePermissions$3(User.java:250)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.SliceOps$1$1.accept(SliceOps.java:199)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at com.backendless.data.User.lambda$findUsersWithFilePermissions$4(User.java:250)
at com.backendless.datamodel.application.dao.AppJpaContext.executeSync(AppJpaContext.java:231)
at com.backendless.datamodel.application.dao.AppJpaContext.lambda$execute$0(AppJpaContext.java:46)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Suppressed: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
at com.backendless.async.UncheckedCompletableFutureImpl.getUnchecked(UncheckedCompletableFutureImpl.java:158)
a
Problem description
I deleted a user-defined Role that had been used in permissions for several files in a directory called app-files/compliance. After deleting the Role, the crash occurs when opening the User Permissions for any file in the directory. The error continues to occur after logging out of the console and re-entering.
Steps to reproduce
- Click on any file under app-files/compliance