Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 422251

Summary: NPE in SimpleUserProfileRoot
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2013-11-21 08:42:14 EST
I20131120-0917

Found the following errors in the log on orion.eclipse.org. Somehow the metadata got corrupted, but this bug is for the NPE that happens as a result of that corruption.

2013-11-20 16:27:35.753 [qtp2104327533-37] ERROR org.eclipse.orion.server.config - Meta File Error, cannot read JSON file /opt/mnt/serverworkspace/li
/liwang/user.json: Expected a ',' or '}' at character 73730
2013-11-20 16:27:35.756 [qtp2104327533-37] WARN  o.e.jetty.servlet.ServletHandler - /login


java.lang.NullPointerException: null
        at org.eclipse.orion.internal.server.useradmin.simple.SimpleUserProfileRoot.userProfileNodeExists(SimpleUserProfileRoot.java:64) ~[na:na]
        at org.eclipse.orion.internal.server.useradmin.simple.SimpleUserCredentialsService.getUser(SimpleUserCredentialsService.java:239) ~[na:na]
        at org.eclipse.orion.server.authentication.form.FormAuthHelper.getUserJson(FormAuthHelper.java:133) ~[na:na]
        at org.eclipse.orion.server.authentication.formopenid.FormOpenIdLoginServlet.doPost(FormOpenIdLoginServlet.java:151) ~[na:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) ~[javax.servlet_3.0.0.v201112011016.jar:na]