You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] ChangeUserPassword throws NPE before its null check when player is missing #973
If the player parameter is missing, player.toString() throws a NullPointerException before the null check. The generic catch (Exception e) swallows it and returns "An error Occurred! Please try again.", so the "Null values detected" / "Invalid Request" branch can never run for a missing player.
Fix: log player without calling .toString() (string concatenation already handles null), and add a test that posts without player and expects the "Invalid Request" response.
Activity
fix: ChangeUserPassword NPE when the player parameter is missing (#973)…