Strong Liu created USERGRID-77:
----------------------------------
Summary: can't login for newly created user due to NPE
Key: USERGRID-77
URL: https://issues.apache.org/jira/browse/USERGRID-77
Project: Usergrid
Issue Type: Bug
Components: Stack
Reporter: Strong Liu
by default, the _usergrid.sysadmin.login.email_ property is not set, but in
_org.usergrid.management.cassandra.ManagementServiceImpl#verifyAdminUserPasswordCredentials_
there is a line of code
{code}
boolean userIsSuperAdmin =
properties.getProperty( PROPERTIES_SYSADMIN_LOGIN_EMAIL
).equals( userInfo.getEmail() );
{code}
so, it always throws NPE, which in turn makes the login impossible
and it gives wrong message saying invalid password :(
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)