| Summary: | User service intermittently returns "user not found" error | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Elijah El-Haddad <elijahe> |
| Component: | Server | Assignee: | Project Inbox <orion.server-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse |
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
The problem is caused by the error on the server:
ERROR org.eclipse.orion.server.config - Meta File Error, cannot read JSON file /opt/mnt/serverworkspace/el/elijahe/user.json from disk, reason: A JSONObject text must begin with '{' at character 0
This is a strange error since the user.json is not corrupt.
Not sure what is going on, but the error occurred 17 times this morning and seems to occur in pairs. Like the error twice at 2014-09-03 10:09:51.693
Seems like there may be a multiple threads trying to access these files at the same time, although we introduced locking in Bug 426842 so that user properties could be read and written in separate threads.
I think we need a stack trace here to see who is making this call that causes the error.
I should have added that this issue is only occurring with Elijah's account. (In reply to Anthony Hunter from comment #2) > I should have added that this issue is only occurring with Elijah's account. and has not occurred again. |
The Account information fields of the "User Profile" category on the Orion settings page intermittently show up as entirely blank. After investigating the cause it appears that the user service is getting a 404 back from the server. The error message is "User not found: username". Refreshing the page usually makes the issue go away. It seems to be reproducible about 1 out of every 4 times. Here's the response that is received: {"Severity":"Error","Message":"User not found: elijahe","HttpCode":404,"BundleId":"org.eclipse.orion.server.core","Code":0}