Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GreenMail.isRunning() throws NullPointerException if the server was manually stopped #536

Closed
bigboynaruto opened this issue Feb 13, 2023 · 1 comment
Assignees
Labels
backport_1_6_x Backport to old bugfixing branch 1.6.x bug
Milestone

Comments

@bigboynaruto
Copy link

stop() method sets the services property to null (source), which causes isRunning() method to fail with a NullPointerExeption when trying to access services (source)

@marcelmay marcelmay self-assigned this Feb 13, 2023
@marcelmay marcelmay added bug backport_1_6_x Backport to old bugfixing branch 1.6.x labels Feb 13, 2023
@marcelmay marcelmay added this to the 2.0.0-alpha-4 milestone Feb 13, 2023
marcelmay added a commit that referenced this issue Feb 13, 2023
…anually stopped (backport, fixes #537)

- Backport of #536
- Moved generic mail test to server package
@marcelmay
Copy link
Member

Thx alot, @bigboynaruto !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport_1_6_x Backport to old bugfixing branch 1.6.x bug
Projects
None yet
Development

No branches or pull requests

2 participants