| Summary: | [server] attempt to migrate user breaks Indexer with not locked by current thread exception | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Server | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
The user that somehow passes the migration has two workspaces and the same project named Test in both workspaces. Looks like the user existed in Orion 4, was partially migrated to Orion 6 and then broke when trying to migrate to Orion 7. I found a second user with a similar configuration. Then when the indexer tries to read the user there is the exception above. I am not sure how to fix so I manually fixed the user on orionhub |
There was a corrupted user on the Orionhub server that broke the Indexer. I have copied the metadata for the user and will debug. There was an exception on the server: !MESSAGE An internal error occurred during: "Indexing". !STACK 0 java.lang.IllegalMonitorStateException: attempt to unlock read lock, not locked by current thread at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.unmatchedUnlockException(ReentrantReadWriteLock.java:447) at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:431) at java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1340) at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:883) at org.eclipse.orion.internal.server.core.metastore.SimpleMetaStore.readUser(SimpleMetaStore.java:623) at org.eclipse.orion.internal.server.search.Indexer.run(Indexer.java:376) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)