Community
Participate
Working Groups
I'm seeing a ton of errors like this in the log on orion.eclipse.org. This is related to the change to support case-insensitive passwords. java.lang.NullPointerException: null at org.eclipse.orion.internal.server.user.securestorage.SecureStorageCredentialsService.findNodeIgnoreCase(SecureStor ageCredentialsService.java:201) ~[na:na] at org.eclipse.orion.internal.server.user.securestorage.SecureStorageCredentialsService.getUser(SecureStorageCredenti alsService.java:167) ~[na:na] at org.eclipse.orion.internal.server.user.securestorage.SecureStorageCredentialsService.getUser(SecureStorageCredenti alsService.java:1) ~[na:na] at org.eclipse.orion.server.authentication.form.core.FormAuthHelper.getUserForCredentials(FormAuthHelper.java:134) ~[ na:na] at org.eclipse.orion.server.authentication.form.core.FormAuthHelper.performAuthentication(FormAuthHelper.java:104) ~[ na:na] at org.eclipse.orion.server.authentication.form.servlets.LoginServlet.doPost(LoginServlet.java:46) ~[na:na]
I think the only possibility is that "login" is null.
Created attachment 198203 [details] Fix v01
I have entered bug 349719 to investigate why this isn't being caught earlier. Ideally the dialog would not even POST to the server if the user has not provided a login. However this null check is still worthwhile.
http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=4fe7e77ff5c67e3f398879ceca5a0d84cea48c98