NullPointerException - Test Mail Notification

sidolin7 years ago

I set for a user attributes for smtp:
https://imgur.com/0OCy21O

I get this error on test send:

NullPointerException (... < NotificationMail:69 < *:90 < NotificationResource:66 < ...)

How to resolve issue?

Anton Tananaev7 years ago

What version of Traccar are you using?

sidolin7 years ago

v. 3.10
i cant upgrade because production environment.

Anton Tananaev7 years ago

Looks like the problem is with mail.smtp.ssl.protocols parameter:

https://github.com/tananaev/traccar/blob/v3.10/src/org/traccar/notification/NotificationMail.java#L66

But your config doesn't have it, so something doesn't add up in your story.