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

NullPointerException from AuthConnector #6

Open
3 tasks done
NoJokeFNA opened this issue Jan 24, 2022 · 0 comments
Open
3 tasks done

NullPointerException from AuthConnector #6

NoJokeFNA opened this issue Jan 24, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@NoJokeFNA
Copy link
Member

NoJokeFNA commented Jan 24, 2022

Which MCP product you're having trouble with?

Aegis

Description

If you join the server while you are using the Auth-System, it might happen that you receive an NullPointerException (NPE) because the UserConnection is null. Therefore, you can't get the SocketAddress from the UserConnection.

Stackrace print/logs link

https://haste.devstorage.eu/6Wy0q2yZ7m

Expected behavior

Actual behavior

Steps to reproduce this bug/error.

I guess there isn't a specific way to reproduce this, it just happens sometimes randomly.

Possible fix.

Just check if the UserConnection is null.

Product version

Aegis Normal 9.3.0

Java version

Unspecified

Distribution used

Unspecified

Agreement

  • I am running the latest version of respective MCP product I'm having issues with, from https://mc-protection.eu/products.
  • I have checked for and confirmed there isn't already a similar issue opened.
  • My version of Spigot/Paper/fork is supported by respective MCP product, this does not apply to AtomSpigot, so just check this box in that case.
@NoJokeFNA NoJokeFNA added the bug Something isn't working label Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants