-
-
Notifications
You must be signed in to change notification settings - Fork 274
Closed
Labels
Milestone
Description
Hi,
Using version 6.6.1, I got an error when I used clearEmailAddressCriteria
.
The error message: argument was assumed nonNull, but was null
The configuration I used:
MailerBuilder
.withSMTPServer(SERVER_ADDRESS, SERVER_PORT, SERVER_USERNAME, SERVER_PASSWORD)
.withTransportStrategy(TransportStrategy.SMTP)
.withSessionTimeout(10 * 1000)
.clearEmailAddressCriteria()
.withDebugLogging(true)
.buildMailer();
Does anyone know how to fix it or do I have to wait for the bug fix? I investigated through the stack trace and found assumeNotNull
checks for empty()
of a collection too, so checking every empty collection will cause raise this error.
Thanks.