Springboot Integration shiro remembers that my function went wrong.

2019-01-17 14:36:57,384 - Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - null, rememberMe=false (0:0:0:0:0:0:0:1)].  Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
java.lang.NullPointerException: null
    at com.tansuo365.test1.realm.DatabaseRealm.doGetAuthenticationInfo(DatabaseRealm.java:57)
    at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568)
    at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180)
    at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)
    at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)
    at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)

as long as you remember my field, you will make a mistake. Otherwise, it"s fine.
this is the right thing to do:

UsernamePasswordToken token = new UsernamePasswordToken(name,password);

this makes a mistake:

UsernamePasswordToken token = new UsernamePasswordToken(name, password, subject.isRemembered());

or this may also report an error:

 UsernamePasswordToken token = new UsernamePasswordToken(name, password, rememberMe);
May.02,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8d862-46f2a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8d862-46f2a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?