Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Running listShouldReturnEmptyListWhenNoMailboxes yields:
java.lang.NullPointerException at org.apache.james.mailbox.maildir.mail.MaildirMailboxMapper.visitUsersForMailboxList(MaildirMailboxMapper.java:285) at org.apache.james.mailbox.maildir.mail.MaildirMailboxMapper.lambda$list$12(MaildirMailboxMapper.java:278) at reactor.core.publisher.MonoCallable.subscribe(MonoCallable.java:57) at reactor.core.publisher.Mono.subscribe(Mono.java:4338) at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onComplete(FluxSwitchIfEmpty.java:82) at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onComplete(FluxMapFuseable.java:150) at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onComplete(FluxFilterFuseable.java:171) at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1817) at reactor.core.publisher.MonoCallable.subscribe(MonoCallable.java:62) at reactor.core.publisher.Mono.subscribe(Mono.java:4338) at reactor.core.publisher.Mono.block(Mono.java:1703) at org.apache.james.mailbox.store.MailboxReactorUtils.block(MailboxReactorUtils.java:32) at org.apache.james.mailbox.store.StoreMailboxManager.list(StoreMailboxManager.java:830) at org.apache.james.mailbox.MailboxManagerTest$BasicFeaturesTests.listShouldReturnEmptyListWhenNoMailboxes(MailboxManagerTest.java:2101)
Even alone...